Commit graph

15 commits

Author SHA1 Message Date
53c5833de0 fix(nosignal): hardware-test feedback round 2 — weather, dashboard, tray
From the 2026-06-15 on-box hardware test (all 6 prior fixes confirmed; these
are the new findings, baked into the fork source rather than shipped as
pacman-hook patches, per the Phase-2 "we own the shell" approach):

- F-W1 (Weather.qml): fetch at startup. Stock only called reload() on a config
  CHANGE, so a saved location blanked after reboot and an empty/auto location
  never populated on a fresh boot. Add Component.onCompleted: reload() and
  switch the hourly Timer to reload() (re-detects auto/IP too).
- F-W3 (Weather.qml): 7-day forecast showed "undefined°" in °F mode — only
  maxTempC/minTempC were stored. Store rounded maxTempF/minTempF (and round °C).
- F-W2 (Weather.qml): empty/auto-IP location never populated — the in-shell
  ipinfo.io fetch didn't set loc (provider-specific; the city path works via
  the same Requests.get). Repair attempt: defensive JSON parse + error callback
  + fallback to geojs.io. Compiled Requests module not inspectable, so this is
  best-effort; a saved city still works regardless.
- F-D1a (modules/dashboard/*.qml): square the 25 card radii bound to the
  compiled Tokens.rounding.* Material defaults (which ignore shell.json
  rounding.scale=0) so the dashboard matches the square redesign.
- F-D1b (Glyphs.qml): remap the weather glyphs to the Material-weather family
  (every codepoint verified present in JetBrainsMono Nerd Font Mono); the old
  Font-Awesome codepoints were absent (rendered "?") and thunderstorm /
  snowing_heavy were unmapped.
- F-T1 (NsBar.qml): gate the system-tray pill on SystemTray.items count so it
  only shows when an app registers a tray icon (was opening an empty panel).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 21:04:28 +01:00
83c6b62c13 feat(nosignal): finish Nerd Font icon remap — core surfaces
Convert remaining reachable surfaces to NsIcon (launcher, utilities, windowinfo,
sidebar, dashboard, notification toast, shared controls IconTextButton/Menu/
SplitButton/ToggleButton/CollapsibleSection/CustomSpinBox, CoverArt). Handles
the `sourceComponent: MaterialIcon {` form and icon-via-alias controls.

- IconTextButton: alias -> plain `icon` property + bound NsIcon (cross-file alias
  to a custom property was rejected).
- Reverted IconButton `font:` (the controls-wide font->fontStyle sweep wrongly
  hit ButtonBase, which uses font not fontStyle).
- Glyphs map: +31 names (dashboard/utilities/launcher leftovers) — no "?" glyphs.

Old collapsed bar + old lock sub-components left as-is (unused, never render).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 12:59:28 +01:00
2 * r + 2 * t
c4539d6960 refactor: icons follow builders pattern
Also add icon size() shorthand
And builder scale()
2026-04-22 22:47:18 +10:00
2 * r + 2 * t
6573a62fc5 refactor: use Font.Xxx enum for weights 2026-04-22 22:47:18 +10:00
2 * r + 2 * t
acd492b3ea refactor: migrate MaterialIcon font to fontStyle 2026-04-22 22:47:18 +10:00
2 * r + 2 * t
e2349f2202 refactor: migrate rest of dashboard to new font API 2026-04-22 22:47:18 +10:00
2 * r + 2 * t
7cb3944af7 refactor: replace scaled spacing with new tokens 2026-04-22 22:47:18 +10:00
2 * r + 2 * t
52272c062d feat: use M3 spacing tokens 2026-04-22 22:47:18 +10:00
2 * r + 2 * t
0d0dcaf115 refactor: replace scaled padding with new tokens 2026-04-22 22:47:18 +10:00
2 * r + 2 * t
57db6e246c feat: use M3 padding tokens 2026-04-22 22:47:18 +10:00
2 * r + 2 * t
711587d193 refactor: migrate to new rounding tokens 2026-04-22 22:47:18 +10:00
2 * r + 2 * t
b8d17ad8ef fix: use global config for global properties 2026-04-12 22:47:30 +10:00
2 * r + 2 * t
71dd7b4db8 chore: format QML imports 2026-04-11 22:17:24 +10:00
2 * r + 2 * t
3a37d77d1f feat: replace qml config module with c++ module 2026-04-11 21:18:56 +10:00
2 * r + 2 * t
f46764fd5d fix: Weather name shadowing 2026-03-22 15:38:51 +11:00
Renamed from modules/dashboard/Weather.qml (Browse further)