Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add title to preset themes

オープン
#195 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript

調査の方向性

まず、リンクされている行の src/web/lib/components/PresetThemeSelector/index.js と、normalizeTheme() 周辺の src/lib/themes.js を調べます。プリセットテーマと保存済みテーマにタイトルがどのように渡されているかを確認し、その後 github.io サイト上またはローカルでホバー時の動作を検証します。プリセットテーマで意味のあるタイトルが表示され、保存済みテーマの動作が明示的に考慮されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

needs:product Priority: p4 stretch

When hovering over a preset theme, we should probably set a title attribute with the theme's title.
In fact, it looks like we do, but it isn't showing up for me locally, or on the github.io site.

https://github.com/mozilla/Themer/blob/413aa25b78865392779fdb680735d52d32568d03/src/web/lib/components/PresetThemeSelector/index.js#L15

Not sure if we need to tweak normalizeTheme() to possibly account for a title...
https://github.com/mozilla/Themer/blob/413aa25b78865392779fdb680735d52d32568d03/src/lib/themes.js#L45-L67

Not sure how we could add a meaningful title to the saved themes since I don't think we have the UI currently for the user to set a custom title. And I don't how how useful a generated title would be. We could do something boring like `title="Saved theme 3", but not sure how useful that'd be for a11y or screen readers. Especially since I think the saved themes get saved to the front of the queue so your numbering would always change by 1 when you add a new theme.

主要言語
JavaScript
スター
506
フォーク
100
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mozilla/FirefoxColor のほかの issue

mozilla/FirefoxColor の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。