-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Add settings profiles #1196
base: main
Are you sure you want to change the base?
Add settings profiles #1196
Conversation
Basic layout for profiles GUI, not sure if we will keep the profiles quick access in the topbar - if removed we can remove the added stuff to Dropdown.tsx
I feel like body proportions should be a profile, but settings - idk maybe? Kinda weird to group them all together, because one person might need multiple body proportions profiles for like different sets/avatars/people or to experiment, but the same settings. |
Mm that's fair. Since we were going to do body proportions, I thought I might as well implement settings too. |
I like the idea of it being all the settings. Can have like a streaming profile and vrchat profile without having to go through and toggle all the VMC/OSC stuffs. Question is, should a new profile be a copy of the current one or completely fresh with default values? |
I was thinking there could be a prompt to ask what the user wants, the defaults or copy their current profile settings |
idk what im doing, this barely works rn. im just saving progress for now. also removed unneeded perms (allowed by store:default or fs:default)
add changeProfile() which loads the default gui-settings.dat and saves profile there
Removes the profile quick access from topbar & check if new profile being created already exists
Load profile (and available profiles) in dropdown and on start, delete profiles idk if what im doing is the best way but it works lol
Give user a choice to use the defaults or their current settings for new profile, show name of profile to delete in modal also some grammar edits in other files & created "QuestionBox" for modals
Create modals for errors while creating a profile (invalid name, already exists) & deletion errors (default profile, and maybe FS errors?) add "ErrorBox" and classNames to each box
Adds ChangeProfileRequest packet to solarxr still needs more testing and bugfixes
fix warnings by making some functions private, check for "default" string (this should probably be changed?)
don't use %s when using custom error/log functions
removed some logs, add comments, refactor some code this is a mess lol
Draft PR to add settings profiles so users can create different profiles for different settings, including body proportions.
Current plan is to have a
profiles
folder in SlimeVR's data folder which will have folders with the names of the profiles, each of them containing their ownvrsettings.yml
andgui-settings.dat
(e.g.dev.slimevr.SlimeVR/profiles/Bingus
).Fixes #38.