google / google/CodeCity

Make user choose effect of saving inherited properties

Abierto
#271 0 comentarios 0 reacciones 0 asignados Ver en GitHub
/code core enhancement
Lenguaje dominante
JavaScript
Estrellas
198
Forks
38
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

El issue no menciona archivos, pruebas ni puntos de entrada. Comienza localizando el flujo del IDE que muestra los valores heredados y guarda las propiedades editadas; después, aclara cómo eligen los usuarios entre el prototipo y el objeto actual antes de definir el comportamiento esperado.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
devtools
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.