Skip to content

Improve theme slider - #8152

Merged
Alkarex merged 3 commits into
FreshRSS:edgefrom
math-GH:improve-theme-slider
Oct 28, 2025
Merged

Alkarex merged 3 commits into
FreshRSS:edgefrom
math-GH:improve-theme-slider

Conversation

@math-GH

@math-GH math-GH commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

Ref #8149
Ref #6577

Before
grafik

After
Buttons as navigation elements. Not it is crystal clear that the themes can be changed.
The theme counter is a bit more prominent to show the big amount of shipped themes.
grafik

@math-GH math-GH added this to the 1.28.0 milestone Oct 23, 2025
@math-GH math-GH added UI 🎨 User Interfaces Theme 🖌 UX User experience labels Oct 23, 2025
@math-GH

math-GH commented Oct 23, 2025

Copy link
Copy Markdown
Contributor Author

to discuss:
having a title attribute onto the prev/next buttons. Currently there is no generic next/prev i18n String

@Frenzie

Frenzie commented Oct 23, 2025

Copy link
Copy Markdown
Member

I'd prefer my original suggestion fwiw: that is, stick a simple select above it (and hide the other stuff from screenreaders).

@math-GH

math-GH commented Oct 23, 2025

Copy link
Copy Markdown
Contributor Author

a pro argument for the current solution: it is 0% JavaScript, just HTML+CSS

@Frenzie

Frenzie commented Oct 23, 2025

Copy link
Copy Markdown
Member

Perhaps. The CSS tortures radiobuttons into submission while a select would work entirely as it should with or without JS. But it's true that without JS the approaches would be competitive rather than complementary, so you'd have to hide one of the two.

@Frenzie

Frenzie commented Oct 23, 2025

Copy link
Copy Markdown
Member

I should clarify that from my perspective the main or only issues with that theme selector are that you can't browse through the themes with your arrow keys and that you're forced to go through them one by one. Also the focus is lost every time you click, while it should remain on the previous or next button.

In short, if you don't like the arrows I'd remove them completely instead, although I'd rather just keep it as it is and add a select to resolve the remaining issues. (I was planning to look into that this weekend if I found the time.)

@Alkarex

Alkarex commented Oct 28, 2025

Copy link
Copy Markdown
Member

Let's merge then, but additional simplification welcome

@Alkarex
Alkarex merged commit 53c1562 into FreshRSS:edge Oct 28, 2025
@math-GH
math-GH deleted the improve-theme-slider branch October 29, 2025 18:26
Alkarex pushed a commit that referenced this pull request Nov 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Theme 🖌 UI 🎨 User Interfaces UX User experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants