-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Select component from dom tree #476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
00f3024
Add select component example
nicoeg e7a244c
Extracted component selection to class and moved select icon
nicoeg d1fd11c
Add test, fix codestyle
nicoeg 777d473
Fix error when no component has been highlighted
nicoeg 45750bc
Use inspect-instance method for selecting instance
nicoeg 22ee46e
Remove isDark
e537beb
Increase wide and tall vars (we are starting to have lots of buttons)
ec0a931
Header improvements
dcd3577
Highlighter improvements
36fd5d8
Selector improvements (blocks events + better component search)
6155503
Updated testing components
4c81327
WIP fixing tests
e07a773
Icon pulse
18ae2fe
Button text changes
3cd74ca
Fix tests
0d8d1ea
Unecessary style
0b067b0
Rename searchComponent
12bf866
Fixes selecting not disabled if component selected in tree
fdf2ceb
Keyboard shortcut
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
23 changes: 10 additions & 13 deletions
23
src/devtools/mixins/key-nav.js → src/devtools/mixins/keyboard.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you also type in Dvorak? 😆
Using Keycodes doesn't work across keyboards for letters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? I just tried in Dvorak to be sure and it's working fine... 😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're completely right. I had recently a problem with keycodes but it's something a bit different, it only happens with the digits row