Commit Graph

693 Commits

Author SHA1 Message Date
Dominik Pschenitschni 7e787c9a3b feat: inline dynamic component definitions in routes 2025-01-19 21:34:03 +01:00
Dominik Pschenitschni cbbc4c0372 fix: i18n missing translation key 2025-01-19 20:10:22 +00:00
Dominik Pschenitschni c7e708cf7d fix: deprecated import in useTitle 2025-01-19 20:07:55 +00:00
Dominik Pschenitschni 4c972e1bc4 feat: load project in project view 2025-01-19 19:56:07 +00:00
Dominik Pschenitschni 144571e448 feat: simplify ProjectView 2025-01-19 19:56:07 +00:00
Frederick [Bot] 5c31ccaddd chore(i18n): update translations via Crowdin 2025-01-18 00:14:03 +00:00
Dominik Pschenitschni b5cb98498a fix: global component types
See canonical source https://github.com/vuejs/language-tools/wiki/Global-Component-Types
This was kind of hard to find, imho should be in vue docs itself…
2025-01-17 08:09:44 +00:00
Dominik Pschenitschni 70e027a84e feat: withDefaults for RelatedTasks 2025-01-17 07:56:57 +00:00
Dominik Pschenitschni 289bb73e9e feat: withDefaults for Flatpickr 2025-01-17 07:55:44 +00:00
Dominik Pschenitschni a61e2d064d fix: lowlight imports for v3 2025-01-16 13:14:09 +01:00
Frederick [Bot] e7b261f84e chore(i18n): update translations via Crowdin 2025-01-16 00:14:56 +00:00
Frederick [Bot] e00ce92716 chore(i18n): update translations via Crowdin 2025-01-15 00:15:58 +00:00
Dominik Pschenitschni b7fc29327a feat: add generic types to multiselect (#2618)
This improves (!) the types of Multiselect — it doesn't fix them

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2618
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2025-01-14 21:40:09 +00:00
Dominik Pschenitschni abb4126bce fix: hide icon if description is missing
There might be future general improvements like merging the edit and info modal (since they both show the description, but only in one it's editable.

This PR already improves the situation a bit, since you don't have to click on that info button anymore to check __if__ there is a description at all.
2025-01-14 16:57:33 +00:00
Dominik Pschenitschni e9a932e0f0 feat: use withDefaults in Description (#2453)
This will not fix the current issues yet, but I think it makes sense to start with this to rule this out.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2453
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2025-01-14 16:47:13 +00:00
Dominik Pschenitschni 9d985f7e96 fix: add canRemove prop 2025-01-14 16:41:02 +00:00
Dominik Pschenitschni 811a933cd3 feat: use withDefaults for AssigneeList 2025-01-14 16:41:02 +00:00
Dominik Pschenitschni 79071a1909 feat: reactive flatpicker language (#2628)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2628
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2025-01-14 11:46:17 +00:00
Dominik Pschenitschni 140765ad20 feat: use TipTap starter-kit 2025-01-14 11:05:03 +01:00
Frederick [Bot] 0c3ef89d1a chore(i18n): update translations via Crowdin 2025-01-14 00:13:58 +00:00
Frederick [Bot] 8ba9ded3e2 chore(i18n): update translations via Crowdin 2025-01-13 00:12:46 +00:00
Frederick [Bot] 68896c69cb chore(i18n): update translations via Crowdin 2025-01-12 00:14:24 +00:00
Frederick [Bot] 83732ec26d chore(i18n): update translations via Crowdin 2025-01-11 00:14:08 +00:00
Frederick [Bot] 76cb5ff9a4 chore(i18n): update translations via Crowdin 2025-01-10 00:14:20 +00:00
kolaente 748fa2b798
fix(auth): redirect to logout url after logging out
Resolves https://community.vikunja.io/t/open-id-logout-url-doesnt-seem-to-work/3158
2025-01-09 15:17:53 +01:00
kolaente 304de78c48
fix(migration): handle file errors in frontend 2025-01-09 14:51:55 +01:00
Frederick [Bot] 466d0a73a9 chore(i18n): update translations via Crowdin 2025-01-08 00:16:10 +00:00
Frederick [Bot] fbc48c43f5 chore(i18n): update translations via Crowdin 2025-01-07 00:16:37 +00:00
Frederick [Bot] 42f5cdf2d9 chore(i18n): update translations via Crowdin 2025-01-01 00:19:38 +00:00
Dominik Pschenitschni a6644d9c89 feat: move loading logic from ready to base store 2024-12-28 10:36:26 +00:00
kolaente 6ee6b2ffee
feat: add Korean translation for selection 2024-12-26 17:12:19 +01:00
Frederick [Bot] 367530bf2d chore(i18n): update translations via Crowdin 2024-12-25 00:23:31 +00:00
Frederick [Bot] af50145705 chore(i18n): update translations via Crowdin 2024-12-24 00:22:44 +00:00
Frederick [Bot] 064aff56e3 chore(i18n): update translations via Crowdin 2024-12-21 00:22:49 +00:00
Frederick [Bot] c97fec9fed chore(i18n): update translations via Crowdin 2024-12-20 00:22:50 +00:00
kolaente f520881538 fix(kanban): do not close task input after creating tasks
Resolves https://kolaente.dev/vikunja/vikunja/issues/2192
2024-12-19 17:16:13 +01:00
kolaente bfb7cf9403 fix(project): only show create task cta when the user has permission to write to the project
Resolves https://community.vikunja.io/t/create-a-task-link-in-empty-project-for-read-only-share-links/3127
2024-12-19 17:09:14 +01:00
kolaente 2185d36d36
fix(kanban): disable create button when bucket limit is reached 2024-12-19 12:53:56 +01:00
Frederick [Bot] cbee46b403 chore(i18n): update translations via Crowdin 2024-12-19 00:23:21 +00:00
kolaente 9eb5c62b01
fix: do not fail to load projects without views via link share
Resolves https://community.vikunja.io/t/undefined-error-when-sharing-an-empty-project/3126
2024-12-18 21:47:41 +01:00
Dominik Pschenitschni f76970b5a3 chore: explicit function origin (#2945)
Nothing world changing. I realised recently that I prefer explicitly calling methods of stores and do the same with their states.
Similar to how one would do that with classes.

Since I might make more changes like this in the future (maybe also part of other PRs) I though I'd explain my reasoning here in a bit more detail:

__Benefits__

- saves local mappings, like the `const updateConfig = () => configStore.update()`
- there is no need to look up what exactly is updated, since the function is provide by the store.

__Disadvantages__

- a little bit more verbose (but not thaaat big difference)

---

TLDR: When reading the code this saves the step to check what was mapped.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2945
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2024-12-18 15:24:42 +00:00
Dominik Pschenitschni 6a2a8c106b fix: LinkSharing race condition (#2932)
This fixes a race condition and should potential fix some flaky Cypress tests:

<img width="630" alt="Screenshot 2024-12-12 at 10.53.56.png" src="attachments/21dce132-7f1a-4e19-b14c-b0a868daa20e">

-----

Before `selectedView` was filled with an initial value that depended on the the related project being loaded before the shared links, since the assignment happened directly after the views have been loaded.

This fix ensures that the correct project has been loaded before it's accessed to look up the id of the first view.

-----

@konrad: Now that I finished this PR I'm a bit unsure if it's the "correct" way to solve this.

Because for existing share links it might be better if the links save the selected view as a property. Currently a change of the view only changes the created link in the frontend. When you change the view and reload the link stays the same.

I'm unsure if editing the selected view is something that we want (or is even possible depending on what the hash represents).
So maybe we should only support the following: The user selects a view when creating a linkShare and and different from before it will be saved.

Even with those additional changes we still need something similar to the changes of this PR, since we would still need to load the available view ids for the creation of a new link share.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2932
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2024-12-13 20:44:33 +00:00
kolaente b3040b8466
fix(notifications): handle user mentioned notification 2024-12-11 19:15:09 +01:00
kolaente a1cf2b8bc7
fix(tasks): add new task only once to list when added
Fixes a regression introduced in 2ac11b13a1
2024-12-11 18:42:07 +01:00
kolaente 6f9b0ddfe7
fix(tasks): do not show import hint when using a filter as home tasks and already imported
This fixes a bug where the "import your tasks from other platforms" would be shown even if the user had already imported tasks. The bug was caused by the heuristic "there are tasks" was not evaluated when tasks were loaded through a filter

Resolves https://github.com/go-vikunja/vikunja/issues/372
2024-12-11 18:28:29 +01:00
Dominik Pschenitschni 07df606c68 fix: resetEmptyTitleError (#2889)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2889
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2024-12-10 20:08:15 +00:00
kolaente 2ac11b13a1
fix(tasks): creating subtasks with quick add magic should show up once
Because the tasks were emitted as the relation was created, when a task had multiple subtasks the parent was emitted multiple times and thus, shown multiple times in the list view. This change fixes that behaviour by emitting all tasks at the end, when all relations are created.
2024-12-10 15:21:50 +01:00
kolaente 9aca4ca0f6
fix(favorites): do not return subtasks on favorites page
This fixes an issue where all subtasks of a tasks would show up on the favorites page, even if they were not marked as favorite.

Resolves https://github.com/go-vikunja/vikunja/issues/375
2024-12-10 14:31:28 +01:00
Frederick [Bot] 3de532ed50 chore(i18n): update translations via Crowdin 2024-12-07 00:13:41 +00:00
kolaente e02ebbcba1
fix(tasks): default reminder to current date
This fixes an issue where the default date for a new reminder was
1970-01-01 (unix timestamp 0). It was caused by a new date object being
created but since the reminder that was creatd was new, this was created
as null date, which equals a 0 unix timestamp.

Resolves https://github.com/go-vikunja/vikunja/issues/359
2024-12-06 15:15:42 +01:00