BaldissaraMatheus / Tasks.md

A self-hosted, Markdown file based task management board
https://hub.docker.com/r/baldissaramatheus/tasks.md
MIT License
737 stars 30 forks source link

Card Viewing #30

Closed kernelkaribou closed 1 year ago

kernelkaribou commented 1 year ago

Suggestion

Currently cards when clicked on will automatically open to editor mode. This requires formatting like links and other markdown styles generally useless unless you select the preview icon.

One idea would be to cards will automatically open in "preview"/read only mode with a simple icon to change to edit mode. That way any additional views will be reader formatting and remove the various shortcuts for a clean look (similar to writing this right now in Github)

On Click example:

image

After entering edit image

If there is no content it could be smart enough to enter edit mode automatically.

BaldissaraMatheus commented 1 year ago

I could do that but I think it would become annoying having to click to enable editor mode to be able to change the text, and I think opening the card in a different mode when the content has changed could feel a bit inconsistent. I really wanted the links to open while in editor mode, but the current editor (SimpleMDE) is pretty limiting.

I'm thinking about replacing the SimpleMDE with a WYSIWYG editor, so it's always legible while fully interactable. I've researched a bit for options and the best ones I found so far are slate and tiptap, but I still plan to search for more options and experiment with them

BaldissaraMatheus commented 1 year ago

36 fix this issue, it includes a new editor that contains clickable links in any mode. I'll close this thread as soon as I publish the release with this change (which hopefully will be in the next few days)

BaldissaraMatheus commented 1 year ago

I'll close the issue now that the release was published