1
0

55 Commits

Author SHA1 Message Date
Dominik Pschenitschni
b4e9d9437e feat: use withDefaults for FancyCheckbox 2024-07-16 22:07:18 +00:00
Dominik Pschenitschni
eb07be1a62 feat: remove props destructuring from ColorPicker 2024-07-16 22:04:26 +00:00
Dominik Pschenitschni
df6a9b67fd feat: use withDefaults for DatepickerInline 2024-07-16 21:53:15 +00:00
Dominik Pschenitschni
78811d916a feat: use withDefaults for Datepicker 2024-07-16 21:38:07 +00:00
Dominik Pschenitschni
d6c3b5a9a1 feat: use withDefaults for Reactions 2024-07-16 21:34:51 +00:00
Dominik Pschenitschni
fd12c8705e feat: use withDefaults for SelectProject 2024-07-16 21:30:52 +00:00
kolaente
323ecdaab6
fix(kanban): move repeating task back to old bucket when moved to the done bucket 2024-07-12 13:44:45 +02:00
Dominik Pschenitschni
0a81855bc1 fix: muliselect optional props
also adds name and id props
2024-07-08 14:04:03 +00:00
Dominik Pschenitschni
413d1f9ad7 feat: withDefaults for Multiselect 2024-07-07 15:02:30 +00:00
Dominik Pschenitschni
b500981434 feat: use withDefaults for SelectUser 2024-07-05 12:01:53 +00:00
Dominik Pschenitschni
ed0ef385e9 fix: add missing disabled prop 2024-07-04 09:00:35 +00:00
Dominik Pschenitschni
a721d9286b fix: disable button if loading 2024-07-03 16:05:05 +00:00
Dominik Pschenitschni
bc2baa3bbd feat(Multiselect): hide multiselect during loading 2024-07-03 15:34:19 +00:00
Dominik Pschenitschni
516f507ac4 feat: remove props destructuring EditorToolbar 2024-06-28 21:20:44 +00:00
Dominik Pschenitschni
b224b331f5 fix: remove props prefix from template 2024-06-25 13:57:52 +00:00
Dominik Pschenitschni
9f375ecd7d
fix: import type in EditorToolbar 2024-06-25 15:18:27 +02:00
Dominik Pschenitschni
ba5240f6ae feat(XButton): merge script blocks 2024-06-20 13:03:41 +00:00
Dominik Pschenitschni
f36115871c feat: camelcase global components 2024-06-19 14:02:14 +00:00
Dominik Pschenitschni
b98280c954
feat(components): align component name casing Button 2024-06-17 13:41:35 +02:00
Dominik Pschenitschni
541f608d3c
feat(components): align component name casing fancycheckbox 2024-06-17 13:09:34 +02:00
Dominik Pschenitschni
f8f05acc2d feat(components): align component name casing password 2024-06-17 09:35:05 +00:00
Dominik Pschenitschni
1ed99d9ebc feat(components): align component name casing multiselect 2024-06-17 09:31:43 +00:00
Dominik Pschenitschni
e59beb3732 feat(components): align component name casing datemath (#2405)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2405
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2024-06-17 09:27:02 +00:00
Dominik Pschenitschni
2004d129c3 feat: reduce eslint warnings (#2396)
Also added `Destructuring the 'props' will cause the value to lose reactivity` as a warning to prepare for the removal of the propsDestructure option in vite.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2396
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-committed-by: Dominik Pschenitschni <mail@celement.de>
2024-06-17 09:18:02 +00:00
Elscrux
ebb093797c Rename discardShortcutEnabled to enableDiscardShortcut 2024-05-24 15:23:15 +02:00
Elscrux
c13a991c16 Merge import 2024-05-24 15:23:15 +02:00
Elscrux
ecd44059e4 Use if to conditionally add escape hotkey 2024-05-24 15:23:15 +02:00
Elscrux
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
Elscrux
6ad8ce8f44 Cancel current edits and exit edit mode with escape 2024-05-24 15:23:15 +02:00
Elscrux
9de48aa6b2 Enter edit mode when double clicking 2024-05-24 15:23:15 +02:00
kolaente
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
kolaente
7d755fcb89
fix: lint 2024-04-13 17:58:53 +02:00
kolaente
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
Elscrux
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
kolaente
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
kolaente
6f366d4907
feat(views): lint 2024-04-02 14:04:17 +02:00
kolaente
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
kolaente
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
kolaente
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
kolaente
99c5524115
fix(editor): don't allow image upload when it's not possible to do it 2024-03-13 16:59:57 +01:00
kolaente
a5c51d4b1e feat: emoji reactions for tasks and comments (#2196)
This PR adds reactions for tasks and comments, similar to what you can do on Gitea, GitHub, Slack and plenty of other tools.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2196
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
2024-03-12 19:25:58 +00:00
kolaente
4e6e0608c7
fix(filters): lint 2024-03-09 20:08:17 +01:00
kolaente
8fa2f6686a
feat(filter): add actual label search when autocompleting 2024-03-09 19:07:30 +01:00
kolaente
9ade917ac4
feat(filter): make the autocomplete look pretty 2024-03-09 19:07:30 +01:00
kolaente
7fc1f27ef5
feat(filter): add autocompletion poc for labels 2024-03-09 19:07:30 +01:00
kolaente
2daecbc2bc
feat(filters): add basic autocomplete component 2024-03-09 19:07:29 +01:00
kolaente
c22daab28c
feat(filters): make date values in filter query editable 2024-03-09 19:06:52 +01:00
kolaente
0d12d72b73
chore(filters): add histoire story file 2024-03-09 19:06:52 +01:00
kolaente
ff1730e323
fix: lint 2024-02-17 23:25:09 +01:00
kolaente
f120d72211
fix(editor): revert task list dependence on ids
This partially reverts 3969f6ae663ef30896454eb228dc478cf9cf14a3. Adding ids to task list items is not as simple and actually made it worse in some cases. Hence we stick to comparing the content of nodes for now, until this is properly fixed in tiptap.

Related https://kolaente.dev/vikunja/vikunja/issues/2091#issuecomment-60063
2024-02-17 23:13:51 +01:00