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

Resolve one semantic role vocabulary for snapshot kind

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, ios, typescript

調査の方向性

Start with formatRole and attachRefs in packages/kernel/src/snapshot.ts, then inspect presenter and selector consumers and the integration role maps in tester-army/e2e nodes.ts. Read the existing snapshot-lines-kind-conformance.test.ts and role contracts; completion requires a role golden table under contracts/fixtures/, representative iOS and Android live controls, and decisions on vocabulary and kind= selector migration.

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

説明

enhancement needs-triage

Purpose

Snapshot kind is formatRole(type) (packages/kernel/src/snapshot.ts:771), a lowercase class leaf for unmapped types (:467). It ignores heading/roleDescription, and many common controls fall through:

Raw type kind Expected
SecureTextField securetextfield a text field
android.widget.RadioButton radiobutton radio (web already gives radio)
SwitchCompat switchcompat switch
SeekBar seekbar slider (iOS already gives slider)
ReactEditText, TextInputEditText class leaf a text field
MaterialButton class leaf a button
BottomNavigationItemView, TabLayout$TabView class leaf a tab

Integrations keep their own role maps (tester-army/e2e nodes.ts:45-94,187-228,265-300,418).

Required behavior

  • Node-aware role resolution beside formatRole/attachRefs, using class, state, description, and ancestry. A string map alone cannot identify iOS tab children.
  • Presenter and selector consumers updated together.
  • Android and iOS TextView stay distinct.

Open decisions (needed before implementation)

  • Presenter vocabulary versus browser-style roles.
  • Migration semantics for existing kind= selectors.

Completion

Extend snapshot-lines-kind-conformance.test.ts and add a role golden table under contracts/fixtures/. Live: representative iOS and Android controls.

Lands after #3524 and #3527.

主要言語
TypeScript
スター
4.9k
フォーク
328
平均マージ
11時間 49分
マージ済み PR(30日)
585

環境構築

はじめの一歩

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

callstack/agent-device のほかの issue

callstack/agent-device の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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