Commit Graph

61 Commits

Author SHA1 Message Date
kolaente f6171935ca
fix(tasks): translation for multiple related tasks now works
Resolves https://github.com/go-vikunja/frontend/issues/98
2022-12-16 14:42:58 +01:00
Dominik Pschenitschni 8c44ed83e6
feat: use transition component everywhere 2022-11-14 22:08:54 +01:00
kolaente 74a9b9ab1b
feat: show done tasks as strikethrough when searching for new tasks to relate 2022-10-06 22:41:53 +02:00
Dominik Pschenitschni 4655e1ce34
feat: update eslint config
support async component, see: https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser
2022-10-04 13:45:16 +02:00
Dominik Pschenitschni 34ffd1d572
feat: port tasks store to pinia 2022-09-29 21:40:15 +02:00
Dominik Pschenitschni 093ab766d4
feat: port namespace store to pinia 2022-09-21 23:32:21 +02:00
Dominik Pschenitschni 43e2d036d7
fix: remove console.log 2022-09-21 18:36:38 +02:00
kolaente ce0f58c783
feat: allow marking a related task done directly from the list 2022-09-21 18:36:38 +02:00
Dominik Pschenitschni 943d5f7975
feat: task relatedTasks script setup 2022-09-21 18:35:46 +02:00
Dominik Pschenitschni 7d4ba6249e
feat: add modelTypes 2022-09-05 17:57:21 +02:00
Dominik Pschenitschni 332acf012c
feat: function attribute typing 2022-09-05 16:37:37 +02:00
Dominik Pschenitschni 8fb00653e4
feat: constants 2022-09-05 16:37:37 +02:00
kolaente e8705c66dd
fix: add a task relation with enter when only one search result is available
Resolves #2107
2022-07-11 20:02:35 +02:00
Dominik Pschenitschni 3b9bc5b2f8 feat: use BaseButton where easily possible
This replaces links with BaseButton components. BaseButton will use `<button type="button">` inside for this case. This improves accessibility a lot. Also we might be able to remove the `.stop` modifiers in some places because AFAIK the button element stops propagation by default.
2022-07-06 21:07:26 +00:00
kolaente 6fc87e1515
feat: add print styles 2022-06-02 23:00:21 +02:00
kolaente 8257586c90
chore: replace the same i18n string with a single entry 2022-04-24 18:14:41 +02:00
Dominik Pschenitschni ba9f69344a
feat: use defineComponent wrapper 2022-04-02 17:16:57 +02:00
Dominik Pschenitschni a3329f1b42
feat: add lang ts to script block 2022-04-02 17:15:46 +02:00
kolaente 53787a65df
fix: lint 2022-04-02 14:57:03 +02:00
kolaente dfed1f438a
feat: directly create a new task from relations when none was selected 2022-04-02 13:54:45 +02:00
kolaente 87ac22b448
fix: related done tasks strikethrough 2022-03-22 23:06:36 +01:00
konrad 581b2cb4ab fix: related tasks add button and task dates in read only view (#1268)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1268
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-06 15:58:52 +00:00
kolaente 00ffe17eb8
fix: related task with the same namespace 2022-01-30 23:07:31 +01:00
Dominik Pschenitschni 16b0d03601
fix: readd modal transitions 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni cdbd1c2ac4 feat: create BaseButton component (#1123)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#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
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: vikunja/frontend#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
konrad ae5d3ecac5 fix: kanban card spacing (#1005)
Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1005
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-16 21:44:07 +00:00
konrad db605e0d21 feat: show namespace of related tasks if they are different than the current one (#923)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#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
kolaente a515b0c3a4
fix: don't try to check undefined relations 2021-10-31 13:15:43 +01: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 e0fd5f8fe0
feat: merge taskRelations.scss with component styles 2021-10-25 16:39:32 +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
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
kolaente 2a1004ac68
fix: make task relation kinds translatable
Related to #774
2021-10-04 21:52:27 +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 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 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
konrad 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
konrad 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
kolaente cdc805c8da
Refactor success and error messages 2021-06-22 22:07:57 +02:00
kolaente 08dcc77228
Fix deleting task relations
See vikunja/api/commit/eb3a94567817b78a3325a937cedce237837e3785
2021-02-18 23:36:06 +01:00
kolaente 850e4ecc15
Show list if the search result for a task belongs to a different list 2021-01-23 19:05:26 +01:00
kolaente 0d64506d73
Make sure all popups & dropdowns are animated 2021-01-23 18:54:22 +01:00
konrad 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
kolaente 4dac10454e
Remove the shadow at the "+" button for related tasks 2021-01-20 22:26:33 +01:00