- How many plots to show next to each other on pages such as
- /monitoring/job/, /monitoring/system/...
+
+
+ {#if config?.plot_general_colorblindMode}
+
+ {:else}
+
+ {/if}
+
-
-
-
-
-
-
-
+
+
\ No newline at end of file
diff --git a/web/frontend/src/config/user/UserOptions.svelte b/web/frontend/src/config/user/UserOptions.svelte
index 7f9e5e4..49f3c17 100644
--- a/web/frontend/src/config/user/UserOptions.svelte
+++ b/web/frontend/src/config/user/UserOptions.svelte
@@ -1,82 +1,80 @@
- Events:
- - `update-config, {selector: String, target: String}`: Trigger upstream update of the config option
- -->
-
@@ -133,41 +131,41 @@
{#if isApi}
-
-
- Generate JWT
- {#if jwt}
-
-
- Your token is displayed on the right. Press this button to copy it to the clipboard.
-
- {#if displayCheck}
-
- Copied!
-
- {/if}
- {:else}
-
-
- Generate a JSON Web Token for use with the ClusterCockpit REST-API endpoints.
-
- {/if}
-
-
+
+
+ Generate JWT
+ {#if jwt}
+
+
+ Your token is displayed on the right. Press this button to copy it to the clipboard.
+
+ {#if displayCheck}
+
+ Copied!
+
+ {/if}
+ {:else}
+
+
+ Generate a JSON Web Token for use with the ClusterCockpit REST-API endpoints.
+
+ {/if}
+
+
-
-
- Display JWT
-
-
-
+
+
+ Display JWT
+
+
+
{/if}
\ No newline at end of file
diff --git a/web/frontend/src/generic/Filters.svelte b/web/frontend/src/generic/Filters.svelte
index c7b49fd..44fc408 100644
--- a/web/frontend/src/generic/Filters.svelte
+++ b/web/frontend/src/generic/Filters.svelte
@@ -1,19 +1,20 @@
+ Properties:
+ - `menuText String?`: Optional text to show in the dropdown menu [Default: null]
+ - `filterPresets Object?`: Optional predefined filter values [Default: {}]
+ - `disableClusterSelection Bool?`: Is the selection disabled [Default: false]
+ - `startTimeQuickSelect Bool?`: Render startTime quick selections [Default: false]
+ - `matchedJobs Number?`: Number of jobs matching the filter [Default: -2]
+ - `showFilter Func`: If the filter component should be rendered in addition to total count info [Default: true]
+ - `applyFilters Func`: The callback function to apply current filter selection
+
+ Functions:
+ - `void updateFilters (additionalFilters: Object, force: Bool)`:
+ Handles new filters from nested components, triggers upstream update event.
+ 'additionalFilters' usually added to existing selection, but can be forced to overwrite instead.
+-->
(isOpen = !isOpen)}>
diff --git a/web/frontend/src/generic/filters/Duration.svelte b/web/frontend/src/generic/filters/Duration.svelte
index 75f2e80..3056d9f 100644
--- a/web/frontend/src/generic/filters/Duration.svelte
+++ b/web/frontend/src/generic/filters/Duration.svelte
@@ -1,16 +1,12 @@
+ Properties:
+ - `isOpen Bool?`: Is this filter component opened [Bindable, Default: false]
+ - `presetDuration Object?`: Object containing the latest duration filter parameters
+ - Default: { lessThan: null, moreThan: null, from: null, to: null }
+ - `setFilter Func`: The callback function to apply current filter selection
+-->
(isOpen = !isOpen)}>
diff --git a/web/frontend/src/generic/filters/InfoBox.svelte b/web/frontend/src/generic/filters/InfoBox.svelte
index ea9eb3f..0c24998 100644
--- a/web/frontend/src/generic/filters/InfoBox.svelte
+++ b/web/frontend/src/generic/filters/InfoBox.svelte
@@ -1,17 +1,23 @@
+ Properties:
+ - `icon String`: Sveltestrap icon name
+ - `modified Bool?`: Optional if filter is modified
+ - `onclick Func`: Opens Modal on click
+ - `children Func`: Internal prop, Svelte 5 version of
+-->