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

Better arrangement choices for a frontend to enumerate pick-list options #17004

Open
theflyingape opened this issue Sep 15, 2024 · 2 comments
Open

Comments

@theflyingape
Copy link
Sponsor

In reference to a post by @sonninnos in #16960 (comment)

Options that might get packaged with RetroArch, like a theme color, font, default core overlay, global shader, menu background or navigation sounds, screensaver, etc.

I've always liked those GUI pick-list items for community-based or plug-in options that sort by a "popularity" rating, then by date "added" -- allows for an author to put the first 5-star vote on a release so it sorts at the top until subsequent votes come in, instead of it falling unceremoniously to the bottom when it is appended.

Internally, the option continues as a fixed integer for backward compatibility, but obviously, the change is adding the metadata (and a community popularity poll database) for frontend(s) to implement this arrangement -- also motivates frontend(s) to modernize. If nothing else changes, it simply continues to work AS-IS.

@RobLoach
Copy link
Member

What sonninnos referenced is switching the integer in the config to a string for the ozone color theme. Are you looking for an overview of which themes are available?

@theflyingape
Copy link
Sponsor Author

Exactly. Keep the configuration integers intact (don't break anything), but extend those pick-list items beyond a description label by introducing some supporting metadata that allows for a frontend to present them differently, such as ordering.

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