1
0
Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
99c5524115 fix(editor): don't allow image upload when it's not possible to do it 2024-03-13 16:59:57 +01:00
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
4e6e0608c7 fix(filters): lint 2024-03-09 20:08:17 +01:00
8fa2f6686a feat(filter): add actual label search when autocompleting 2024-03-09 19:07:30 +01:00
9ade917ac4 feat(filter): make the autocomplete look pretty 2024-03-09 19:07:30 +01:00
7fc1f27ef5 feat(filter): add autocompletion poc for labels 2024-03-09 19:07:30 +01:00
2daecbc2bc feat(filters): add basic autocomplete component 2024-03-09 19:07:29 +01:00
c22daab28c feat(filters): make date values in filter query editable 2024-03-09 19:06:52 +01:00
0d12d72b73 chore(filters): add histoire story file 2024-03-09 19:06:52 +01:00
ff1730e323 fix: lint 2024-02-17 23:25:09 +01:00
f120d72211 fix(editor): revert task list dependence on ids
This partially reverts 3969f6ae66. 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
f4efdaa5de fix(password): don't validate password min length on login page
This would cause the login to fail when the actual password was shorter than 8 characters.
2024-02-17 21:07:35 +01:00
32edef2d38 fix(editor): set default id of tasklist items
This fixes a bug where all tasklist items would have the same id which would check all of them when checking one of them.
2024-02-17 11:38:20 +01:00
3969f6ae66 fix(editor): ensure task list clicks are only fired once
Before this fix, clicking on a task list item with the same name as another one, both would get marked as done. This was due to the mechanism which walks the dom tree to look for the node to update used its content for comparison. To prevent this, this fix first added unique ids to all task list items and then compared the nodes based on their id instead of the content.

Resolves https://kolaente.dev/vikunja/vikunja/issues/2091
2024-02-14 14:13:03 +01:00
390f71b0c6 feat(registration): improve username and password validation
Username and password are validated in the api for length and whitespaces. Previously, the api would tell the user "hey you got it wrong" but the error was not reflected properly in the UI. This change implements a client-side validation which mirrors the one from the api, allowing instant validation and better error UX.
2024-02-12 17:32:24 +01:00
fc4676315d chore: move frontend files 2024-02-07 14:56:56 +01:00