Skip to content

Conversation

@calebjclark
Copy link
Contributor

This PR integrates the Selector Generator with the built-in Devtools Element Selector.

It also extends the right-click contextMenu inside the Devtools Elements Panel (right click on any element to add/remove from Selector Generator).

The actual Selector Generator is missing everything except Single Element selectors. In order to push a working version I had to rollback all of my Multiple Elements selector code. This also rolled back the ability to remove selector parts (i.e., cutting an ID from selectors).

Finally, there is zero integration with Multiverses.

this.getDevtoolsTabId.bind(this, devtoolsSession),
devtoolsSession.send('Runtime.runIfWaitingForDebugger'),
]).catch(() => null);
// (${interceptElementOverlayDispatches.toString()})('${___sendToCore}', '${MessageEventType.CloseElementOptionsOverlay}');
Copy link
Contributor

Choose a reason for hiding this comment

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

meant to be commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes

@blakebyrnes blakebyrnes merged commit 238bd44 into main Nov 14, 2021
@blakebyrnes blakebyrnes deleted the selector-generator branch November 14, 2021 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants