From 7c5bdf77576760c99c6992038ba6c22f1306af77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Gjesdal?= Date: Tue, 22 Sep 2026 22:46:13 +0200 Subject: [PATCH] Fuseki UI: separate source maps, import only the Bootstrap parts in use * Move source maps out of the bundles (sourcemap 'inline' -> true); browsers only fetch the .map files when devtools is open * Only import the Bootstrap components in use (collapse in main, popover in the dataset info and manage views) * Remove Bootstrap's prebuilt CSS, which was included twice * Remove data-bs-* attributes that no Bootstrap plugin handles * Add an e2e test for opening and closing the collapsed navbar menu * Increase chunkSizeWarningLimit for the geo module (target/webapp/static/geo-BWNODv4T.js 154.80 kB, if split to its own) --- .../src/components/ServerStatus.vue | 2 +- .../jena-fuseki-ui/src/components/Toast.vue | 1 - jena-fuseki2/jena-fuseki-ui/src/main.js | 2 +- .../jena-fuseki-ui/src/styles/index.scss | 1 - .../jena-fuseki-ui/src/views/dataset/Info.vue | 2 +- .../src/views/manage/ExistingDatasets.vue | 2 +- .../jena-fuseki-ui/tests/e2e/specs/menu.cy.js | 58 +++++++++++++++++++ jena-fuseki2/jena-fuseki-ui/vite.config.js | 6 +- 8 files changed, 65 insertions(+), 9 deletions(-) create mode 100644 jena-fuseki2/jena-fuseki-ui/tests/e2e/specs/menu.cy.js diff --git a/jena-fuseki2/jena-fuseki-ui/src/components/ServerStatus.vue b/jena-fuseki2/jena-fuseki-ui/src/components/ServerStatus.vue index 990b34bf6b7..25b9021f586 100644 --- a/jena-fuseki2/jena-fuseki-ui/src/components/ServerStatus.vue +++ b/jena-fuseki2/jena-fuseki-ui/src/components/ServerStatus.vue @@ -18,7 +18,7 @@