Skip to content

Hide the auth disabled element on small screens#1033

Merged
rdmark merged 1 commit intodevelopfrom
rdmark-webui-small-screen-tweak
Dec 12, 2022
Merged

Hide the auth disabled element on small screens#1033
rdmark merged 1 commit intodevelopfrom
rdmark-webui-small-screen-tweak

Conversation

@rdmark
Copy link
Copy Markdown
Member

@rdmark rdmark commented Dec 12, 2022

The Web UI auth disabled span with red background was too dominating, permanently taking up a lot of screen real estate on small screens. Since there are legitimate reasons for someone to permanently run the web UI without auth, I think it makes more sense to display it only when there is room to spare on the screen.

@nucleogenic
Copy link
Copy Markdown
Member

Seems reasonable to me!

I was thinking about a dismiss mechanism (remember in cookie) but I'm equally happy to just hide it on these viewports.

@rdmark
Copy link
Copy Markdown
Member Author

rdmark commented Dec 12, 2022

@nucleogenic dismiss functionality is of course even better UX! Do you have other cookie driven features in mind? Adding cookies just for that one purpose seems a bit overkill in the grand scheme of things, IMO.

@rdmark rdmark merged commit 31303a3 into develop Dec 12, 2022
@rdmark rdmark deleted the rdmark-webui-small-screen-tweak branch December 12, 2022 01:48
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

Successfully merging this pull request may close these issues.

2 participants