google / google/CodeCity

Object panel should not hide objects with no non-shadowed own properties

Open
#312 0 comments 0 reactions 0 assignees View on GitHub
/code enhancement
Dominant language
JavaScript
Stars
198
Forks
38
PR merge metrics
No merged PRs in 30d

Description

When an object has no own properties (e.g. after it has been subject of `$.user.destroy`) it is displayed by the object panel in a way that makes it look like the own properties of its prototype are actually the object's own own properties.

Similarly, if an entry in the prototype chain has no non-shadowed own properties it is omitted entirely. There should be some visual indication that there is an (effectively) empty prototype object.

(Tangentially: might we want to show shadowed properties, but perhaps greyed out?)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.