1
0
Commit Graph

292 Commits

Author SHA1 Message Date
ecd44059e4 Use if to conditionally add escape hotkey 2024-05-24 15:23:15 +02:00
308a98c876 Add discardShortcutEnabled setting to opt into this feature
Only editing the task description and comments have this feature enabled
2024-05-24 15:23:15 +02:00
6ad8ce8f44 Cancel current edits and exit edit mode with escape 2024-05-24 15:23:15 +02:00
9de48aa6b2 Enter edit mode when double clicking 2024-05-24 15:23:15 +02:00
6543795755 Only allow cover if a preview is available 2024-05-24 12:47:15 +02:00
56d9223fc4 Replace cover text links with icons 2024-05-24 12:46:46 +02:00
ef8bb5aca9 Add file image as fallback preview 2024-05-24 12:45:30 +02:00
658936a070 File name and cover label styling improvement 2024-05-24 12:45:06 +02:00
c80d77ca69 Add width: 100% 2024-05-23 10:26:42 +02:00
76b3ac39b6 fix(filter): clarify in filter syntax 2024-05-22 22:17:50 +02:00
7664534618 Change attachment div to button 2024-05-16 19:29:40 +02:00
4b4c7840e2 Rename grid-item class to attachment 2024-05-16 14:32:29 +02:00
2d3bf4c210 Move object-fit to styles 2024-05-16 14:32:15 +02:00
6fa15d30ad Replace px with rem 2024-05-15 23:58:28 +02:00
9c7187b4aa Adjust file preview style 2024-05-15 23:58:28 +02:00
2ab6894542 Replace table with grid 2024-05-15 23:58:28 +02:00
e47d6d1605 Extract img to FilePreview component
Now images will also be displayed when they are uploaded initially
2024-05-15 23:58:28 +02:00
c2dfa9be83 Proof of concept for image preview 2024-05-15 23:58:28 +02:00
d3a7d79eb9 fix: use correct project title in project card 2024-05-07 18:18:19 +02:00
e0ce3e50bd fix(attachment): correct spacing around creation date 2024-05-07 18:11:40 +02:00
fa628edc0c fix(project): make sure gantt and kanban views shared with link share are full width
Resolves https://github.com/go-vikunja/vikunja/issues/258
2024-05-07 16:53:21 +02:00
053c4d5842 fix(project): bottom spacing in list view 2024-05-07 16:27:13 +02:00
37d3715eeb fix(task): show repeating indicator in task list for monthly repeating tasks
Resolves https://kolaente.dev/vikunja/vikunja/issues/2319
2024-05-05 15:03:43 +02:00
26ada628a2 fix(editor): use colors from color scheme to render table cells
Resolves https://github.com/go-vikunja/vikunja/issues/253
2024-04-21 23:57:07 +02:00
d86fdcb756 fix(table view): do not sort table column fields when the field in question is hidden
Resolves https://kolaente.dev/vikunja/vikunja/issues/2272
2024-04-21 23:48:40 +02:00
574c7f218e fix(labels): allow link shares to add existing labels to a task
Resolves https://github.com/go-vikunja/vikunja/issues/252
2024-04-21 15:12:27 +02:00
5a84d37fca fix(kanban): do not focus on task list in bucket when clicking on a task 2024-04-14 11:21:59 +02:00
144a6e4140 fix(kanban): do not add bottom spacing to view 2024-04-14 11:15:53 +02:00
a7aa74227a fix(kanban): do not focus kanban board 2024-04-14 11:12:26 +02:00
422e4371f8 fix(project): add more spacing between filter button and view switcher on mobile 2024-04-14 00:06:26 +02:00
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