1
0

10 Commits

Author SHA1 Message Date
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
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
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
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
kolaente
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
kolaente
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
kolaente
fc4676315d
chore: move frontend files 2024-02-07 14:56:56 +01:00