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 · 11 comments
Open

Better categorisation #1938

Donnnno opened this issue Jan 21, 2024 · 11 comments
Labels
enhancement New feature or request Help wanted need some help with this one!

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.

@Donnnno
Copy link
Collaborator Author

Donnnno commented Jul 7, 2024

I just had a thought. It still requires many manual edits, but worth a shot, maybe.

What if the preparereleasescript starts with all the normal stuff: new, calendar, emoji, brands etc. and after that searches through a different file, for example a game category.

In the game category file is a list that can be edited, so everyone can add additions to it.

_2048
_20_minutes_till_dawn
_2_player_games
_2248
afk_arena
alto
altos_odyssey
angry_birds
...

After the script has done that, it continues with the last part, ordering everything.
That way, the specific categories won't get overridden with each release.

@Kaiserdragon2
Copy link
Collaborator

That would be possible the good thing with this would be that the files don't need to be renamed

@Donnnno
Copy link
Collaborator Author

Donnnno commented Jul 7, 2024

Exactly, that was that I was thinking too :)

@Donnnno Donnnno added the Help wanted need some help with this one! label Jul 13, 2024
@Donnnno
Copy link
Collaborator Author

Donnnno commented Jul 13, 2024

I've added a simple XML file called games.xml to test with. However, I tried to understand how the preparereleasescript works, but just can't wrap my head around it. 🙃
So I decided to add the label help wanted, for anyone who likes to figure out how the better categorization system should work.
#1938 (comment)

https://github.com/Arcticons-Team/Arcticons/blob/main/scripts/games.xml

@Kaiserdragon2
Copy link
Collaborator

I will write up something just need a bit of time.
The games.xml already helps to test it.

@Kaiserdragon2
Copy link
Collaborator

image

@gewaleelek
Copy link
Contributor

Hi, I'm not sure if I should add this here, but the folder tab contains icons for the apps called "folder in folder" and "folder widget" which probably shouldn't be there.

Would renaming them so their names don't start with "folder_" work?

@Kaiserdragon2
Copy link
Collaborator

Yes renaming them would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Help wanted need some help with this one!
Projects
None yet
Development

No branches or pull requests

4 participants