Commit graph

187 commits

Author SHA1 Message Date
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
kolaente
493180d442
Fix lint 2021-08-03 23:28:55 +02:00
kolaente
e3787b9496
Only add a drag delay if on mobile instead of setting it to 0 2021-08-03 23:26:39 +02:00
kolaente
c323804c7c
Add drag delay on mobile 2021-07-29 13:08:38 +02: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
konrad
c4067c7c35 PWA improvments (#622)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/622
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-28 20:58:12 +00:00
konrad
3c7f8d7aa2 Reorder tasks, lists and kanban buckets (#620)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/620
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-28 19:56:29 +00:00
konrad
a08306d612 Add vite (#416)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/416
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-25 13:27:15 +00:00
kolaente
5fd7e3f708
Fix table view scrolling on mobile 2021-07-22 21:48:05 +02:00
kolaente
d81b4117f5
Fix quick actions not working when nonexisting lists where left over in history 2021-07-20 18:03:38 +02:00
konrad
fa8492f97c Add typescript support for helper functions (#598)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/598
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-19 18:20:49 +00:00
sytone
306a926c66 Add default list setting & creating tasks from home (#520)
Co-authored-by: sytone <github@sytone.com>
Co-authored-by: Sytone <github@sytone.com>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/520
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: sytone <kolaente@sytone.com>
Co-committed-by: sytone <kolaente@sytone.com>
2021-07-17 21:21:46 +00:00
kolaente
7fa94a9bd5
Fix loading a list when it was already partially saved in vuex 2021-07-10 12:45:36 +02:00
andreymal
7355204d2f Improve some translations (#581)
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/581
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: andreymal <andriyano-31@mail.ru>
Co-committed-by: andreymal <andriyano-31@mail.ru>
2021-07-09 08:22:20 +00:00
kolaente
ac6082a670
Add collapsing kanban buckets 2021-07-07 21:58:41 +02:00
kolaente
d09eff1655
Show last visited list on home page 2021-07-06 22:22:57 +02:00
konrad
c8209c6c10 Quick add magic for tasks (#570)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/570
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-05 10:29:04 +00:00
konrad
f0498fd767 Add translations (#562)
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/562
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-06-23 23:24:57 +00:00
kolaente
cdc805c8da
Refactor success and error messages 2021-06-22 22:07:57 +02:00
kolaente
a9d3446ce3
Preload labels and use locally stored in vuex 2021-06-03 22:23:04 +02:00
kolaente
e37145cd43
Add setting for the first day of the week 2021-06-03 18:12:40 +02:00
kolaente
0cd9d43a7c
Fix showing edit buttons when the user does not have the rights to use them 2021-06-03 16:27:41 +02:00
kolaente
9d818921a7
Fix not updating list name in store when changing it 2021-05-26 16:46:16 +02:00
kolaente
f9844384be
Hide the bucket limit input when clicked away 2021-04-15 17:03:26 +02:00
kolaente
48fb707032
Prevent setting a bucket limit < 0 2021-04-15 16:58:48 +02:00
konrad
2435bd68a0 Add a "done" option to kanban buckets (#440)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/440
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-03-24 20:16:56 +00:00
kolaente
1686663a3f
Add option to remove a list background 2021-03-21 18:11:24 +01:00
kolaente
46de7dc822
Fix kanban infinite scrolling on chrome 2021-03-10 17:45:07 +01:00
konrad
f7d8095b5a Pagingation for tasks in kanban buckets (#419)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/419
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-03-10 10:59:29 +00:00
kolaente
cf47e196d7
Automatically go back after saving from a popup 2021-02-20 17:24:40 +01:00
kolaente
074b7e53f5
Don't show the list color in the list view 2021-02-20 15:54:12 +01:00
kolaente
7f5140bbb4
Play a sound when marking a task as done 2021-01-30 21:45:54 +01:00
konrad
e0be77d88f Move list edit/namespace to separate pages and in a menu (#397)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/397
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-30 16:17:04 +00:00
kolaente
06a160f26c
Fix defer due date popup 2021-01-24 15:37:19 +01:00
kolaente
769975b42b
Fix spacing for lists with no rights to add new tasks 2021-01-24 14:27:52 +01:00
konrad
8828426c91 Move all content to cards (#387)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/387
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-24 13:00:21 +00:00
kolaente
0d64506d73
Make sure all popups & dropdowns are animated 2021-01-23 18:54:22 +01:00
konrad
ddadd89c64 Move all create views to better looking popups (#383)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/383
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-21 22:33:16 +00:00
kolaente
0667a96376
Fix empty call to actions 2021-01-21 18:14:22 +01:00
kolaente
890d9b3f11
Make sure no cta's are visible while the page is loading 2021-01-20 22:09:40 +01:00
kolaente
a9e58a8e21
Make filter buttons look better on mobile 2021-01-18 22:14:10 +01:00
kolaente
427a702bd4
Add clearer call to action when no lists are available yet 2021-01-17 20:53:09 +01:00
kolaente
2139d4d528
Make sure all empty pages have a call to action 2021-01-17 20:21:33 +01:00
konrad
2aceca54ca Move buttons to separate component (#380)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/380
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-17 17:57:57 +00:00
kolaente
4f872c92d8
Rename .noshadow to .has-no-shadow 2021-01-17 13:21:58 +01:00
kolaente
e960202607
Use buttons more consistently 2021-01-17 13:04:49 +01:00
konrad
3313801174 Fix closing popups when clicking outside of them (#378)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/378
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-17 10:36:57 +00:00
kolaente
3f81f2837a
Fix delete buttons in forms 2021-01-16 22:46:02 +01:00
kolaente
212cd86987
Don't show the "new bucket" button when buckets are still loading 2021-01-16 20:28:10 +01:00
kolaente
65ce1de445
Fix filter container positioning in link shares 2021-01-16 16:50:13 +01:00
kolaente
09b7a903d2
Add success message when modifying buckets 2021-01-15 23:46:43 +01:00
kolaente
e87642026b
Fix task icons on kanban if there were multiple different ones 2021-01-10 18:27:18 +01:00
konrad
e44be61d2a Fix loading states for unrelated components (#370)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/370
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-09 14:24:06 +00:00
konrad
fe6d975134 Replace vue-multiselect with a custom component (#366)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/366
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-06 22:36:31 +00:00
azymondrian
158e697988 Show task progress on task (#354)
Shows the task completion percent as progress bar in task lists and on kanban cards.

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/354
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: azymondrian <azymondrian@protonmail.com>
Co-committed-by: azymondrian <azymondrian@protonmail.com>
2020-12-31 15:16:07 +00:00
profi248
8fe362c267 Show an icon if a task has non-empty description (Kanban view and List view) (#360)
Add an icon to indicate that task has a description (similar to Trello). Would also be nice to add a counter for comments, but it's not possible to reasonably currently implement unless the API also gets changed.

Also add attachment icon to List view, and change the icon in Kanban view to be consistent with the rest of the icon set.

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/360
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: profi248 <kostal.david8@gmail.com>
Co-committed-by: profi248 <kostal.david8@gmail.com>
2020-12-30 21:20:33 +00:00
kolaente
ddd24825a3
Fix removing a kanban bucket 2020-12-28 23:42:09 +01:00
kolaente
7c656d4708
Don't show filter and search buttons for saved filter lists 2020-12-24 01:33:25 +01:00
kolaente
ad33458a80
Don't hide the "new bucket" when updating tasks 2020-12-23 21:16:13 +01:00
kolaente
0f77ad2d58
Add task filter for kanban 2020-12-22 12:49:43 +01:00
kolaente
c0130b2b48
Only show a loading spinner per task when updating a task on the kanban board 2020-12-08 18:49:28 +01:00
kolaente
25bd9d17f9
Show a loading spinner when creating a new kanban task 2020-11-28 15:44:48 +01:00