Commit graph

166 commits

Author SHA1 Message Date
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
konrad
148cc1dcca Better save messages for tasks (#307)
Add success messages when managing assignees

Add success messages when managing labels

Add better loading animations for related tasks

Add better loading animations for comments

Don't block everything while loading

Move task heading to separate component which handles all saving related things

Make sure to only show the loading spinner and saved message when saving the description

Show a maximum of 2 notifications

Move task description to separate component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/307
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-22 16:32:35 +00:00
kolaente
50b1d378e0
Fix list not added to lists when duplicating 2020-11-12 20:02:40 +01:00
kolaente
3677ffd585
Create list through store to make sure it is updated everywhere 2020-11-12 19:59:32 +01:00
kolaente
2d70c1aabd
Fix list not being removed from the menu list when deleting it 2020-11-12 19:50:41 +01:00
konrad
2af53b16b6 Performance improvements (#288)
Only include needed parts from lodash

Don't prefetch

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/288
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-02 20:47:31 +00:00
kolaente
82d54b0751
Remove the focus of the bucket title element after saving the title 2020-10-24 17:23:13 +02:00
kolaente
21968ab86d
Don't create a label through quick add if the title is empty 2020-09-28 20:20:19 +02:00
konrad
6b1ebbabb7 Saved filters (#239)
Fix saving

Cleanup

Fix single value prepare

Add prepare percent done stub

Fix populating filters with saved values when editing for single values

Fix populating filters with saved values when editing

Add edit filter view page

Hide adding new tasks to pseudolists

Make sure all filter values are passed as strings as per requirement from the api

Add redirect to list after creating it

Add creating saved filter

Add filter by percent done

Add end date filter

Add start date filter

Add extra checkbox to enable/disable priority filter

Add changing priority

Add more filter stubs

Fix dates for filters

Add saved filter create form

Add include nulls and concat to filter options

Add new saved filter component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/239
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-09-26 21:02:37 +00:00
kolaente
a8a7f70a3c
Cleanup code & make sure it has a common code style 2020-09-05 22:35:52 +02:00
konrad
4a8b15e7be Favorite tasks (#236)
Add loading spinner when updating a task

Show favorites namespace if the favorited task is the first favorite

Show the list favorited tasks belong to

Fix task width

Add method to mark a function as favorite

Make favorite clickable

Format

Hide favorite button when not hovered

Add button to mark a task as favorite

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/236
2020-09-05 20:16:17 +00:00
konrad
cac8b09263 Add limits for kanban boards (#234)
Prevent dropping a task onto a bucket which has its limit reached

Fix closing the dropdown

Add notice to show the limit

Add input to change kanban bucket limit

Add menu item to save bucket limit

Fix parsing dates from the api

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/234
2020-09-04 20:01:02 +00:00
kolaente
5705b5afd1
Always focus inputs on kanban when adding a new task or bucket 2020-08-11 21:04:22 +02:00
konrad
3c07c6e8c0 Hide UI elements if the user does not have the right to use them (#211)
Hide Team UI elements if the user does not have the rights to use them

Fix replacing the right saved in the model when updating

Hide UI-Elements on task if the user does not have the rights to use them

Hide UI-Elements on gantt if the user does not have the rights to use them

Hide UI-Elements on kanban if the user does not have rights to use them

Fix canWrite condition

Hide list components if the user has no right to write to the list

Add max right to model

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/211
2020-08-11 18:18:59 +00:00
kolaente
e4f4df0655
Hide the user menu if clicked outside of it 2020-07-29 22:01:54 +02:00
kolaente
d9361bcd53
Redirect to current list view on click on list in menu again
Fixes #196
2020-07-29 13:02:46 +02:00
kolaente
b1b5398c56
Add more prefetching of components 2020-07-28 10:14:42 +02:00
kolaente
5521ba7c71
Fix comparing the currently loaded list with the current list to make sure to only load the list if needed 2020-07-25 15:10:36 +02:00
kolaente
708b057634
Add more debugging when loading lists or buckets 2020-07-25 15:07:22 +02:00
kolaente
7ad24c6d45
Make sure to make the list id from the route an int to not fail the comparison 2020-07-24 18:47:33 +02:00
konrad
b4cdc0b3c4 Add creating labels when creating a task (#192)
Make sure to wait until all labels were added to modify the task title and remove all label slugs

Create the label if it does not exist

Add getting label and adding it to a newly created task

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/192
2020-07-24 16:39:38 +00:00
kolaente
3acadfc6db
Add debug logs for loading list + kanban buckets 2020-07-24 10:42:30 +02:00