New issue
Advanced search Search tips

Issue 834203 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Allow extensions to call `ExtensionPanel.show()` to focus their panel

Reported by rummsan...@gmail.com, Apr 18 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

Steps to reproduce the problem:
NA

What is the expected behavior?
This issue is a revisit to an existing issue, which had a solid premise, got starred 91 times, but failed to move forward.

Link - https://bugs.chromium.org/p/chromium/issues/detail?id=445240

This feature would've allowed birth of so much wonderful stuff, all of which unfortunately became GH issues and finally abandoned.

["Inspect in react" context menu](https://github.com/facebook/react-devtools/issues/323)

[Inspect with React devtool](https://github.com/facebook/react-devtools/issues/701)

___

Putting those issues aside for a second, today is the day I need this feature the most, the fate of my app depends on this. It's a Chrome DevTools extension that aims to take web dev experience to the next level. Think of it as if vscode, DOM inspector, and devtools' workspaces had a baby. You pick an element from page and it'll take you to `file:line:col` where that element is coming from (JSX or Vue template for example)

Please watch these demos to get a feel of what this is all about:

[▶ Watch 30 sec demo w/ a React project](http://goo.gl/d64cgv)

[▶ Watch 30 sec demo w/ a Vue project](https://goo.gl/qVnbmD)

What went wrong?
The problem comes in with "pick an element from page".

After the user starts the app's internal inspector and clicks in the window area to "pick" the element, the devtools panel loses the focus to window (webpage) and there is no way to regain it back 😕

Maintaining the focus is critical so that user doesn't have to "click" in devtools panel to start editing the file(s). It's just an ugly experience.

To wrap up, please watch those videos for the best description while I keep my fingers crossed.

Thanks!

Neek S.

Did this work before? N/A 

Chrome version: 65.0.3325.181  Channel: n/a
OS Version: 10.0
Flash Version:
 
Labels: Needs-Triage-M65
Owner: einbinder@chromium.org
Status: Assigned (was: Unconfirmed)
Joel, can you please look into this? 
Some update would be really appreciated. My extension's release has been halted due to this not working.

Thanks
Just pinging for an update?

:(

Sign in to add a comment