A Store package shows a different icon in its row and on its page
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 82/100
調査の方向性
Sources/StableBar/PackagesView.swiftの362~365行目付近と、Sources/StableBar/PackageDetailView.swiftの102行目および442行目付近を読んでください。パッケージ行でウィジェットのシンボルとテーマのプレビューをどのように表示しているかを、詳細ヘッダーのPackageIconと比較します。そのうえで、ヘッダーを行と同じ表示に更新し、PackageIconが使われていなければ削除してください。ウィジェットのヘッダーがインデックスのシンボルまたはフォールバックのshippingboxを使い、テーマのヘッダーがテーマのプレビューを表示すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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).
- 主要言語
- Swift
- スター
- 184
- フォーク
- 12
- 平均マージ
- 3時間 50分
- マージ済み PR(30日)
- 387
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Seb-GRAF/StableBar のほかの issue
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
メンテナーはふだん 1 日以内に返信
-
Menu bar items drawn as in the menu bar show the wrong part of the menu bar after a display change対応中かも @Jonathanm10 が今日担当しました。 オープンneeds-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
メンテナーはふだん 1 日以内に返信
-
Allow the App Menu to display the frontmost app icon対応中かも @khatami10 が今日担当しました。 オープンenhancement needs-triage
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
メンテナーはふだん 1 日以内に返信
Seb-GRAF/StableBar の issue をすべて見る
似ている issue
-
good first issue help wanted testing
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
-
area:cli documentation good first issue priority:low
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
isaaclins/freesnitch#430 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
MasterJ93/ATProtoKit#354 ·
-
enhancement help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
heysidhant/appvanish#4 ·
-
bug priority:low status:queued
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信