diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-19 19:35:10 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-19 19:35:10 +0200 |
| commit | dcb2dbf7da82847d71cedebf1b2e4af32f172ddb (patch) | |
| tree | ab079783838e73d1d0d73d6629b0b34334d0d2ca | |
| parent | 14180a2c200c4b7aba23a6d34be8b3af9f682f70 (diff) | |
| download | sb-builder-dcb2dbf7da82847d71cedebf1b2e4af32f172ddb.tar.gz sb-builder-dcb2dbf7da82847d71cedebf1b2e4af32f172ddb.zip | |
Dashboard: visible neutral swatch, note tiles as future entry points
The neutral result color came from QPalette.Mid, which in a dark theme
can equal the card background and hid the "removed" swatch; use the
muted text color instead. Record in the spec that the dashboard tiles
should open their screens once those exist.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| -rw-r--r-- | docs/superpowers/specs/2026-10-19-sb-builder-phase1-design.md | 5 | ||||
| -rw-r--r-- | sb_builder/dashboard.py | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/superpowers/specs/2026-10-19-sb-builder-phase1-design.md b/docs/superpowers/specs/2026-10-19-sb-builder-phase1-design.md index 2364269..b85e8fd 100644 --- a/docs/superpowers/specs/2026-10-19-sb-builder-phase1-design.md +++ b/docs/superpowers/specs/2026-10-19-sb-builder-phase1-design.md @@ -28,6 +28,11 @@ Each phase gets its own spec, plan and implementation cycle. `sbo-orphans` logic from slackbuilds-superrepo), including orphaned deps in REQUIRES. Needs an SBo-stable tree, which is not on the VM today. +Dashboard tiles become entry points as their screens land: Packages opens +the package browser (phase 2, select packages to build there), Built the +build screen, Last pull the sync actions, Recent jobs the Jobs tab, SBo +orphans the orphans screen (phase 5). + Out of scope for all phases so far: overlay git operations (status, commit, push in my-slackbuilds and friends). diff --git a/sb_builder/dashboard.py b/sb_builder/dashboard.py index 20d23e2..d4152ae 100644 --- a/sb_builder/dashboard.py +++ b/sb_builder/dashboard.py @@ -192,7 +192,7 @@ class Dashboard(QWidget): self.bar.set_parts([]) self.legend.setText(NA) return - gray = self.palette().color(QPalette.ColorRole.Mid) + gray = self.palette().color(QPalette.ColorRole.PlaceholderText) # Mid can match the background order = sorted(sr["results"].items(), key=lambda kv: (list(STATUS).index(kv[0]) if kv[0] in STATUS else 99, kv[0])) self.bar.set_parts([(k, v, QColor(STATUS.get(k)) if k in STATUS else gray) for k, v in order]) |
