Skip to content
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

Enable show buttons #12

Open
barisicm opened this issue Jan 13, 2021 · 3 comments
Open

Enable show buttons #12

barisicm opened this issue Jan 13, 2021 · 3 comments

Comments

@barisicm
Copy link

In the same way that you have show links it would be good to have show buttons so that on some pages you can click no buttons.

@awulkan
Copy link

awulkan commented Feb 21, 2021

I'm also in need of this feature. I think it might be a good idea to include it in the show inputs command, because a lot of websites use <input type="button"> or <input type="submit"> as buttons, which already show up when you say show inputs. That way you would see both <button> and <input type="button/submit"> when you say show inputs. And it would mean users don't have to learn yet another command.

Or we could go the other way and remove <input type="button"> and <input type="submit"> from show inputs, and only show them when someone says show buttons. While this means that the user needs to learn another command, it is more correct in practicality I guess, and it reduces the amount of clutter on the screen that you would get by showing numbers for all elements with show inputs. It's also probably more intuitive for the user.

@barisicm
Copy link
Author

I vote for the second option. Not having too much numbers would be a much better UX.
Imagine a page with few buttons, and a ton of links, or vice versa.

@tmacwill
Copy link
Member

Appreciate the feedback! The second route makes sense to me as well, so people can be specific about what they want to do. We'll work on this!

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

No branches or pull requests

3 participants