-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
style: enhance find element modal #842
Conversation
Would it make sense to sort location strategies by performance (e.g. most performant go first)? |
It probably could be done, but I don't see much benefit to it. As a design, the proposed 2-row radio button style (in my opinion) doesn't really imply any sorting, unlike the current dropdown design. And different automation engines may then require different list orders, which could be annoying when working with more than one engine. |
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.
lgtm 👍
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.
great idea! made a few suggestions
* fix: do not list unavailable locator strategies * style: increase height of selector text area * feat: add clear button to selector input field * style: replace strategy selector with segmented * fix: add missing localised string * style: render found elem count as badge * style: replace segmented with radio buttons * fix: center strategy button group for non-mobile * fix: show XCUI strategies for Mac drivers * fix: detect buttons based on automation name * style: improve design of located elem actions * style: improve locator strategy button look * style: adjust button group border/highlight * fix: replace almost duplicate translation key * style: match selected item color to source tree * fix: add missing loading state during search * style: separate tap button from send keys group * fix: clear element highlight when pressing back
This PR provides various visual improvements to the find element modal:
automationType
Here is a demonstration of the new behavior:
refreshed-find-element-walkthrough.mp4