Commit Graph

28 Commits

Author SHA1 Message Date
c98ab42e75 feat: move lists between namespaces (#1430)
All checks were successful
continuous-integration/drone/push Build is passing
Frontend implementation of vikunja/api#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: #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
fdd2e7e538
fix: vuex store mutation violation when archiving a namespace
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-26 14:36:32 +01:00
4ef54f1bc2
fix: deleting a namespace
All checks were successful
continuous-integration/drone/push Build is passing
Deleting a namespace would remove the item from the store and then try to remove it from the search index. That failed because the item was already removed from the store and thus undefined when it was passed to the store.
2021-11-22 21:49:19 +01:00
507a73e74c feat: use flexsearch for all local searches (#997)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #997
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-14 20:49:52 +00:00
db605e0d21 feat: show namespace of related tasks if they are different than the current one (#923)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #923
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:27:23 +00:00
bb94c1ba3a
feat: use async / await where it makes sense 2021-10-16 18:59:53 +02:00
a776e1d2f3
chore: don't resolve when returning from promise & improve list store module
Some checks reported errors
continuous-integration/drone/pr Build was killed
2021-10-16 18:59:53 +02:00
3b940cb56c
feat: don't rethrow same error and handle errors globally 2021-10-16 18:59:53 +02:00
e064c3bf96
fix: access namespace only if loaded 2021-10-11 18:08:31 +02:00
db49b9b532
fix: directly set arrays, objects and delete directly
Not needed since vue3 uses proxies
2021-10-01 18:45:42 +02:00
77f8b27dc6
fix: lists disappearing when updating their namespace
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-24 20:51:59 +02:00
dpschen
0a8505f53c fix: vuex mutation violation from draggable (#674)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #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
b8c7dba0ef
Fix new lists created with quick actions not showing up in the menu
Some checks failed
continuous-integration/drone/push Build is failing
2021-06-24 15:38:25 +02:00
9c799ab161
Fix removing a namespace from state after it was deleted
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-26 17:39:57 +02:00
9d818921a7
Fix not updating list name in store when changing it
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-26 16:46:16 +02:00
62bfbcce79
Fix showing and hiding lists in the menu
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-20 16:28:45 +01:00
e44be61d2a Fix loading states for unrelated components (#370)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #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
35ef66744b
Fix removing a namespace not removing it from the list
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-08 23:03:40 +01:00
f9d295fc67
Only show loading spinner over menu when loading namespaces
Some checks failed
continuous-integration/drone/push Build is failing
2020-12-23 21:26:43 +01:00
15a2da41ba
Show loading spinner when loading namespaces & lists
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-12 20:57:39 +01:00
f2fcf42639 Favorite lists (#237)
All checks were successful
continuous-integration/drone/push Build is passing
Remove/show favorites namespace if a task/list is the first to being marked as favorite

Add special case to prevent marking an archived list as favorite

Add marking a task as favorite  on namespaces page

Prevent toggling the favorite state for the favorites list

Add method to toggle list favorite in the menu

Add favorite icon to lists in menu

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #237
2020-09-06 14:20:48 +00:00
a8a7f70a3c
Cleanup code & make sure it has a common code style
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-05 22:35:52 +02:00
4a8b15e7be Favorite tasks (#236)
All checks were successful
continuous-integration/drone/push Build is passing
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: #236
2020-09-05 20:16:17 +00:00
d49cf5635b
Show namespace name in list search field
All checks were successful
continuous-integration/drone/push Build is passing
Resolves #169
2020-06-27 23:12:33 +02:00
995dec33ea
Add list title in overview page
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-11 16:52:58 +02:00
c2135338d3
Show parent list and namespace for tasks in detail views
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-09 23:28:54 +02:00
48df1a44e8
Show the list of a related task if it belongs to a different list
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-09 19:33:37 +02:00
5724b98358 Vuex (#126)
All checks were successful
continuous-integration/drone/push Build is passing
Merge branch 'master' into feature/vuex

Cleanup

Move namespaces handling to store

Move fullpage setting to store

Move online/offline handling to store

Remove debug log

Fix loading namepaces

Rename errorMsg

Handle registering through the store

Use store to determine wether or not a user is authenticated on login page

Use store in edit team

Use store to get the current user's avatar

Use store to figure out if the current user belongs to a team

Use store to figure out if the current user is list admin

Use store to get user info when listing labels

Use store to get username on home

Use store to figure out if the user is namespace admin

Use the store for configuration

Use the store to check if a user is authenticated everywhere

Only renew token if the user is logged in

Fix renewing auth from jwt token

Move logout to store

Move renew token to store

Move log in to store

Only show enabled migrators

Only show registration button if registration is enabled

Put all config information from the backend in the store

Remove old config handler

Move config state to seperate module

Add vuex and get the motd through it

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #126
2020-05-08 18:43:51 +00:00