Commit Graph

44 Commits

Author SHA1 Message Date
2f28b43243
chore: refactor removing a related task 2021-11-03 21:53:27 +01:00
ce5de84c84
chore: remove unused styles 2021-11-03 21:46:17 +01:00
2933fdcd3d
feat: only show delete icons on hover 2021-11-02 23:01:20 +01:00
3e7edd84fa
chore: simplify task title markup 2021-11-02 22:59:32 +01:00
e702524b94
chore: use Object.entries 2021-11-02 20:21:12 +01:00
21ddd25714
fix: related task not removed from the list when deleting it 2021-11-02 20:18:34 +01:00
edc74fd598
fix: add kind to mapped related tasks 2021-11-02 20:18:09 +01:00
4e913af56d
chore: move all logic for building related tasks and search results to a computed prop 2021-11-02 19:52:36 +01:00
143e7fb7fc
chore: simplify showing a related tasks' title 2021-11-02 19:29:56 +01:00
fed3014c7b
chore: refactor different namespace check to use a computed function 2021-11-02 19:29:56 +01:00
d87550fbd2
feat: show namespace of related tasks if they are different than the current one 2021-11-02 19:29:56 +01:00
a515b0c3a4
fix: don't try to check undefined relations 2021-10-31 13:15:43 +01:00
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
e0fd5f8fe0
feat: merge taskRelations.scss with component styles 2021-10-25 16:39:32 +02:00
bb94c1ba3a
feat: use async / await where it makes sense 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
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
2a1004ac68
fix: make task relation kinds translatable
Related to #774
2021-10-04 21:52:27 +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
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
ebeca48be4
fix: namespace collision of global error method with draggable error method 2021-09-24 21:46:42 +02:00
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
4454e6cf22
feat: update to new slot syntax
Prepare for vue 3
2021-09-24 21:46:42 +02: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: vikunja/frontend#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
dpschen
0660129b41 feat: provide global variables in all components (#669)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#669
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 16:39:11 +00:00
a08306d612 Add vite (#416)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#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
f0498fd767 Add translations (#562)
Reviewed-on: vikunja/frontend#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
cdc805c8da
Refactor success and error messages 2021-06-22 22:07:57 +02:00
08dcc77228
Fix deleting task relations
See vikunja/api/commit/eb3a94567817b78a3325a937cedce237837e3785
2021-02-18 23:36:06 +01:00
850e4ecc15
Show list if the search result for a task belongs to a different list 2021-01-23 19:05:26 +01:00
0d64506d73
Make sure all popups & dropdowns are animated 2021-01-23 18:54:22 +01:00
d1a2eefca6 Improve consistency of the layout (#386)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#386
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-23 17:18:09 +00:00
4dac10454e
Remove the shadow at the "+" button for related tasks 2021-01-20 22:26:33 +01:00
2aceca54ca Move buttons to separate component (#380)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#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
cf951d2846
Hide new related tasks form when related tasks exist 2021-01-16 21:40:07 +01:00
fe6d975134 Replace vue-multiselect with a custom component (#366)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#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
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: vikunja/frontend#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
2af53b16b6 Performance improvements (#288)
Only include needed parts from lodash

Don't prefetch

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#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
5e046fbd06
Don't reset task relation kind after adding a task relation 2020-10-24 14:38:25 +02:00
a8a7f70a3c
Cleanup code & make sure it has a common code style 2020-09-05 22:35:52 +02:00
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: vikunja/frontend#211
2020-08-11 18:18:59 +00:00
b1b5398c56
Add more prefetching of components 2020-07-28 10:14:42 +02:00
68681ef007
Fix related tasks search 2020-06-21 18:09:15 +02:00
fc4b9d439b
Restructure components 2020-06-17 22:15:59 +02:00