Convert British spellings to American across the repo
colour -> color, behaviour -> behavior, centre -> center, favourite -> favorite, and about twenty other pairs, applied consistently across comments, docs, error/UI copy, and a handful of QML identifiers that used the British spelling as their actual name: SystemSettings' serialiseValue/serialiseTable/normaliseGradient, Displays' normaliseModes, Wallpaper's normalisePolicy, SettingsBackup's serialiseHomeState, DateTime's ntpSynchronised property, Clipboard's _normalise helper, and ShortcutCapture's cancelled signal (with its onCancelled handler in ShortcutsPage.qml). Every call site and the two tests that assert on the literal source text (settings-ownership and settings-backup-live contracts) were updated in lockstep. Left untouched: config/dot/espanso/match/packages/misspell-en/ is a vendored third-party autocorrect dictionary -- its entries are typo corrections, not our prose, and rewriting them would fight the package's own purpose (and any future re-sync from upstream). The already-American `favorites` property (Home page pinned accessories) was never actually misspelled -- only nearby comments and error strings said "favourites" -- so no data migration was needed there. Claude-Session: https://claude.ai/code/session_01E6TJUAh41HaP25MVHWkhRZ
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
|
||||
|
||||
**Goal:** Expand Panama Quick Settings into the approved Control Center with secure Home Assistant favourites and capability-aware iPhone continuity.
|
||||
**Goal:** Expand Panama Quick Settings into the approved Control Center with secure Home Assistant favorites and capability-aware iPhone continuity.
|
||||
|
||||
**Architecture:** Two executable Python helpers own the external boundaries: KDE Connect CLI/D-Bus and the Home Assistant REST API/credential lookup. Quickshell singletons normalize those JSON contracts for focused Home and Phone components inside the existing Quick Settings window; Ongoing and Signal Glass consume transfer lifecycle without duplicating state.
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
- Only one of Wi-Fi, Bluetooth, sink, source, Home, and Phone may be expanded at once.
|
||||
- Never print Home Assistant tokens, Authorization headers, clipboard text, certificate fingerprints, IP addresses, response bodies, or full local file paths.
|
||||
- Home Assistant tokens remain in the gitignored environment file or Secret Service; never write one into tracked content.
|
||||
- Home Assistant toggle commands accept only entity IDs from the configured favourites snapshot.
|
||||
- Home Assistant toggle commands accept only entity IDs from the configured favorites snapshot.
|
||||
- KDE Connect actions derive from advertised plugins; no fake battery or remote-input control is allowed.
|
||||
- Every Home toggle, file chooser, file send, clipboard send, and Ring action requires a user click.
|
||||
- Home toggle success, phone Ring, and clipboard success remain globally quiet.
|
||||
@@ -49,8 +49,8 @@
|
||||
- `config/dot/quickshell/modules/quicksettings/QuickSettings.qml` — tighter top attachment and service preparation.
|
||||
- `config/dot/quickshell/modules/quicksettings/QuickSettingsPanel.qml` — expanded composition and exclusive section routing.
|
||||
- `config/dot/quickshell/modules/quicksettings/ControlSectionHeader.qml` — quiet section label and optional trailing action.
|
||||
- `config/dot/quickshell/modules/quicksettings/HomeControls.qml` — four favourites, expanded configured list, loading/stale/failure states.
|
||||
- `config/dot/quickshell/modules/quicksettings/HomeTile.qml` — one domain-aware favourite tile.
|
||||
- `config/dot/quickshell/modules/quicksettings/HomeControls.qml` — four favorites, expanded configured list, loading/stale/failure states.
|
||||
- `config/dot/quickshell/modules/quicksettings/HomeTile.qml` — one domain-aware favorite tile.
|
||||
- `config/dot/quickshell/modules/quicksettings/PhoneControls.qml` — approved compact Continuity Card.
|
||||
- `config/dot/quickshell/modules/quicksettings/RecentExchange.qml` — one session-local completed transfer row.
|
||||
- `config/dot/quickshell/modules/bar/StatusCluster.qml` — reachable-phone glyph inside the existing click target.
|
||||
@@ -340,7 +340,7 @@ Expected: all tests PASS and the fake server records no unexpected route.
|
||||
- [ ] **Step 5: Add and run the redacted live contract**
|
||||
|
||||
The contract runs `probe` and `snapshot`, validates the schema, and prints only
|
||||
`PASS (configured=true, N favourites; contents redacted)`. It must pipe JSON to
|
||||
`PASS (configured=true, N favorites; contents redacted)`. It must pipe JSON to
|
||||
`jq` without printing friendly names, entity IDs, URL, or raw errors.
|
||||
|
||||
- [ ] **Step 6: Commit Task 2**
|
||||
@@ -599,7 +599,7 @@ git commit -m "Build the Panama Control Center"
|
||||
|
||||
- [ ] **Step 1: Update desktop documentation**
|
||||
|
||||
Mark Home Assistant favourites and KDE Connect phone integration Live. Document
|
||||
Mark Home Assistant favorites and KDE Connect phone integration Live. Document
|
||||
the 430-pixel Control Center, two-pixel bar attachment, environment/keyring
|
||||
configuration precedence, BlueBubbles messaging boundary, and current iOS
|
||||
capabilities. Remove those two items from `System UI still worth adding` while
|
||||
@@ -628,7 +628,7 @@ inspect only the new process's journal for QML errors or warnings.
|
||||
- [ ] **Step 4: Perform read-only live checks**
|
||||
|
||||
Verify the Control Center reports one reachable phone with the confirmed action
|
||||
names and seven configured Home favourites without printing identities. Open
|
||||
names and seven configured Home favorites without printing identities. Open
|
||||
and close the panel, expand Home and Phone, and confirm Wi-Fi, Bluetooth, audio,
|
||||
Focus, Caffeine, Night Light, settings, power, Escape, and outside-click remain
|
||||
usable. Do not trigger an external-device action.
|
||||
|
||||
Reference in New Issue
Block a user