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

Aperta
#413 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript
Ambito
tooling

Direzione di ricerca

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.

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

Descrizione

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
Lingua principale
TypeScript
Stelle
1.6k
Fork
126
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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

Tutte le issue di figma/code-connect

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.