Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Resolve one semantic role vocabulary for snapshot kind

Offen
#3,531 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
android, ios, typescript

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement ready-for-agent

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.

Vorherrschende Sprache
TypeScript
Sterne
5k
Forks
334
Ø Merge
11 Std. 48 Min.
Gemergte PRs (30 T.)
605

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus callstack/agent-device

Alle Issues in callstack/agent-device

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.