Commit graph

6 commits

Author SHA1 Message Date
042b6fce48
feat: replace Monaco by Ace
All checks were successful
/ pre-commit (push) Successful in 1m17s
- Remove the Monaco Editor because it was to heavy and hard to integrate
- Use Ace instead
- Use the lowercase identifier for languages (ex: "Text" -> "text")
- Select automatically the default language in the drop down to create a note
  (like the expiration)
- Add `ace_directory` to serve assets from a local folder instead of a CDN

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-09-21 15:03:39 +02:00
e03aa6b87a feat: add possibility to hide upload button (#25)
All checks were successful
/ pre-commit (push) Successful in 1m4s
I was asked to add the possibility to hide the upload button to avoid users confuse this tool for a file sharing app.
This is only on the front.

No breaking changes, by default the button is displayed.

Co-authored-by: Thibault Piron <thibault.a.piron@gmail.com>
Reviewed-on: #25
Reviewed-by: Julien Riou <jriou@monitoring@riou.xyz>
Co-authored-by: tapiron <tapiron@monitoring@riou.xyz>
Co-committed-by: tapiron <tapiron@monitoring@riou.xyz>
2025-09-15 09:20:50 +02:00
33628331f4 feat: set default expiration in select (#28)
All checks were successful
/ pre-commit (push) Successful in 1m10s
No default value in select could be interpreted as ever lasting note.
Default value in the select makes that clearer.

Co-authored-by: Thibault Piron <thibault.a.piron@gmail.com>
Reviewed-on: #28
Reviewed-by: Julien Riou <jriou@monitoring@riou.xyz>
Co-authored-by: tapiron <tapiron@monitoring@riou.xyz>
Co-committed-by: tapiron <tapiron@monitoring@riou.xyz>
2025-09-15 06:51:16 +02:00
c54f32495b
feat: Add text editor
All checks were successful
/ pre-commit (push) Successful in 1m45s
Use Monaco Editor to create notes. Support syntax highlighting. Store the
language with the note in the database to later support syntax highlighting in
a note web view.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-27 22:42:12 +02:00
beabdd5749
feat: Add Dark mode
Implements #2.

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-24 12:45:50 +02:00
ef9aca1f3b
Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-21 16:22:03 +02:00