-
-
Notifications
You must be signed in to change notification settings - Fork 354
feat: retrieve commands and execute methods from active extensions #2414
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
Open
eglitise
wants to merge
73
commits into
appium:main
Choose a base branch
from
eglitise:dynamic-commands-list
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
10822ea
chore: move static commands list to own file
eglitise ed85c61
chore: pass generateCommandNotes as prop
eglitise 00d2bfe
only show static commands list if there is no method map support
eglitise bf33ee8
add tab switcher for dynamic commands grid
eglitise a8d1b77
add UI for rendering command/method buttons
eglitise 32b466c
filter empty values
eglitise ab9d03c
do not render collapses if only one available
eglitise 800c669
also filter execute methods with no content
eglitise 8b52c26
remove hardcoded input value types, try to detect them
eglitise c5105d4
convert static commands list to use a format compatible with endpoint…
eglitise 458d6a2
store pending command in react hooks instead of redux
eglitise dd31ad1
dynamic execute methods are now working
eglitise b1534e1
dynamic commands (with matching names) are working
eglitise ae5a199
filter execute methods before saving them
eglitise 7719a43
improve execute method filtering and add tests
eglitise ba21e42
add filtering for standard commands - full map WIP
eglitise 6198c50
add full map of supported commands
eglitise 13c5f8e
commands and execute methods are both working
eglitise c660ff4
rename property for clarity
eglitise 5219786
extract parameters from paths for applicable commands
eglitise 9c98e3c
add element commands to driver, to allow calling them as commands
eglitise dd0a38a
remove driver dependency for filterAvailableCommands
eglitise 034a477
add unit tests for filterAvailableCommands
eglitise 92f2b94
add support for required attribute
eglitise dc1d4d6
add support for deprecated attribute
eglitise f9a5c88
add support for info attribute
eglitise 3e21b82
add descriptions for both tabs
eglitise 85fbc88
move CommandResultModal to Commands component
eglitise c23f68a
split runCommand into two methods for clarity
eglitise 438c5a5
store command result in react hooks instead of redux
eglitise 9275a34
refactor MethodMapCommandsList components
eglitise 9037ba1
add searchbar for dynamic method map
eglitise b6d7729
combine all commands in one list & support plugins
eglitise bedc75c
reduce sluggishness when entering command parameter values
eglitise b667447
simplify handling for special methods
eglitise 33a9a7f
add extra handling for certain commands
eglitise 9a6e5af
adjust tab descriptions
eglitise b7769d5
update deprecated command background in light mode
eglitise 485c167
update commands documentation
eglitise 49a979c
update types
eglitise 965af30
run prettier
eglitise 0c17a8e
Merge branch 'main' of https://github.com/eglitise/appium-inspector i…
eglitise 5a0e9f8
add a few more unit tests
eglitise 6ade34a
add extra handling for printPage
eglitise cd3d656
improve test for filtering out unsupported commands
eglitise 256636d
add back stopRecordingScreen
eglitise 0d8b32a
use a map for handling mismatching commands
eglitise c82006c
fix destructuring
eglitise b6ea676
add some memoization
eglitise c7e363d
add various workarounds for antd performance issues
eglitise 8d6da97
Merge branch 'main' of github.com:eglitise/appium-inspector into dyna…
eglitise e77b38f
fix lint
eglitise dfe3def
use useRef for full command lists
eglitise 3fd9f36
remove unneeded cancel button
eglitise b27168b
make parameter input smoother
eglitise d83f589
remove isMemo due to react compiler
eglitise c5c297c
speed up method filtering by avoiding dynamic toPairs calls
eglitise 2eb3266
simplify table to row/col
eglitise a923353
ensure linebreaks for long method names
eglitise 40a3c8e
fix css
eglitise 211c27e
update translation strings
eglitise 53f9191
update docs
eglitise 20bed2d
handle edge case for overrides
eglitise 32afb41
tune previous edge case handling
eglitise 8a7d454
address copilot comments
eglitise 67a40a8
update translation string
eglitise 9f25783
define local constants for method names
eglitise b6641e5
address comments in Commands component
eglitise 19441d0
address comments in commands tab utils
eglitise 598cb90
address comments in commands unit test file
eglitise c45b033
label args for executeScript as optional
eglitise 6b7456e
address comments
eglitise 670fdc9
update docs image due to updated texts
eglitise 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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.