chore(ui): change /devtest to /-/demo (#11019)

It has always been largely used for showcasing UI elements but that name didn't work too well for it.

Testing:
Some of existing tests depend on these pages, making it redundant to create extra tests.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11019
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
0ko 2026-01-26 13:12:25 +01:00
parent 89996009b7
commit 3cafb7fa6c
28 changed files with 71 additions and 73 deletions

View file

@ -132,9 +132,9 @@ export default {
fileURLToPath(new URL('web_src/js/features/eventsource.sharedworker.js', import.meta.url)),
],
...(!isProduction && {
devtest: [
fileURLToPath(new URL('web_src/js/standalone/devtest.js', import.meta.url)),
fileURLToPath(new URL('web_src/css/standalone/devtest.css', import.meta.url)),
demo: [
fileURLToPath(new URL('web_src/js/standalone/demo.js', import.meta.url)),
fileURLToPath(new URL('web_src/css/standalone/demo.css', import.meta.url)),
],
}),
...themes,