bug(StarterState): does not save changes when component authoring has not been opened

Aperta
#1,279 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
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
angular, typescript
Ambito
frontend

Direzione di ricerca

Start at the component preview and authoring entry points, especially the authoring component's ngOnInit() and its StarterState change listener. Reproduce by opening preview before expanding the component, then compare with the workaround of expanding it first. The issue calls for a design decision between hiding the preview until expansion and moving the listener; done means choosing and implementing the intended behavior, then confirming changes are saved in that flow.

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

Descrizione

bug Low Priority

This happens when you go straight to component preview (before expanding the component). The component authoring's ngOnInit() hasn't been called yet, which listens to the starter state changes. The workaround is to expand the component first, then click on the preview.

We should discuss how we want to handle this- don't show the preview button until it's been expanded, like the advanced? Or move the listener outside of the component authoring?

Lingua principale
TypeScript
Stelle
4
Fork
8
Merge medio
2g 14h
PR unite (30g)
11

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 WISE-Community/WISE-Client

Tutte le issue di WISE-Community/WISE-Client

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.