Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I thought about adding a favorite outfits system for the change outfits menu. Initially Initially I thought to create a separate menu like the change or update outfits menu, but it was too much clutter. So I decided to make a button that pins the outfits to the top of the list, also working as a separator.
I would have loved to add a star to the left side of the outfit buttons to mark them as favorites, but the ox_lib didn't have any parameters for that and I didn't want to modify the system to that extent.
It's a bit hacky but I think it's the easiest for the user experience, as a separate menu would defeat its purpose of being accessible as it requires more clicks if you want to see your favorite and non-favorite outfits.
Another option I've thought of if you prefer the separate menu option is to give star icons to the favorite outfits in the all outfits menu. The problem is that to remove them from favorites you'll have to go to another menu, making it confusing. However, that's easy to change because it only affects the UI.
Feel free to take whatever part is usefull (mostly the backend) and modify it!
Video:
https://github.com/user-attachments/assets/260d1953-65d4-4ffc-b9ff-9ab87c6b44d2