google / google/CodeCity

Make user choose effect of saving inherited properties

Aperta
#271 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
/code core enhancement
Lingua principale
JavaScript
Stelle
198
Fork
38
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Using the IDE to view inherited values works great, but the effect of editing one is not obvious.

At the moment, if you modify the displayed value and then save it, the editor creates an overriding property on the object being edited. This is perfectly reasonable behaviour (though note that, per #257, the editor gives bad feedback about what has just happened at the moment).

It might alternatively be useful or even expected that editing the inherited property actually modifies the value on the (appropriate) prototype object. To that end:

* There should be some way for the user to choose which object the value will be saved on, in the range of (prototype object from which it is currently inherited to this object).
* Maybe the user should be forced to decide (or at least make an initial decision) before they are actually able to edit the value.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

L’issue non indica file, test o punti di ingresso. Inizia individuando il flusso dell’IDE che visualizza i valori ereditati e salva le proprietà modificate, quindi chiarisci come gli utenti scelgono tra il prototipo e l’oggetto corrente prima di definire il comportamento previsto.

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

Valutazione

Stack tecnologico
javascript
Ambito
devtools
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.