Commit graph

1173 commits

Author SHA1 Message Date
renovate[bot]
daecf20dd6 chore(deps): update yarn to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 11:26:16 +02:00
Philip Molares
723f3f611c feat(realtime): add disconnect reason
The frontend now doesn't try to reconnect, when the disconnection happened because of a lack of permissions

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-23 22:39:21 +02:00
Erik Michelson
f6cfe74d8c fix(frontend): error in review viewer
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-23 22:22:31 +02:00
Tilman Vatteroth
6760db9e18 fix(frontend): use swc minify to prevent terser error
Terser can't handle the static blocks our code produce. SWC can handle this, but causes other problems caused by the global-error files. It's not a nice solution but the benefit is bigger than the risk.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-23 22:01:18 +02:00
renovate[bot]
a386faa2d8 chore(deps): update nextjs monorepo to v13.5.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 22:01:18 +02:00
Tilman Vatteroth
fcd31931f5 fix(frontend): remove light text class from error page
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-23 21:39:40 +02:00
renovate[bot]
c0f8f43859 chore(deps): update dependency @types/markdown-it to v13.0.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 17:43:27 +00:00
Philip Molares
7236a08cfe fix(frontend): build script error
The extra `api` at the end did lead mv to try to copy the api directory in directory named api. This is not intended behaviour and fails if there is no api directory already.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-22 20:57:37 +02:00
renovate[bot]
e117631f7d fix(deps): update dependency react-bootstrap-typeahead to v6.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 20:44:04 +02:00
renovate[bot]
c8fc28f37c chore(deps): update dependency eslint-plugin-jest to v27.4.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-21 01:24:08 +00:00
renovate[bot]
4640c07e13 fix(deps): update dependency react-bootstrap to v2.9.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-21 01:22:48 +00:00
renovate[bot]
7e87948886 chore(deps): update dependency @types/react to v18.2.31
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 16:08:13 +00:00
renovate[bot]
dbae772c72 fix(deps): update dependency mermaid to v10.5.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 14:00:14 +00:00
Tilman Vatteroth
61362f9175 fix(frontend): migrate type changes
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-20 13:35:54 +00:00
renovate[bot]
2f5dadb981 chore(deps): update dependency @types/react to v18.2.30
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 13:35:54 +00:00
renovate[bot]
114172c217 fix(deps): update dependency tlds to v1.243.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 08:45:59 +02:00
renovate[bot]
e1a6c84efd chore(deps): update test packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:50:07 +00:00
renovate[bot]
1aa85af34e fix(deps): update dependency react-i18next to v13.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:48:37 +00:00
renovate[bot]
c3030691cb chore(deps): update dependency eslint-config-next to v13.5.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:42:10 +00:00
Tilman Vatteroth
386d5700cf fix(frontend): fix revision-viewer type
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-19 20:26:14 +00:00
Tilman Vatteroth
982783c8cf fix(common): fix fetch mock in test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-19 20:26:14 +00:00
renovate[bot]
403593c9d1 fix(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 20:26:14 +00:00
renovate[bot]
fd213d8344 chore(deps): update dependency cypress to v13.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 17:58:12 +00:00
renovate[bot]
1d1e48bbc9 chore(deps): update dependency @codemirror/state to v6.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 17:57:37 +00:00
renovate[bot]
8b5713b9f4 chore(deps): update typescript-eslint monorepo to v6.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 19:35:02 +02:00
renovate[bot]
3525f72162 chore(deps): update ts-node digest to c06cbe7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 00:18:57 +00:00
renovate[bot]
fea54603fd chore(deps): update node.js to 002b6ee
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 23:18:33 +00:00
renovate[bot]
7877c5216a fix(deps): update dependency sass to v1.69.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 20:32:42 +00:00
Erik Michelson
187e2ec238 fix(i18n): wrong translation key for max length
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-18 22:13:45 +02:00
renovate[bot]
f5617ca21d chore(deps): update dependency @types/d3-graphviz to v2.6.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 02:12:12 +00:00
renovate[bot]
16e4202916 chore(deps): update node.js to a369136
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 23:00:32 +00:00
renovate[bot]
913cfce2e8 chore(deps): update node.js to d962f13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 20:28:22 +00:00
renovate[bot]
4536cb09eb chore(deps): update dependency eslint-config-next to v13.5.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 15:54:13 +00:00
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