1
0
Commit Graph

262 Commits

Author SHA1 Message Date
6e5b31f1e0 fix(filters): always persist filter or search in query path and load it correctly into filter query input when loading the page
Previously, when using the filter query as a search input, it would load the search as requested but the filter query parameter in the url would be empty, which meant the search would not be loaded correctly when reloading (or otherwise newly accessing) the page. We're now persisting the filter and search in the task loading logic, to make sure they are always populated correctly.
2024-04-13 23:34:25 +02:00
5177f516c4 fix(views): make sure view changes are reflected in switcher 2024-04-13 22:24:12 +02:00
7d755fcb89 fix: lint 2024-04-13 17:58:53 +02:00
3e7225ebee fix(editor): do not prevent shift+enter to add a line break in text
Resolves https://github.com/go-vikunja/vikunja/issues/250
2024-04-13 14:08:27 +02:00
9eb19e0362 fix(project): do not crash when views were not loaded yet
The project view crashed when accessing a task from /projects because the currentProject in store was not set, hence the views weren't set either. This change adds a fallback to it.

Related to https://kolaente.dev/vikunja/vikunja/issues/2246
Related to https://community.vikunja.io/t/vikunja-freezes/2246/5
2024-04-13 13:18:14 +02:00
a3a4d05e89 feat(editor): checklist visual improvements (#2264)
This makes task lists (especially big ones) easier to read. I've set a margin so there is a distance between task items which makes them easier to stand out.
I've also changed the visuals of the checked elements (strike through + grey font color) so the unchecked ones stand out more. Note that this currently seems to be a big bugged outside of edit mode as `data-checked` doesn't seem to be updating correctly in this state which seems to be an issue that is already noted for the TipTap editor.

Co-authored-by: Elscrux <nickposer2102@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2264
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Elscrux <elscrux@gmail.com>
Co-committed-by: Elscrux <elscrux@gmail.com>
2024-04-11 15:46:10 +00:00
ed4be389ab fix(navigation): scrolling when many projects are present
Regression from ee3d20e1d2
Resolves https://github.com/go-vikunja/vikunja/issues/249
2024-04-10 22:54:36 +02:00
ee3d20e1d2 fix(navigation): do not hide shadows of dropdown menu 2024-04-09 13:07:01 +02:00
6641cbebc2 fix(project): save the last 6 projects in history, show only 5 on desktop
The project grid on the home page with the recently visited projects now contains an even number of projects which makes for a much nicer grid (because it's now uniform).
2024-04-07 14:34:18 +02:00
f1c3ce5eeb fix(projects): allow arbitrary nesting of new projects 2024-04-07 12:00:39 +02:00
ec1ff80791 fix(kanban): save done and default bucket on the view and not on the project
The frontend was still trying to update the two in the project which won't work since they are now saved at the view level, not the project.
2024-04-06 13:32:54 +02:00
6fbd24d5f6 fix(filter): move spaces out of button to after the matched filter value to prevent removal of spaces 2024-04-06 12:08:58 +02:00
e534a6a5bf fix(modal): do not set p in modal card as flex
This fixes a bug where the description of a project or filter would be aligned right.
2024-04-06 12:08:58 +02:00
bf85cb0505 fix(filters): always show filter values in a readable color 2024-04-06 12:08:57 +02:00
95276ceebe fix(reactions): do not enable reaction picker when the current user does not have write access 2024-04-02 14:48:13 +02:00
bf5088e546 fix(sharing): show user display name and avatar when displaying search results
Resolves https://community.vikunja.io/t/autogenerated-username-using-google-openid/2183/12
2024-04-02 14:29:22 +02:00
6f366d4907 feat(views): lint 2024-04-02 14:04:17 +02:00
d7554d9e70 feat(views): hide view switcher when there is only one view 2024-04-02 14:02:59 +02:00
8a72fe26f8 fix(views): refactor filter button slot in wrapper
Before this change, the filter button on the top right was positioned using absolute positioning and plenty of tricks, which were brittle and not really maintainable. Now, the buttons are positioned using flexbox, which should make this a lot more maintainable.
2024-04-02 14:02:31 +02:00
13cab62d14 fix(views): transform view filter before and after loading it from the api
Previously, the actual filter was kept as-is when sending it to the api, essentially creating an invalid filter. This change fixes this, transforming the filter before saving and after loading.

Resolves https://kolaente.dev/vikunja/vikunja/issues/2233
2024-04-02 13:20:17 +02:00
81de986d8d fix(gantt): correctly show day in chart 2024-04-02 12:53:14 +02:00
915f677c2a fix(views): correctly pass view id to wrapper when gantt view is active 2024-04-02 12:50:10 +02:00
767b058915 fix(filter): add white background to filter input 2024-03-29 18:07:37 +01:00
403db6adbf fix(reminder): do not close the popup directly after changing the value
Fixes https://github.com/go-vikunja/vikunja/issues/225
2024-03-20 11:58:29 +01:00
8f85af07ca fix(task): clear timeout for description save when closing the task detail 2024-03-20 11:26:54 +01:00
5e9edef3b3 fix: lint 2024-03-19 16:33:23 +01:00
7c30b00668 fix(views): correctly pass project id when loading more tasks in kanban views 2024-03-19 13:55:05 +01:00
4b903c4f48 fix(views): lint 2024-03-19 00:47:52 +01:00
434b1ea0e8 feat(views): crud in frontend 2024-03-19 00:47:50 +01:00
6e53bf4ebe feat(filter): add unique id to filter input 2024-03-19 00:47:50 +01:00
b8ff7910b0 feat(filter): make filter input label configurable 2024-03-19 00:47:50 +01:00
f6485be9e2 chore(views): move actual project views into their own folder 2024-03-19 00:47:50 +01:00
4c1a53beed chore(views): use view id instead of passing whole view object 2024-03-19 00:47:50 +01:00
59ced554cd chore(views): remove old view routes 2024-03-19 00:47:49 +01:00
2dfb3a6379 fix(views): make no initial view work in the frontend 2024-03-19 00:47:49 +01:00
a3714c74fd feat(views): load views when navigating with link share 2024-03-19 00:47:49 +01:00
cf15cc6f12 feat(views): fetch tasks via view context when accessing them through views 2024-03-19 00:47:47 +01:00
96186250f4 fix(filters): clear autocomplete results when starting the next character 2024-03-14 09:05:07 +01:00
6cf3a578c0 fix(filters): correctly replace values when clicking on an autocomplete result
Related https://kolaente.dev/vikunja/vikunja/issues/2194
2024-03-14 09:02:57 +01:00
c8b35d49ca fix(filters): correctly return project from filter
Related https://kolaente.dev/vikunja/vikunja/issues/2194
2024-03-14 08:49:02 +01:00
161bb1b192 fix(filters): do not watch debounced 2024-03-14 08:40:03 +01:00
07e84f2abf fix(reminders): make debounce logic actually work 2024-03-13 20:11:00 +01:00
d4605905d3 fix(filters): do not fire filter change immediately
Related to https://kolaente.dev/vikunja/vikunja/issues/2194#issuecomment-61081
2024-03-13 19:58:24 +01:00
f34577f293 fix(editor): do not use Tiptap to open links when clicking on them, use the browser native attributes instead
It looks like links are opened twice, when the openOnClick option is enabled. That means they will get opened twice when clicking on them. Disabling that option will not fire the click handler and only rely on browser functionality to open links.

Resolves https://kolaente.dev/vikunja/vikunja/issues/2155
2024-03-13 19:23:02 +01:00
7bf2664e55 fix(filters): persist filters in url
This allows us to keep the filters when navigating back from a task or other url.
2024-03-13 19:03:23 +01:00
ccb708a56f fix(reminders): emit reminder changes at the correct time (and make sure they are actually emitted)
Resolves https://github.com/go-vikunja/vikunja/issues/225
2024-03-13 18:42:55 +01:00
1de39b1cd1 fix(quick actions): do not allow creating a task when the current project is a saved filter
Resolves https://community.vikunja.io/t/creating-task-on-saved-filter-page-doesnt-save/2127
2024-03-13 18:16:18 +01:00
b3caece256 fix(datepicker): emit date value changes as soon as they happen
Flatpickr only returns a change event when the value in the input it's referring to changes. That means it will usually only trigger when the focus is moved out of the input field. This is fine most of the time. However, since we're displaying flatpickr in a popup, the whole html dom instance might get destroyed, before the change event had a chance to fire. In that case, it would not update the date value. To fix this, we're now listening on every change and bubble them up as soon as they happen.

Resolves https://community.vikunja.io/t/due-date-confirm-button-not-working/2104
2024-03-13 18:03:49 +01:00
a6edf1d325 feat(filters): make clear filters button less obvious 2024-03-13 17:33:34 +01:00
fc4eed6eb4 fix(filters): lint 2024-03-13 17:21:20 +01:00