Rework the settings app around hub pages (home, network, displays, input, apps, privacy, system) with a redesigned sidebar, shared nav state, and new hub view components. Alongside the redesign: validate webview inputs into root commands (users, firewall, snapshots, wifi), fix set_charge_threshold writing the percentage via tee stdin, prevent streaming installs from hanging on inherited stdin, add frontend type fixes, sync versions to 0.8.2, and clean up clippy/svelte-check warnings.
30 lines
907 B
TypeScript
30 lines
907 B
TypeScript
import type { Component } from "svelte";
|
|
import AboutHub from "./AboutHub.svelte";
|
|
import AppearanceHub from "./AppearanceHub.svelte";
|
|
import AppsHub from "./AppsHub.svelte";
|
|
import Bluetooth from "./Bluetooth.svelte";
|
|
import DesktopHub from "./DesktopHub.svelte";
|
|
import DisplaysHub from "./DisplaysHub.svelte";
|
|
import Home from "./Home.svelte";
|
|
import InputHub from "./InputHub.svelte";
|
|
import NetworkHub from "./NetworkHub.svelte";
|
|
import Power from "./Power.svelte";
|
|
import PrivacyHub from "./PrivacyHub.svelte";
|
|
import Sound from "./Sound.svelte";
|
|
import SystemHub from "./SystemHub.svelte";
|
|
|
|
export const VIEWS: Record<string, Component> = {
|
|
home: Home,
|
|
network: NetworkHub,
|
|
bluetooth: Bluetooth,
|
|
displays: DisplaysHub,
|
|
sound: Sound,
|
|
power: Power,
|
|
appearance: AppearanceHub,
|
|
desktop: DesktopHub,
|
|
input: InputHub,
|
|
apps: AppsHub,
|
|
privacy: PrivacyHub,
|
|
system: SystemHub,
|
|
about: AboutHub,
|
|
};
|