Skip to content

Fix switch profile editing UX - #469

Merged
enaboapps merged 1 commit into
mainfrom
agent/profile-ui-consistency
Jul 28, 2026
Merged

Fix switch profile editing UX#469
enaboapps merged 1 commit into
mainfrom
agent/profile-ui-consistency

Conversation

@enaboapps

Copy link
Copy Markdown
Contributor

Summary

  • align the PC Switch Control profile window dimensions and footer hierarchy with Settings
  • track unsaved profile edits and enable Save/Cancel only when the form is dirty
  • prompt to save, discard, or keep editing before profile navigation or window close
  • block navigation when validation or persistence fails

Why

The new profile manager could silently discard edits, exposed Save and Cancel when nothing changed, and used layout/action ordering that drifted from the established Settings UI.

Impact

Profile editing now has predictable dirty-state behavior and protects unsaved work while preserving built-in and active-profile read-only rules.

Validation

  • dotnet test src/SwitchifyPc.sln --no-restore
  • 503 unit tests passed
  • 1 integration test passed
  • visually verified dark-theme clean, dirty, and unsaved-prompt states

@enaboapps
enaboapps merged commit 6dc22b1 into main Jul 28, 2026
1 check passed
@enaboapps
enaboapps deleted the agent/profile-ui-consistency branch July 28, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant