Files
cc-backend/web/frontend
moebiusbandandClaude Opus 5 947b784ba8 fix(frontend): show PlotRenderOptions only in user settings
PlotRenderOptions was rendered both in AdminSettings.svelte and in
UserSettings.svelte. Since Config.root.svelte always renders UserSettings,
including for admins, admins saw the identical plot-render cards twice on
/config.

The admin copy was also misleading: every form in the component posts to
/frontend/configuration/, whose handler (RestAPI.updateConfiguration) always
writes per-user config via UserCfgRepo.UpdateConfig — never a global default.
On top of that, the admin-side handleSettingSubmit lacked the colorblind-mode
special case that UserSettings uses to keep PlotColorScheme in sync, so
toggling the option there did not refresh the palette preview.

Removes the component from AdminSettings.svelte along with the message,
displayMessage, handleSettingSubmit and popMessage members that existed only
to feed it. The remaining admin children manage their own messages.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-27 09:05:00 +02:00
..
2026-05-29 16:44:05 +02:00
2026-03-25 07:18:27 +01:00
2026-02-10 09:17:34 +01:00

cc-frontend

Build

A frontend for ClusterCockpit and cc-backend. Backend specific configuration can be done using the constants defined in the intro section in ./rollup.config.mjs.

Builds on:

Get started

Install the dependencies...

npm install

...then build using Rollup:

npm run build