From 91f882df97adea262625a45be0257039f144ae49 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 20 Oct 2026 20:21:34 +0200 Subject: sbb-remote 0.9.0: SBo orphans tile on the Dashboard stats gains "orphans", the packages whose .info says MAINTAINER="orphaned - no maintainer" (0.14s over the tree on the VM). The placeholder tile shows the count and opens Packages with only the orphaned chip on. Co-Authored-By: Claude Opus 5.5 --- sb_builder/packages.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sb_builder/packages.py') diff --git a/sb_builder/packages.py b/sb_builder/packages.py index 68de7c2..f1a7224 100644 --- a/sb_builder/packages.py +++ b/sb_builder/packages.py @@ -319,6 +319,14 @@ class PackagesTab(QWidget): self.model.set_rows(load_rows(data)) self.update_count() + def filter_to(self, name): + """Show only one chip's packages (from a Dashboard click).""" + for k, c in self.chips.items(): + c.blockSignals(True) + c.setChecked(k == name) + c.blockSignals(False) + self.refilter() + def refilter(self): on = {n for n, b in self.chips.items() if b.isChecked()} self.proxy.update(self.query.text(), on - set(STATUSES) - {"orphaned"}, on & set(STATUSES), -- cgit v1.2.3