Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Fix Object Inspector toggling#2890

Merged
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
jasonLaster:fix-oi-toggling
May 15, 2017
Merged

Fix Object Inspector toggling#2890
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
jasonLaster:fix-oi-toggling

Conversation

@jasonLaster
Copy link
Copy Markdown
Contributor

Summary of Changes

  • We had some issues where variables would not expand when you clicked on a label. The reason for that was that we had a special event handler for label clicks which was overriding the default.
  • There are three components to look at when testing (Scopes, Expressions, Preview). The GIF below tests all three.

roots: scopes,
getObjectProperties: id => loadedObjects.get(id),
loadObjectProperties: loadObjectProperties,
onLabelClick: (item, { expanded, setExpanded }) => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, looks good!

@jasonLaster jasonLaster merged commit 7b14f37 into firefox-devtools:master May 15, 2017
@jasonLaster
Copy link
Copy Markdown
Contributor Author

Killing code left and right

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants