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

StatusCard - disabled actions #1298

Open
jinzo opened this issue Nov 18, 2024 · 2 comments
Open

StatusCard - disabled actions #1298

jinzo opened this issue Nov 18, 2024 · 2 comments

Comments

@jinzo
Copy link
Contributor

jinzo commented Nov 18, 2024

As I saw that there was work done on the StatusCard I decided to open a Issue regarding some stuff that's been on my mind for quite some time.
So, currently Actions that are not available to the user, set the IconButton as disabled - for example for editing the device and deleting it. Why not just hide the button completely? It just takes up space when it's not needed (and there is no user action that can make it available to them).

Maybe - if there is consensus on this - I would be even prepared to invest some time and create a 'fluid' system, where first 4 available actions are displayed, and the rest are 'hidden' behind the 3 dots, like currently share/links/etc are.

@tananaev
Copy link
Member

My main issue is that people would expect certain buttons in certain places. Moving buttons makes it harder to debug issues because buttons might be in different places. What is the problem with disabled buttons?

@jinzo
Copy link
Contributor Author

jinzo commented Nov 21, 2024

I just find it annoying and waste of space. I understand your position, but on the other hand relying on position of the buttons and not the buttons themselves is not that great. And now we have longer path than needed for some buttons, and completely wasted space for others. Which I find not optimal - and I think the icons (and the new tooltip) should be plenty enough to discern what is the action of the button?

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

2 participants