Skip to content

feat(profiles): improve profile management - #939

Open
anolithme wants to merge 3 commits into
Polyfrost:v1from
anolithme:feat/profile-system
Open

feat(profiles): improve profile management#939
anolithme wants to merge 3 commits into
Polyfrost:v1from
anolithme:feat/profile-system

Conversation

@anolithme

Copy link
Copy Markdown
Contributor

Description

This improves the profile screen and fixes the profile lifecycle behind it.

  • new profiles start from defaults
  • profile actions are grouped in a settings menu with clone, rename, icon, favorite, export, and delete
  • Minecraft controls can be shared or kept separate per profile
  • Enter, Numpad Enter, and IME Done submit profile names
  • config snapshots and HUD state stay isolated when profiles are created, switched, cloned, renamed, or deleted
  • the profiles folder can be opened from the screen

The lifecycle changes also prevent renamed or deleted profiles from being recreated by delayed snapshot writes, keep HUD previews in sync while the UI is open, and make snapshot writes atomic.

Related Issue(s)

Closes #880
Closes #931

Testing

  • profile lifecycle, snapshot storage, compat snapshot, HUD isolation, and controls transition tests
  • Minecraft keybind transition tests and mixin audit on 1.21.4, 1.21.11, 26.1, and 26.2
  • config, config-impl, HUD, and utils API checks
  • internal UI compilation

No documentation changes are needed; this only changes the in-game profile UI and its lifecycle behavior.

Checklist

  • I made a clear description of what was changed
  • I stated why these changes were necessary
  • I updated documentation or said what needs to be updated
  • I made sure these changes are backwards compatible
  • This pull request is for one feature/bug fix

@anolithme
anolithme force-pushed the feat/profile-system branch from 4792e96 to 613df11 Compare August 7, 2026 21:11
@anolithme
anolithme marked this pull request as ready for review August 7, 2026 21:44
@Wyvest Wyvest moved this to In progress in OneConfig Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

improve the profile system Pressing enter doesn't do anything when naming a profile

2 participants