Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Resolve one semantic role vocabulary for snapshot kind

Aperta
#3,531 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, ios, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
4.9k
Fork
328
Merge medio
11h 49m
PR unite (30g)
585

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di callstack/agent-device

Tutte le issue di callstack/agent-device

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.