Commit Graph

74 Commits

Author SHA1 Message Date
Dominik Pschenitschni 244478400a
feat: improve store typing 2022-09-05 17:43:23 +02:00
Dominik Pschenitschni 3766b5e51b
feat: improve store and model typing 2022-09-05 17:43:22 +02:00
Dominik Pschenitschni 332acf012c
feat: function attribute typing 2022-09-05 16:37:37 +02:00
Dominik Pschenitschni af630d3b8c
chore: improve type imports 2022-09-05 16:37:36 +02:00
kolaente a84fb8b5df
fix(lists): moving a list into another namespace on the first position
Resolves https://kolaente.dev/vikunja/frontend/issues/2240
2022-08-16 23:21:34 +02:00
kolaente cdb63b578d
chore: use the <dropdown> and <dropdown-item> components everywhere
Resolves https://kolaente.dev/vikunja/frontend/issues/2176
2022-07-20 17:08:58 +02:00
Dominik Pschenitschni 0456f4a041 fix: use of sortable js with transition-group (#2160)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2160
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-07-19 14:32:12 +00:00
Dominik Pschenitschni 02f985d8a3 fix: button styling 2022-07-06 21:07:26 +00:00
Dominik Pschenitschni 3b9bc5b2f8 feat: use BaseButton where easily possible
This replaces links with BaseButton components. BaseButton will use `<button type="button">` inside for this case. This improves accessibility a lot. Also we might be able to remove the `.stop` modifiers in some places because AFAIK the button element stops propagation by default.
2022-07-06 21:07:26 +00:00
kolaente 9716517ffa
fix: pride logo rounded corners on mobile 2022-06-08 22:55:00 +02:00
Dominik Pschenitschni 1569042471
fix: replace vue.draggable.next with zhyswan-draggable
Reason: Author doesn't maintain vue port anymore.
See: https://github.com/SortableJS/vue.draggable.next/issues/140#issuecomment-1123622724=
2022-05-22 23:44:16 +02:00
Dominik Pschenitschni 96fce73192 fix: disabled attribute fallback (#1984)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1984
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-05-22 15:08:37 +00:00
kolaente 2dba9e6e57
fix: list hover background in dark mode 2022-05-06 22:16:54 +02:00
kolaente 24aca5cfa6
fix: favorite task list spacing in menu 2022-05-06 22:07:31 +02:00
kolaente 8846b2f862
fix: list dropdown menu item hover background color 2022-05-06 22:05:03 +02:00
kolaente 010eca1d0c
fix: menu on mobile devices 2022-04-02 23:09:28 +02:00
Dominik Pschenitschni 658ca4c955
feat: convert navigation to script setup and ts 2022-04-02 17:17:08 +02:00
Dominik Pschenitschni ba9f69344a
feat: use defineComponent wrapper 2022-04-02 17:16:57 +02:00
Dominik Pschenitschni a3329f1b42
feat: add lang ts to script block 2022-04-02 17:15:46 +02:00
kolaente f4b0e68322
feat: add a few new keyboard shortcuts 2022-03-02 21:59:51 +01:00
konrad c98ab42e75 feat: move lists between namespaces (#1430)
Frontend implementation of https://kolaente.dev/vikunja/api/pulls/1096

I've implemented this re-using the drag and drop part of rearranging the list position in the menu. The only problem we have is there's no way to check if a namespace is read-only and disable dropping a list into it. I hope to solve this in the future on the api but for now you can drop a list into it and get an error message. I felt like properly handling the error and restoring the list and its position given this will change anyway.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1430
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-29 21:12:46 +00:00
Dominik Pschenitschni 375c3adfb1 fix: show namespace count for long titles (#1057)
When the namespace title is to long the count was only shown in the toolip. With this pull request the count is separated from the title and always shown.

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Co-authored-by: konrad <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1057
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-19 06:57:45 +00:00
kolaente b96af50338 feat(a11y): use better markup tags everywhere 2022-01-18 20:43:52 +00:00
konrad c618b7e0b6 fix: namespace new buttons on mobile (#1262)
Before:

![image](/attachments/7626e28d-8a13-4f92-b162-697676f765c7)

After:

![image](/attachments/5331af47-4887-4ba5-98d7-ee70311e20d7)

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1262
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-05 12:46:33 +00:00
adrinux 46fa43d67f Migrate to bulma-css-variables and introduce dark mode (#954)
Co-authored-by: Adrian Simmons <adrian@perlucida.co.uk>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/954
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Reviewed-by: konrad <k@knt.li>
Co-authored-by: adrinux <adrian@perlucida.co.uk>
Co-committed-by: adrinux <adrian@perlucida.co.uk>
2021-11-22 21:12:54 +00:00
konrad 0a2d5ef820 feat: defer everything until the api config is loaded (#926)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/926
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-13 19:49:02 +00:00
dpschen 30cc89fe25 feat: add vite-svg-loader and add Logo component (#971)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/971
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-11-13 14:16:14 +00:00
dpschen d3c303ba2a fix: navigation show and hide animation (#927)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/927
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-11-02 18:20:14 +00:00
konrad 5040a76781 feat: move user settings to multiple components (#889)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/889
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-26 20:58:02 +00:00
Dominik Pschenitschni 87d2b4fed3
fix: use :deep() selector instead of ::v-deep 2021-10-25 16:39:34 +02:00
Dominik Pschenitschni 7824ddc13f
feat: divide most navigation.scss styles into components
- navigation.vue and topNavigation.vue
- contentAuth.vue
2021-10-25 16:39:33 +02:00
kolaente 571b019c00
fix: ATTR_ENUMERATED_COERCION in a few places 2021-10-17 18:52:05 +02:00
kolaente f4372ecd05
fix: adding a list to favorites 2021-10-17 17:31:22 +02:00
Dominik Pschenitschni a60ad77bdc
fix: use async action to change current list 2021-10-16 20:44:39 +02:00
Dominik Pschenitschni 1d43d1bd65
chore: simplify MENU_ACTIVE mutation 2021-10-16 18:59:54 +02:00
Dominik Pschenitschni 12a3c238b8
feat: use computed for namespace title 2021-10-16 18:59:54 +02:00
Dominik Pschenitschni bb94c1ba3a
feat: use async / await where it makes sense 2021-10-16 18:59:53 +02:00
Dominik Pschenitschni 3b940cb56c
feat: don't rethrow same error and handle errors globally 2021-10-16 18:59:53 +02:00
Dominik Pschenitschni 9c730d3381
fix: remove wrong active prop 2021-10-16 13:54:01 +02:00
Dominik Pschenitschni 3a7a4bdc42
Merge branch 'main' into vue3
# Conflicts:
#	src/components/input/editor.vue
#	src/components/list/partials/filters.vue
#	src/components/tasks/partials/editAssignees.vue
#	src/helpers/find.ts
#	src/helpers/time/formatDate.js
#	src/main.ts
#	src/store/modules/attachments.js
#	src/store/modules/kanban.js
#	src/views/list/views/List.vue
#	yarn.lock
2021-10-07 12:20:52 +02:00
dpschen b59b5def57 feat: compress media files (#818)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/818
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-03 18:48:02 +00:00
Dominik Pschenitschni e779681905
feat: upgrade to packages for vue 3
- vue3-notification
- vue-advanced-cropper 2
- vuedraggable 4
- vue-shortkey -> moved in repo
2021-10-01 18:49:54 +02:00
Dominik Pschenitschni 72518212da
feat: use vue-router 4 for vue3 2021-10-01 18:47:41 +02:00
Dominik Pschenitschni 51a740f53c
fix: use vue3 v-model bindings
see: https://v3.vuejs.org/guide/migration/v-model.html
2021-10-01 18:45:42 +02:00
Dominik Pschenitschni db49b9b532
fix: directly set arrays, objects and delete directly
Not needed since vue3 uses proxies
2021-10-01 18:45:42 +02:00
Dominik Pschenitschni 2b20f328cb
fix: compiler warnings
see:
- https://v3.vuejs.org/guide/migration/key-attribute.html
- https://v3.vuejs.org/guide/migration/v-bind.html
- https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html
2021-10-01 18:45:42 +02:00
Dominik Pschenitschni ebeca48be4
fix: namespace collision of global error method with draggable error method 2021-09-24 21:46:42 +02:00
Dominik Pschenitschni 0da7a46612
feat: formatting
- remove unneeded data props
- prepare for compiler warnings vue3; see https://v3.vuejs.org/guide/migration/v-bind.html
2021-09-24 21:46:42 +02:00
dpschen 0a8505f53c fix: vuex mutation violation from draggable (#674)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/674
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-08-23 19:24:52 +00:00
kolaente 3c2d89a0f6
Don't allow dragging a list when the user does not have the rights 2021-07-29 13:05:33 +02:00