Commit Graph

164 Commits

Author SHA1 Message Date
Finn Weigand fbec58a50b
feat: allow to write date via Quick Add Magic in DMY format with dots (#744)
Co-authored-by: Hudint Finn Weigand <dev@hudint.de>
2025-05-09 13:08:17 +00:00
Leonardo Cossutta 357dbc1c69 feat(labels): show priority labels based on minimum priority setting (#3075)
I think showing the priority of a task regardless of its value can be useful, the option for the user to choose the minimum priority for visualization is exposed in the settings. The default value is `priority.HIGH`, that corresponds to the current behavior.

Co-authored-by: konrad <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/3075
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Leonardo Cossutta <leonardo.cossutta@gmail.com>
Co-committed-by: Leonardo Cossutta <leonardo.cossutta@gmail.com>
2025-03-19 12:56:19 +00:00
kolaente 12604bcb0f
fix(attachments): left align attachment title 2025-03-09 12:05:18 +01:00
kolaente e5c751fece
fix(attachments): always show dropzone 2025-03-09 12:04:15 +01:00
kolaente 80f384a131
feat(labels): sort labels alphabetically 2025-03-09 11:47:41 +01:00
kolaente a28bbfc8df
fix(labels): only show each label once
Sometimes™, directly after adding a label, it would show up multiple times. Sometimes, it was reproducible, other times it was not. This now fixes this by only showing labels unique by its id.
2025-03-09 11:43:18 +01:00
kolaente 7724d62330
fix(task): show new due date immediately after deferring in list view 2025-03-09 11:28:51 +01:00
kolaente 021d71b90e fix: remove date-fns (#3039)
This removes date-fns and replaces it with the already used dayjs library. It does not make sense to have two libraries for the same purpose, and dayjs seems to be smaller and its translations are already integrated. Since we have to use dayjs because it is used by the gantt chart, this was the obvious way to go (instead of replacing dayjs with date-fns).

Resolves https://github.com/go-vikunja/vikunja/issues/391

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/3039
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
2025-02-21 15:42:58 +00:00
kolaente cd304b9e4e
feat(tasks): fetch comments with the task 2025-01-24 13:10:38 +01:00
kolaente 1ac553943b
fix(a11y): add labels to comment interactions 2025-01-22 11:20:32 +01:00
kolaente 2f1fd174bc
fix(a11y): add inline task labels 2025-01-22 10:44:04 +01:00
kolaente 70cce5f74a
fix(a11y): add task input label 2025-01-22 10:44:04 +01:00
Dominik Pschenitschni 9814ff9667 fix: typing reactive in ProjectSearch
see: info box under https://vuejs.org/guide/typescript/composition-api.html#typing-reactive
2025-01-21 13:38:11 +01:00
kolaente 3f0eaa5487
fix(editor): make bubbling changes from outside work
This partially reverts a change introduced in ca1384e3c9 which led to a bug where a comment on a task, which was just saved, stayed in the editor. The editor switched to read-only mode after that.
2025-01-21 12:35:02 +01:00
kolaente a99518c2b9
chore: use ref for new comment value 2025-01-21 11:49:14 +01:00
Dominik Pschenitschni cb8fd09824 feat: make time reactive (#2627)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2627
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2025-01-20 13:28:49 +00:00
Dominik Pschenitschni 70e027a84e feat: withDefaults for RelatedTasks 2025-01-17 07:56:57 +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
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
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 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
kolaente 80f8570e22
fix(task): open related task in popup when the other task was opened in a popup
Resolves https://github.com/go-vikunja/vikunja/issues/360
2024-12-06 14:36:31 +01:00
Harry Martland 8dfb34c863 feat: add tonight as a quick add date option (#2866)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2866
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Harry Martland <HarryEMartland@gmail.com>
Co-committed-by: Harry Martland <HarryEMartland@gmail.com>
2024-11-26 10:46:09 +00:00
kolaente 32bdef841f
fix: lint 2024-10-30 15:45:37 +01:00
kolaente e766b63d99
feat(kanban): add debug option to show task position on card
This will hopefully help debugging heisenbugs which only happen in production
2024-10-30 15:44:36 +01:00
kolaente 3c22b3cf00
feat(kanban): show project on kanban card if it's not the same as the current one
Resolves https://community.vikunja.io/t/feature-requests-regarding-view-ordering-project-reference-in-kanban-and-a-notin-operator/2728
2024-10-30 13:48:21 +01:00
DanielPantle faff1040dc feat(task): cancel editing task title with escape (#2730)
With this change, it is possible to cancel editing the task title with pressing the escape key.

# Problem

Before it was not possible to cancel editing the task title. Pressing outside the title saves the changes that have already been done (which is intended I think). But when e.g. pasting something with a wrong format, I was not able to revert the change without saving and editing it again

Example: after accidentially pasting something with multiple lines it is not possible to escape, the only way to revert this is to save and edit again manually:
![grafik.png](/attachments/11d3559a-3111-458f-9a9c-4107292054fa)

# Solution

This PR implements a listener for the escape key that sets the title back to its original value and blurs the focus of the title

# Additional notes

- I checked this in the "page" view of the task and the "popup" view and it worked in both. For me, the popup does not close with the escape key (as it often does on other sites), therefore there is no collision with this function. But I think it would be good to check this again to make sure it does not break anything like this
- I don't know anything about testing in this repository, if it is possible/necessary to implement a test for this feature please leave a comment :)

Co-authored-by: Daniel Pantle <daniel.pantle@newtec.de>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2730
Co-authored-by: DanielPantle <danielpantle@noreply.kolaente.dev>
Co-committed-by: DanielPantle <danielpantle@noreply.kolaente.dev>
2024-10-02 07:32:33 +00:00
kolaente 308e634c71
fix(task): do not show close button when the task was not opened via modal 2024-09-29 13:36:30 +02:00
kolaente 54994a1671
fix(task): paginate task comments
Resolves https://github.com/go-vikunja/vikunja/issues/329
2024-09-29 13:28:29 +02:00
kolaente a7bd9dad24
feat(task): use focus-visible for task focus styles 2024-09-19 13:01:18 +02:00
kolaente 10e245f6d0
fix(a11y): hide unfocusable buttons 2024-09-19 12:50:47 +02:00
kolaente 010dd1ea22
fix(task): open focused task when pressing enter 2024-09-19 12:50:21 +02:00
kolaente 65a2814b2a
feat(navigation): use focus-visible for nav items 2024-09-19 12:36:33 +02:00
kolaente ec902b051b
fix(task): mark related task as done from the task detail view
Resolves https://github.com/go-vikunja/vikunja/issues/326
2024-09-19 11:31:06 +02:00
kolaente abf92e29fa fix(task): dragging and dropping on mobile
This change fixes a regression introduced in 1cbb93ea9b.
In that change, the whole task area was made clickable using mouse events directly. Unfortunately, this also prevented the parent component of the task component to recieve them, essentially never getting notified about the mouse movement and thus never dragging the task. I don't know why this is only a problem on Safari, but it might be related to https://github.com/SortableJS/Sortable/issues/1571#issuecomment-535684451

Resolves https://community.vikunja.io/t/task-re-ordering-is-not-working-in-safari/1916
Resolves https://kolaente.dev/vikunja/vikunja/issues/2092
Resolves https://github.com/go-vikunja/vikunja/issues/304
2024-09-18 18:00:27 +02:00
kolaente cc64ca6406
fix(task): align task title on mobile popup 2024-09-18 11:36:06 +02:00
kolaente 4c55016c1a
fix(task): multiple overlapping defer due date popups
Resolves https://github.com/go-vikunja/vikunja/issues/131
2024-09-13 17:44:26 +02:00
kolaente bdccd633fe
fix(labels): remove input interactivity when label edit is disabled 2024-09-12 13:39:03 +02:00
kolaente 76f7797e56
chore: remove console.log 2024-09-11 18:14:10 +02:00
kolaente 55dd7d2981
fix(task): specify task index when creating multiple tasks at once
This change allows to specify the task index when creating a task, which will then be checked to avoid duplicates and used. This allows us to calculate the indexes for all tasks beforehand when creating them at once using quick add magic.
The method is not bulletproof, but already fixes a problem where multiple tasks would have the same index when created that way.

Resolves https://community.vikunja.io/t/add-multiple-tasks-at-once/333/16
2024-09-11 17:58:42 +02:00
kolaente 02c1de55c4
chore(attachments): refactor building image preview 2024-09-06 09:43:59 +02:00
kolaente f22420d502
fix(kanban): always make cover image full width 2024-08-12 17:22:26 +02:00
kolaente 7efc4d1bc8
fix(task): do not allow moving a task to the project the task already belongs to 2024-08-12 15:18:45 +02:00
Elscrux 75ce261f74 feat: downscaled image previews for task attachments (#2541)
As discussed in [https://community.vikunja.io/t/add-scaled-down-images-for-image-previews](https://community.vikunja.io/t/add-scaled-down-images-for-image-previews) this adds a query parameter in the task attachment request which returns a scaled down image for preview purposes to reduce network load and improve responsiveness.

Co-authored-by: Elscrux <nickposer2102@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2541
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Elscrux <elscrux@gmail.com>
Co-committed-by: Elscrux <elscrux@gmail.com>
2024-07-19 09:30:06 +00:00
devadattas 5f9d0fe763 feat: permalinks for task comments (#2442)
Resolves #2441

Co-authored-by: Devadatta Sahoo <webmaster@nettantra.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2442
Reviewed-by: konrad <k@knt.li>
Co-authored-by: devadattas <devadattas@gmail.com>
Co-committed-by: devadattas <devadattas@gmail.com>
2024-07-19 08:45:50 +00:00
Dominik Pschenitschni d35454c099 feat: improve priority visibility 2024-07-19 06:53:53 +00:00