Commit graph

1140 commits

Author SHA1 Message Date
Erik Michelson
909f45bc3f enhancement(notifications): remove from state after dismissal
This commit changes the implementation from an array to a Map,
as that makes accessing a notification for dismissal or removal
more performant.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-15 21:08:26 +02:00
renovate[bot]
a218c9fc50 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-14 02:34:14 +02:00
renovate[bot]
93f266e450 fix(deps): update dependency react-i18next to v13.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-14 02:28:13 +02:00
Erik Michelson
f6780c44c4 feat(sidebar): distinguish guest users visually
This change adds a little guest icon next to the active indicator
showing that a user is not logged-in.
Furthermore, the active indicator now has a tooltip explaining it.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-14 02:00:59 +02:00
Erik Michelson
685488c7a2 enhancement(autocomplete): add generic code suggestion entry
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:12:53 +02:00
Erik Michelson
5ccc9059f0 tests(permissions): add cypress tests for permission alert icon
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:07:44 +02:00
Erik Michelson
6d69b294cb refactor(permissions): retrieve special permissions from hook
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:07:44 +02:00
Erik Michelson
dfcf662a85 enhancement(permissions): show alert when permission is overridden by another
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:07:44 +02:00
renovate[bot]
12c24956d2 fix(deps): update dependency vega-lite to v5.16.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 10:52:11 +02:00
renovate[bot]
750cfbe0f3 chore(deps): update dependency eslint-plugin-testing-library to v6.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 10:51:39 +02:00
Erik Michelson
b35bc739e5 chore(deps): use the same ts-node version in frontend/backend
This changes the specified version from main branch to a specific commit.
Hopefully this changes will result in (better) caching of the ts-node
package, especially in the GitHub CI. By setting a specific commit,
the package is also pinned like all other dependencies and therefore
ensures a more predictionable behaviour.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 10:49:46 +02:00
renovate[bot]
f86aea2c8f fix(deps): update dependency @uiw/react-codemirror to v4.21.20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 08:15:36 +00:00
renovate[bot]
a39297a3c4 chore(deps): update dependency @testing-library/jest-dom to v6.1.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 06:44:26 +00:00
renovate[bot]
687eeb9afd fix(deps): update dependency sass to v1.69.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 04:19:29 +00:00
renovate[bot]
a397373bce chore(deps): update dependency cypress to v13.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 00:17:20 +00:00
renovate[bot]
9be9c4ed79 chore(deps): update dependency eslint-plugin-prettier to v5.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 04:18:31 +00:00
renovate[bot]
456ad384a3 fix(deps): update dependency sass to v1.69.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 22:06:58 +00:00
renovate[bot]
fbadd55ec4 fix(deps): update dependency sass to v1.69.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 01:10:36 +00:00
renovate[bot]
8bc3dab517 chore(deps): update typescript-eslint monorepo to v6.7.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-09 19:07:10 +00:00
Tilman Vatteroth
ce286cc092 fix: catch access forbidden errors for local storage access
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-09 09:11:11 +02:00
Tilman Vatteroth
be3ca5cdeb fix: trigger iframe load fallback outside of test mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-09 09:11:11 +02:00
renovate[bot]
0d9131cb68 fix(deps): update dependency highlight.js to v11.9.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-09 06:52:30 +02:00
renovate[bot]
b7f455e599 fix(deps): update dependency emoji-picker-element to v1.18.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-08 22:49:30 +00:00
David Mehren
3d03835af9 chore: set version in all packae.jsons
Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-08 22:01:47 +02:00
Tilman Vatteroth
a2b291294e fix: usage of internal api
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 21:59:39 +02:00
Tilman Vatteroth
f43c9fd2b1 feat: add internal api url
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 21:12:51 +02:00
Philip Molares
db2d8614a6 fix: add correct link to ForkAwesomeHtmlTagAppExtension
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-08 21:12:15 +02:00
David Mehren
c8c20da469 fic(ci): add git to build containers
Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-08 19:10:41 +02:00
Tilman Vatteroth
ff7a7a220d fix: change icon and name of last saved sidebar entry
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 18:08:24 +02:00
Yannick Bungers
8879b51344 Adding issues for TODOs
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
040d473b62 Remove fixed TODOs
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
04d16a1141 Update issue link
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Tilman Vatteroth
386cf469fd fix(editor): fix positions of tag migration lint
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 15:07:19 +02:00
Erik Michelson
18e1ab340c fix(history): history toolbar wraps instead of making buttons ugly
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Erik Michelson
830f6f819b fix(cheatsheet): use correct image URL
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Erik Michelson
75838ef426 enhancement(appbar): remove unnecessary history button from app bar
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Erik Michelson
7758cd588c fix(editor): remove toolbar separators and fix margin
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Erik Michelson
e53ad15bfe enhancement(sidebar): hide delete note button when not being the owner
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Tilman Vatteroth
f786fe538b fix(editor): fix emoji picker data path
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 13:47:00 +02:00
Tilman Vatteroth
72a211b58f Revert "fix(codemirror): remove defect language highlighting"
This reverts commit 6e36ab56b7.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 13:33:14 +02:00
Erik Michelson
6e36ab56b7 fix(codemirror): remove defect language highlighting
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 12:58:59 +02:00
Philip Molares
9a81e3ae18 refactor: remove name tooltip from user avatar
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-08 12:58:46 +02:00
renovate[bot]
c8d654e700 fix(deps): update dependency emoji-picker-element-data to v1.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-08 09:24:13 +02:00
Erik Michelson
792f4b7dbc fix: show guest access button only with relevant config being set
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 18:25:05 +02:00
Erik Michelson
cd68794157 fix: redirect to history page after register to avoid problems
With the previous redirect to the root page, there were some problems when having no other routes in the route history.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 18:04:24 +02:00
Philip Molares
f47f6c3658 fix: clicking the logo let's the user get back to the note
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 18:00:20 +02:00
Philip Molares
2693ebbb82 feat(editor): show notification if user is not allowed to edit note
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 17:49:55 +02:00
renovate[bot]
7ae167c232 fix(deps): update dependency mermaid to v10.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:25:46 +02:00
renovate[bot]
fc763d74c4 fix(deps): update dependency vega-embed to v6.23.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:25:38 +02:00
renovate[bot]
babc53e166 fix(deps): update dependency sass to v1.69.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:24:50 +02:00