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 categorisation #1938

Open
Donnnno opened this issue Jan 21, 2024 · 3 comments
Open

Better categorisation #1938

Donnnno opened this issue Jan 21, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Donnnno
Copy link
Collaborator

Donnnno commented Jan 21, 2024

Basically have some more categories so that the user can search the app more quickly, like:

  • Google
  • Microsoft
  • Games
  • System
  • more? You name it

The challenge would be how to do it with the automatic sorting.

@Donnnno Donnnno added the enhancement New feature or request label Jan 21, 2024
@TotallyAvailable
Copy link
Contributor

TotallyAvailable commented Jan 21, 2024

Given that you probably already considered the one obvious way that's already in use and me currently not being available, I'm not going to suggest it as the best way to go.

While the additional step for every new contribution
"Please add one of the following categories [google_, microsoft_, games_, ...] in front of the drawable name ["category_iconname"] most likely to apply to the app. Do the same with [category_iconname.svg]" would be manageable, every added (useful) category obviously requires a LOT more manual work dealing with the existing Icons, eventually making the existing letter sorting somewhat weird looking as well.
Although 'google_' could obviously still be listed in 'G' to avoid forcing people to jump around if they prefer/are used to the current sorting, the entire [Games] section under [G] as well would probably be less ideal. Might not apply to every category of course and for the possibility to continue traditional sorting by skipping the new 'category_' tag ([Games] games_mindustry + [M] Mindustry) ? No idea.

Inspiration could obviously be taken from the sorting Izzy or F-Droid are using, including a somewhat automatic renaming of some of the existing entries.

I do like the idea though.

====

Anyone not aware of the current method

elif new.groups(0)[0].startswith('calendar_'):

Would allow for

  • startswith('google_'): -> drawable="google_chrome" 👀
  • startswith('microsoft_'): -> drawable="microsoft_authenticator"
  • startswith('games_'): -> drawable="games_mindustry"

Kinda the way I have been labeling Icons for other Icon Packs with '_icon' or mostly korean based apps with '_kr'. (mostly to avoid future conflicts)

Obviously leads to a bunch of potential issues and conflicts (depending on the categories chosen).

@Donnnno
Copy link
Collaborator Author

Donnnno commented Jan 23, 2024

I've added a Google and Microsoft line in the preparerelease script, so that should be covered now.

I don't think it's a good idea to add a game_ or system_ prefix for everything. We should probably add it by hand if we do something like that. But we have to find a way so that the automatic sorting / adding of icons doesn't mess with those categories.

@TotallyAvailable
Copy link
Contributor

One actually "obvious" and probably quite useful would be an "Alt" category which lists every '_alt_x' currently in the pack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants