A Store package shows a different icon in its row and on its page
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
Research direction
Read Sources/StableBar/PackagesView.swift around lines 362–365 and Sources/StableBar/PackageDetailView.swift around lines 102 and 442. Compare how package rows render widget symbols and theme previews with the detail header's PackageIcon; then update the header to match the row and remove PackageIcon if unused. Done when widget headers use the index symbol or shippingbox fallback, and theme headers show the theme preview.
Written by the indexing model from the issue text.
Description
Problem
In Settings → Store, a widget package's row shows the SF Symbol the Store index gives it: the symbol in stablebar-packages' listing.json, such as a gauge for Status ring. Open the package and its page shows a different icon: a white letter on a color hashed from the package ID, such as a green S. A theme's row shows a small preview of the theme, and its page the same kind of letter tile.
So a package changes its look once you open it, and the tile's color means nothing. The Store now has three pictures for one package: the row's symbol, the page's letter and the page's screenshot.
Proposal
The page's header shows what the package's row shows:
- A widget package: the index's
symbolin the row's tile, orshippingboxwhen no source gives one (a local folder, a private source without symbols). - A theme: the row's small preview.
PackageIcon then has no other use and can go.
Possible today
No. The row draws RowIcon(symbol: entry.symbol ?? "shippingbox") (Sources/StableBar/PackagesView.swift:365), and themes PackageListPreview (:362). The page's header draws PackageIcon(id:name:) (Sources/StableBar/PackageDetailView.swift:102, defined at :442), which ignores symbol. Checked on origin/main at da7455a.
Related
- #711 added
categoryandsymbolto the index and the rows' icons, and kept the page's letter tile. - #144 / #152 put previews in the package list. #711 replaced them with symbols for widget packages and kept them for themes.
Triaged by Claude Code (Claude Opus 5.5).
- Dominant language
- Swift
- Stars
- 184
- Forks
- 12
- Avg merge
- 3h 50m
- Merged PRs (30d)
- 387
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Seb-GRAF/StableBar
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Maintainers usually reply within 1 day
-
Menu bar items drawn as in the menu bar show the wrong part of the menu bar after a display changePossibly taken @Jonathanm10 claimed this today. Openneeds-triage
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 30/100
Maintainers usually reply within 1 day
-
Allow the App Menu to display the frontmost app iconPossibly taken @khatami10 claimed this today. Openenhancement needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 54/100
Maintainers usually reply within 1 day
All issues in Seb-GRAF/StableBar
Similar issues
-
good first issue help wanted testing
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
area:cli documentation good first issue priority:low
Difficulty 1/5 Under an hour Newbie friendliness 94/100
isaaclins/freesnitch#430 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
MasterJ93/ATProtoKit#354 ·
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
heysidhant/appvanish#4 ·
-
bug priority:low status:queued
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day