`figma connect preview` support for listing imports and nested components

Offen
#413 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
typescript
Bereich
tooling

Rechercherichtung

Start by locating the figma connect preview command and the code that builds its preview output, then compare that output with the Figma UI behavior shown in the issue. The requested result is for the preview to include nested components, other component instances such as icons, and import statements. No test or source file is named, so first identify the relevant entry point and its existing tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

feature request

I'm using @figma/code-connect version 2.0.1.

I'd like to request feature parity between Code Connect in the Figma UI and the CLI preview feature.

Whilst I can see this in Figma UI:

Image

In the CLI the output is incomplete when compared to the UI:

Image

Notice above, it's missing thepie-form- label and the icon-archive.

Ideally it should list:

  • nested components
  • other components instances (such as the icon)
  • import statements
Vorherrschende Sprache
TypeScript
Sterne
1.6k
Forks
126
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

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 figma/code-connect

Alle Issues in figma/code-connect

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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