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

New Component Request: Labels

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
scss
領域
design, frontend

調査の方向性

このリクエストでは、実装ファイル、テスト、エントリーポイントが特定されていません。まず Mozilla Protocol リポジトリにある既存のコンポーネント構造と、リンクされた GitHub および Rally の例を確認してから、実装前にコンポーネントの動作、スタイル、ダークモードへの対応、レスポンシブ対応の要件を定義してください。

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

説明

Design 🎨

Please use this template to request a new component.
If you're not sure whether a component already exists,
go ahead and file the issue here, and the team will triage appropriately.

Fill in as many sections as possible below.

Please describe the use case(s) for this component

I would like a component to label things in the Glean Dictionary, similar to GitHub labels. Examples of where we do this already (using a mostly-unstyled adhoc component):

Annotating metrics in the application

image

Annotating applications on the front page

image

Please provide any designs or previous implementations of the proposed component

The rally website has developed an adhoc version of this:

image

In our case I don't think we'd want to capitalize the text (since case has a strong semantic meaning).

Please describe what this component does in the following conditions

  • When set in front of a dark background

It would be cool if the colors adapted themselves when in dark mode, similar to GitHub:

image

... but I don't know if that's required.

  • When set in front of a light background

Probably the most common use case, default behaviour here.

  • When viewed in a mobile/responsive viewport

I don't think we'd do anything different, labels tend to be small.

Please provide examples of this type of component in use in non-Mozilla web properties

Add screenshots and links to web properties that use a similar component.

GitHub labels are an example of existing best practice:

image

https://styleguide.github.com/primer/components/labels/

Is the development of this component a blocking dependency for other work? Please explain if so

This doesn't block anything strictly, but it would be very nice to have (labels are a key component in the Glean Dictionary, and are only going to get more important over time).

主要言語
SCSS
スター
298
フォーク
83
平均マージ
9日 7時間
マージ済み PR(30日)
7

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

mozilla/protocol のほかの issue

mozilla/protocol の issue をすべて見る

似ている issue

Design の issue をもっと見る

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

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