1
0
Commit Graph

153 Commits

Author SHA1 Message Date
81bdad4beb fix: ignore casing to check if file extensions can be previewed (#2341)
Now .PNG is supported as well as .PnG and so on

Co-authored-by: Elscrux <nickposer2102@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2341
Co-authored-by: Elscrux <elscrux@gmail.com>
Co-committed-by: Elscrux <elscrux@gmail.com>
2024-06-02 19:23:52 +00:00
8b2c3075c3 fix(logo): use correct month for pride logo change 2024-06-01 23:20:02 +02:00
34d69fa588 feat(task): show attachment preview for image attachments (#2266)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2266
Reviewed-by: konrad <k@knt.li>
2024-05-25 12:11:03 +00:00
aba045ff24 Set attachment width to 100% 2024-05-25 13:45:26 +02:00
4eb0df256c Improve preview spacing 2024-05-25 12:06:23 +02:00
8b066bf0e9 Add cover tooltips 2024-05-25 12:05:37 +02:00
c2fc444bc0 Use file fallback icon 2024-05-25 12:05:37 +02:00
680cb72f29 Make fallback icon grey 2024-05-25 12:05:37 +02:00
00bfa2c552 Rename discardShortcutEnabled to enableDiscardShortcut 2024-05-24 15:23:15 +02:00
ebb093797c Rename discardShortcutEnabled to enableDiscardShortcut 2024-05-24 15:23:15 +02:00
c13a991c16 Merge import 2024-05-24 15:23:15 +02:00
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