Commit graph

248 commits

Author SHA1 Message Date
konrad
7f56a3537c fix: load the list tasks only after the list itself was loaded (#1251)
Currently, when opening a list sometimes the tasks are shown before the list itself is loaded. Because the list contains the rights, this means no edit buttons etc are available at that point which is pretty confusing.

This PR ensures the list-specific view is loaded only after the list itself is loaded.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1251
2022-03-27 19:56:56 +00:00
kolaente
7f2189b455
fix: don't rotate kanban cards while dragging
The way I implemented that had a few annoying side effects like wiggling around when clicking on the bucket
2022-02-27 19:43:05 +01:00
kolaente
a23b4a96ee
fix: kanban board layout on mobile 2022-02-27 16:36:20 +01:00
kolaente
553fd54f78
fix(kanban): background content scrolling when opening a task 2022-02-26 14:39:25 +01:00
kolaente
5b509da215
fix(kanban): make sure the buckets don't appear glued to the bottom 2022-02-26 14:28:55 +01:00
kolaente
f54f533700
fix(kanban): transition animation for bucket footer when adding a new task 2022-02-26 14:20:53 +01:00
kolaente
17ba56f12d
feat: rotate task cards slightly while moving them between buckets 2022-02-26 14:03:30 +01:00
kolaente
051dd98ff7
fix: undo task done from list view 2022-02-26 13:18:44 +01:00
Dominik Pschenitschni
45e1ae66d6
feat: restore styling / fix styling issues 2022-02-13 13:49:32 +01:00
Dominik Pschenitschni
e2c81d840f
fix: hack to fix wrong index position 2022-02-13 13:49:32 +01:00
Dominik Pschenitschni
69654b823e
feat: increase task drop area size for bucket list 2022-02-13 13:49:31 +01:00
Dominik Pschenitschni
de626eab31
feat: don't open task detail in modal for list and table view 2022-01-31 01:31:41 +01:00
Dominik Pschenitschni
de3c47dc69
fix ts errors in various files 2022-01-30 16:53:46 +01:00
Dominik Pschenitschni
76f4cca5fe
fix: move local storage list view to router 2022-01-04 21:55:33 +01:00
Dominik Pschenitschni
5916a44724
feat: provide listId prop via router 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
6d62ca1ada
fix: check now just once 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
2db820d926
feat: review changes 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
700fce3c2c
fix: sharing components 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
e78d47fdcf
fix: list specs 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
5937f01cc5
fix: list loading 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
29a9335844
feat: save current list view just once 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
7eed0628d0
feat: mount list views as route-views 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
16b0d03601
fix: readd modal transitions 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
c70211ad32
feat: unify modal view
fix: List.vue
2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
281c922de1
feat: make taskList a composable 2022-01-04 21:55:29 +01:00
Dominik Pschenitschni
5a0c0eff9f
feat: implement modals with vue router 4
This is an implementation of the modals with the new possibilities of vue router 3.

See: https://github.com/vuejs/vue-router/issues/703#issuecomment-865066913 for a better explanation
and the linked example implementation: https://github.com/vuejs/vue-router-next/blob/master/e2e/modal/index.ts
2022-01-04 21:55:29 +01:00
Dominik Pschenitschni
cdbd1c2ac4 feat: create BaseButton component (#1123)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1123
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-01-04 18:58:06 +00:00
kolaente
8ae84eaf42 fix: padding and centering of the kanban limit and dropdown 2021-12-30 15:59:59 +00:00
Michaelpalacce
7ebca9afc5 feat/alphabetical-sort (#1162)
Alphabetical sorting.
Disables re-ordering when applied.
Does not work with the search button as expected, but neither do the filters tbh... Works fine with the search in the filters menu.

I know we talked about having a dropdown but since this is pretty much finished I thought I'd submit a PR. I am a bit short on time these days but may submit a new PR to add the dropdown ( should be simple enough )

Co-authored-by: Stefan Genov <stefantigro@gmail.com>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1162
Reviewed-by: konrad <k@knt.li>
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: Michaelpalacce <stefantigro@gmail.com>
Co-committed-by: Michaelpalacce <stefantigro@gmail.com>
2021-12-21 16:29:49 +00:00
konrad
f8d009a6aa feat: add message component (#1082)
This PR adds a simple message component that replaces bulma's default message.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1082
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-28 14:18:27 +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
dpschen
b838e7494d fix attribute coercion for contenteditable (#1025)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1025
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-11-18 13:00:54 +00:00
konrad
ae5d3ecac5 fix: kanban card spacing (#1005)
Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1005
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-16 21:44:07 +00:00
konrad
feea191ecf feat: add v-shortcut directive for keyboard shortcuts (#942)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/942
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-13 20:28:29 +00:00
konrad
31f0c384ac feat: add button to clear active filters (#924)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/924
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:48:06 +00:00
dpschen
8e6e52bf02 feat: wrap edit-task with card (#948)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/948
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:13:56 +00:00
Dominik Pschenitschni
c6b24dd8f1
feat: add Done component 2021-10-25 16:39:35 +02:00
Dominik Pschenitschni
9e6afdb752
fix kanban height calculation with hack 2021-10-25 16:39:34 +02:00
Dominik Pschenitschni
87d2b4fed3
fix: use :deep() selector instead of ::v-deep 2021-10-25 16:39:34 +02:00
Dominik Pschenitschni
14dd49e4b0
feat: divide most tasks.scss styles into components
- ShowTasks.vue
- List.vue
- defer-task.vue
- edit-task.vue
- Kanban.vue, relatedTasks.vue and singleTaskInView.vue
2021-10-25 16:39:33 +02:00
Dominik Pschenitschni
f7c7ea50eb
feat: merge table-view.scss with component styles 2021-10-25 16:39:32 +02:00
Dominik Pschenitschni
55bed2e5e8
feat: merge switch-view.scss with component styles 2021-10-25 16:39:32 +02:00
Dominik Pschenitschni
87f7a515a6
feat: divide most list.scss styles into components
- list-card.vue and the Home.vue
- listSearch.vue
- topNavigation.vue
- EditTeam.vue
- List.vue
- ShowList.vue
2021-10-25 16:39:31 +02:00
Dominik Pschenitschni
4d15f7ae98
feat: merge list-backgrounds.scss with component 2021-10-25 16:39:31 +02:00
Dominik Pschenitschni
9ca8857d89
feat: merge kanban.scss styles with component
.ghost-task-drop class was removed because it was used nowhere.
2021-10-25 16:39:31 +02:00
Dominik Pschenitschni
ba1942e757
feat: merge gantt.scss with component styles 2021-10-25 16:39:31 +02:00
kolaente
f795d2d0f3
fix: ATTR_ENUMERATED_COERCION errors with contenteditable 2021-10-17 22:08:58 +02:00
kolaente
3ba9cd2d99
fix: ATTR_ENUMERATED_COERCION errors with editor and contenteditable 2021-10-17 22:05:23 +02:00
kolaente
571b019c00
fix: ATTR_ENUMERATED_COERCION in a few places 2021-10-17 18:52:05 +02:00
Dominik Pschenitschni
3f61c6b21a
fix: use correct prop for CreateEdit 2021-10-17 17:30:00 +02:00
kolaente
36d5262f1d
fix: ATTR_ENUMERATED_COERCION spellcheck on kanban board 2021-10-17 17:21:33 +02:00
kolaente
2de94bc902
fix: lint 2021-10-17 16:26:17 +02:00
kolaente
9fc158831b
Merge branch 'vue3' into feature/vue3-async-await 2021-10-17 16:22:43 +02:00
kolaente
9d48700cd9
fix: vuex store mutation error when moving a task with attributes on kanban 2021-10-17 16:21:55 +02:00
Dominik Pschenitschni
2ac3d29c13
Merge branch 'vue3' into feature/vue3-async-await
# Conflicts:
#	src/i18n/index.js
#	src/store/modules/labels.js
#	src/store/modules/tasks.js
#	src/views/list/views/Kanban.vue
#	src/views/tasks/ShowTasks.vue
#	src/views/tasks/TaskDetailView.vue
2021-10-17 16:06:58 +02:00
kolaente
0cc7166767
fix: don't search for first letter images 2021-10-17 15:19:21 +02:00
kolaente
cc32ca244c
feat: don't update the bucket after updating task position 2021-10-17 14:52:48 +02:00
Dominik Pschenitschni
c1078255fc
fix: use lodash.debounce for searching unsplash background 2021-10-17 14:47:30 +02:00
kolaente
1d2abf56f9
Merge branch 'main' into vue3
# Conflicts:
#	src/components/tasks/mixins/createTask.js
2021-10-17 13:37:20 +02:00
kolaente
e52c139c9f
fix: task edit pane spacing 2021-10-17 13:36:21 +02:00
Dominik Pschenitschni
a60ad77bdc
fix: use async action to change current list 2021-10-16 20:44:39 +02:00
Dominik Pschenitschni
7f5f44d7f0
fix: call loadList just once 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
konrad
f05e81190f fix: setting background to state mutation violation (#858)
State mutations must be synchronous. Using a promise.then handler to set the background is a violation of that.

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/858
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-16 15:51:27 +00:00
Dominik Pschenitschni
80163ee992
fix: use componentData prop in draggable to set class 2021-10-16 13:54:24 +02:00
Dominik Pschenitschni
a3a3ef850c
chore: remove console.log 2021-10-11 21:25:54 +02:00
Dominik Pschenitschni
0b68a473ef
fix: use correct listId to load next tasks 2021-10-11 18:08:33 +02:00
Dominik Pschenitschni
d7ed5b8f11
fix: use correct listId when deleting bucket 2021-10-11 18:08:32 +02:00
Dominik Pschenitschni
6fee114610
chore: remove unneeded var 2021-10-11 18:08:31 +02:00
Dominik Pschenitschni
4ae18ec162
fix: kanban drag task test 2021-10-11 18:08:30 +02:00
Dominik Pschenitschni
d66ad12f5c
feat: improve kanban implementation 2021-10-11 18:08:30 +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
konrad
7e1a7f3f19 feat: hide priority label for done tasks (#825)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/825
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-05 05:43:10 +00:00
kolaente
d284db672e
fix: don't allow reordering tasks in filtered lists 2021-10-04 22:12:39 +02:00
Dominik Pschenitschni
34d0f28678
Merge branch 'main' into fix/vue3
# Conflicts:
#	src/views/list/settings/edit.vue
2021-10-03 13:24:17 +02:00
dpschen
3f9917dfab fix: vuex mutation error in edit list (#813)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/813
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-02 18:51:54 +00:00
Dominik Pschenitschni
7bb1b1b769
feat: fix some Kanban errors with vue3 2021-10-01 21:26:47 +02:00
Dominik Pschenitschni
15640e98ec
feat: simplify filter-popup 2021-10-01 20:14:21 +02:00
Dominik Pschenitschni
8d88b3792d
feat: always use index for buckets 2021-10-01 20:06:06 +02:00
Dominik Pschenitschni
672d63fbed
feat: remove createTask mixin 2021-10-01 20:06:06 +02:00
Dominik Pschenitschni
aeabc42844
fix newList.vue 2021-10-01 20:06:05 +02: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
421ff9a188
feat: use new async component definition
- fix see: https://v3.vuejs.org/guide/migration/async-components.html
- put async editor in separate component
2021-10-01 18:46:40 +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
697ea12c8e
fix: breaking attribute coercion behavior
see: https://v3.vuejs.org/guide/migration/attribute-coercion.html#overview
2021-09-24 21:46:42 +02:00
Dominik Pschenitschni
fe27a432c7
feat: move unique functions from taskList to List 2021-09-24 21:46:42 +02:00
Dominik Pschenitschni
f51371bbe0
feat: move from life cycle to data or watcher
- remove from created / mounted
- initialize component services in data
- use immediate watcher where appropriate
- deep watch for route changes
2021-09-24 21:46: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
Dominik Pschenitschni
4454e6cf22
feat: update to new slot syntax
Prepare for vue 3
2021-09-24 21:46:42 +02:00
dpschen
7719ef1bef feat: move pagination to dedicated component (#760)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/760
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-21 19:03:38 +00:00
simon1506
d88e299358 fix: no drag delay when using mouse on touch device (#748)
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/748
Reviewed-by: konrad <k@knt.li>
Co-authored-by: simon1506 <simon.sch.dev@gmail.com>
Co-committed-by: simon1506 <simon.sch.dev@gmail.com>
2021-09-21 16:47:42 +00:00
dpschen
07a6a31f47 chore: move constants in folder (#732)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/732
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-10 14:21:33 +00:00
kolaente
9cee720ac9
Fix sort order for table view 2021-09-08 18:13:02 +02:00
kolaente
6f89863c81
Fix missing translation when creating a new task on the kanban board 2021-09-08 17:49:10 +02:00
kolaente
332dbc1598
Fix rearranging tasks in a kanban bucket when its limit was reached 2021-09-07 18:38:53 +02:00
dpschen
30d699df2d fix: non unique ids (#672)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/672
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-08-23 17:42:42 +00:00
kolaente
187a8f5933
Small cleanups & code improvements 2021-08-06 23:34:37 +02:00