Commit graph

13 commits

Author SHA1 Message Date
Philip Molares
994b159618 fix(frontend): build messages
The urls are not https://example.org since https://github.com/hedgedoc/hedgedoc/pull/5598 and this message should have been changed then as well.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2024-09-01 17:57:45 +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
Tilman Vatteroth
56643ffd85 feat: merge login, register and intro page
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-24 22:12:39 +02:00
Tilman Vatteroth
8602645bea feat: migrate frontend app to nextjs app router
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-09-03 22:00:34 +02:00
Tilman Vatteroth
4cb332622a feat(frontend): add build script
The build script prepares the package for a production build, builds the app, places every all needed files in a dist directory and cleans it.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-27 12:42:40 +02:00
Erik Michelson
58c2cfe727 enhancement: add profiling flag to analyze run
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-06-27 11:04:27 +02:00
Tilman Vatteroth
33629b945d fix(frontend): use standalone output only in production build
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-05 15:07:42 +02:00
David Mehren
fe3ed17610 build: enable frontend source maps
Currently, frontend stack traces are unhelpful in production builds, because they only include minified code.

By enabling source maps for production builds, we enhance debuggability and error-reports.

Ref: https://nextjs.org/docs/advanced-features/source-maps
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-19 20:44:57 +01:00
Philip Molares
1c16e25e14 feat(frontend): replace forkawesome with bootstrap icons
These icon replace fork awesome. A linter informs the user about the deprecation.

See https://github.com/hedgedoc/hedgedoc/issues/2929

Co-authored-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-24 14:31:17 +01:00
Tilman Vatteroth
5a36b13091 fix(frontend): migrate to new wasm loading method
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-28 19:20:44 +01:00
Tilman Vatteroth
f89b28969f fix: Migrate code to next 13 breaking changes
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-09 20:17:09 +01:00
Tilman Vatteroth
2241a3faea feat(package): adjust packages to workspaces
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-04 20:59:46 +01:00
Tilman Vatteroth
762a0a850e
fix: Move content into to frontend directory
Doing this BEFORE the merge prevents a lot of merge conflicts.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-20 19:48:40 +01:00
Renamed from next.config.js (Browse further)