- {#if showCloudCardHeader}
-
-
-
BetterSEQTA Cloud
-
Account & sync
-
-
-
-
+
+ {#if showCloudCardHeader}
+
+
+
BetterSEQTA Cloud
+
Account & sync
- {/if}
- {#if cloudState.isLoggedIn}
-
- {#if showCloudCardHeader}
-
- showDisclaimer(
- onConfirm,
- onCancel,
- "Restore from cloud?",
- "This will replace your local settings with the cloud backup. Continue?",
- )}
- />
- {/if}
- {#if showFounderBadgeSetting}
- (settingsState.showTitlebarFounderBadge = isOn),
- }}
- />
- {/if}
+
+
- {:else if showFounderBadgeSetting}
-
- Sign in to Cloud first.
-
- {/if}
-
-
+
+ {/if}
+ {#if cloudState.isLoggedIn}
+
+ {#if showCloudCardHeader}
+
+ showDisclaimer(
+ onConfirm,
+ onCancel,
+ "Restore from cloud?",
+ "This will replace your local settings with the cloud backup. Continue?",
+ )}
+ />
+ {/if}
+ {#if showFounderBadgeSetting}
+ (settingsState.showTitlebarFounderBadge = isOn),
+ }}
+ />
+ {/if}
+
+ {:else if showFounderBadgeSetting}
+
+ Sign in to Cloud first.
+
+ {/if}
+
{/if}
diff --git a/src/interface/pages/settings/sections/appearance.svelte b/src/interface/pages/settings/sections/appearance.svelte
index 051933c8..e33cd8f5 100644
--- a/src/interface/pages/settings/sections/appearance.svelte
+++ b/src/interface/pages/settings/sections/appearance.svelte
@@ -1,4 +1,5 @@
-{#each [
- {
- title: "Custom Theme Colour",
- description: "Customise the overall theme colour of SEQTA Learn",
- id: 4,
- Component: PickerSwatch,
- props: { onClick: showColourPicker },
- },
- {
- title: "Interface Font",
- description: "Choose the typeface used across SEQTA Learn",
- id: 16,
- Component: Button,
- props: { onClick: showFontPicker, text: "Change" },
- },
-] as option (option.id)}
-
-{/each}
+{#if matchesSearch(searchQuery, "Custom Theme Colour", "Interface Font", "Customise the overall theme colour of SEQTA Learn", "Choose the typeface used across SEQTA Learn")}
+
+ {#each [
+ {
+ title: "Custom Theme Colour",
+ description: "Customise the overall theme colour of SEQTA Learn",
+ id: 4,
+ Component: PickerSwatch,
+ props: { onClick: showColourPicker },
+ },
+ {
+ title: "Interface Font",
+ description: "Choose the typeface used across SEQTA Learn",
+ id: 16,
+ Component: Button,
+ props: { onClick: showFontPicker, text: "Change" },
+ },
+ ] as option (option.id)}
+
+ {/each}
+
+{/if}
{#if !isEngage && matchesSearch(searchQuery, "Sidebar Style", "Item Size", "Corner Radius", "Active Indicator", "Sidebar Position", "Sidebar Width", "Transparency Effects", "Blur Strength")}
@@ -45,61 +50,57 @@
{/if}
{#if matchesSearch(searchQuery, "Adaptive Theme Colour", "Soft Gradient", "Smooth colour transition")}
-
-
-
+
+
+
+
Adaptive Theme Colour
+
+ Change the theme colour based on the current class (e.g. when viewing a course or
+ assessments page)
+
+
+
+ (settingsState.adaptiveThemeColour = isOn)}
+ />
+
+
+ {#if $settingsState.adaptiveThemeColour}
+
-
Adaptive Theme Colour
+
Soft Gradient
- Change the theme colour based on the current class (e.g. when viewing a course or
- assessments page)
+ Use a soft gradient instead of a solid colour when viewing a class
(settingsState.adaptiveThemeColour = isOn)}
+ state={$settingsState.adaptiveThemeGradient ?? false}
+ onChange={(isOn: boolean) => (settingsState.adaptiveThemeGradient = isOn)}
/>
- {#if $settingsState.adaptiveThemeColour}
-
-
-
Soft Gradient
-
- Use a soft gradient instead of a solid colour when viewing a class
-
-
-
- (settingsState.adaptiveThemeGradient = isOn)}
- />
-
+
+
+
Smooth colour transition
+
+ Ease between class/subject colours when navigating instead of switching instantly
+
-
-
-
Smooth colour transition
-
- Ease between class/subject colours when navigating instead of switching instantly
-
-
-
- (settingsState.adaptiveThemeColourTransition = isOn)}
- />
-
+
+ (settingsState.adaptiveThemeColourTransition = isOn)}
+ />
- {/if}
-
-
+
+ {/if}
+
{/if}
diff --git a/src/interface/pages/settings/sections/generalOptions.svelte b/src/interface/pages/settings/sections/generalOptions.svelte
index 34421170..07595b7e 100644
--- a/src/interface/pages/settings/sections/generalOptions.svelte
+++ b/src/interface/pages/settings/sections/generalOptions.svelte
@@ -1,4 +1,5 @@
-{#each generalOptions as option (option.id)}
-
- {#if option.id === 0 && $settingsState.performanceMode && matchesSearch(searchQuery, "Performance Mode", "Global Search", "Assessment Averages", "enable anyway", "paused")}
-
-
-
- Paused for performance — enable anyway:
-
-
- {#each PERFORMANCE_HEAVY_PLUGINS as heavy (heavy.id)}
-
-
-
{heavy.name}
-
{heavy.description}
-
-
setPerformanceModePluginOverride(heavy.id, forceOn)}
- />
+{#if generalOptions.some((option) => matchesSearch(searchQuery, option.title, option.description))}
+
+ {#each generalOptions as option (option.id)}
+
+ {#if option.id === 0 && $settingsState.performanceMode && matchesSearch(searchQuery, "Performance Mode", "Global Search", "Assessment Averages", "enable anyway", "paused")}
+
+
+
+ Paused for performance — enable anyway:
+
+
+ {#each PERFORMANCE_HEAVY_PLUGINS as heavy (heavy.id)}
+
+
+
{heavy.name}
+
{heavy.description}
+
+
setPerformanceModePluginOverride(heavy.id, forceOn)}
+ />
+
+ {/each}
- {/each}
+
-
-
- {/if}
-{/each}
+ {/if}
+ {/each}
+
+{/if}
{#if matchesSearch(
searchQuery,
@@ -176,43 +181,41 @@
"Maximum Subjects",
"Maximum Assessments per Subject",
)}
-
+
+
+
+
Home Page Assessments
+
+ Limit upcoming assessments shown on the home page by subject
+
+
+
-
-
-
Home Page Assessments
-
- Limit upcoming assessments shown on the home page by subject
-
-
+
+
Include Past Assessments
+
+ Show past-due assessments from the upcoming list, matching the Assessments page
+
-
-
-
Include Past Assessments
-
- Show past-due assessments from the upcoming list, matching the Assessments page
-
-
-
- (settingsState.homeUpcomingIncludePast = isOn)}
- />
-
+
+ (settingsState.homeUpcomingIncludePast = isOn)}
+ />
-
-
-
Maximum Subjects
-
- Number of subjects to include, ordered by soonest due date
-
-
+
+
+
+
Maximum Subjects
+
+ Number of subjects to include, ordered by soonest due date
+
+
+
-
-
-
Maximum Assessments per Subject
-
- Assessments shown for each included subject
-
-
+
+
+
+
Maximum Assessments per Subject
+
+ Assessments shown for each included subject
+
+
+
-
+
{/if}
diff --git a/src/interface/pages/settings/shortcuts.svelte b/src/interface/pages/settings/shortcuts.svelte
index 8b0d996d..a330e224 100644
--- a/src/interface/pages/settings/shortcuts.svelte
+++ b/src/interface/pages/settings/shortcuts.svelte
@@ -2,6 +2,7 @@
import MotionDiv from '@/interface/components/MotionDiv.svelte';
import { settingsState } from "@/seqta/utils/listeners/SettingsState.ts"
import Switch from "@/interface/components/Switch.svelte"
+ import Button from "@/interface/components/Button.svelte"
import { onMount } from 'svelte';
import Shortcuts from "@/seqta/content/links.json"
@@ -199,16 +200,11 @@
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.3 }}
>
-
+
{/if}
diff --git a/src/interface/pages/settings/theme.svelte b/src/interface/pages/settings/theme.svelte
index 0c53e117..b7ee799d 100644
--- a/src/interface/pages/settings/theme.svelte
+++ b/src/interface/pages/settings/theme.svelte
@@ -1,6 +1,7 @@
-
-
{scopeLabel}
-
+
{#if syncOptIn}
Opted in on this site
-
-
{:else}
- {cloudAuth.state.isLoggedIn
- ? "Not sharing yet"
- : "Sign in to Cloud in the opt-in guide"}
+ {cloudAuth.state.isLoggedIn ? "Not sharing yet" : "Sign in to Cloud first"}
-
{/if}
-
{#if status}
{status}
{/if}
+
+ {#if syncOptIn}
+
+ void syncNow()} disabled={busy} />
+
+
+ {:else}
+
+ {/if}
+
{#if error}
{error}
{/if}