Skip to content

Explain why ControlApp locks incompatible settings so users can see w… - #625

Merged
nefarius merged 1 commit into
masterfrom
fix/explain-locked-settings
Oct 16, 2026
Merged

nefarius merged 1 commit into
masterfrom
fix/explain-locked-settings

Conversation

@nefarius

@nefarius nefarius commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

…hich mode or option caused it.

Summary by CodeRabbit

  • Settings
    • Locked settings now explain why they’re unavailable under the current configuration. Stick settings show a notice when DS4W remapping-conflict prevention is enabled, and rumble settings show a shared notice in SXS mode.
    • The notices clear when the relevant option is disabled or the device mode changes, so they reflect the current configuration.

…hich mode or option caused it.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Team
  • Run ID: 6b8a097b-17fa-4d63-a156-085949b2e155
📥 Commits

Reviewing files that changed from the base of the PR and between d663f95 and 1efd625.

📒 Files selected for processing: 4
  • ControlApp.Tests/NavigationCapabilityTests.cs
  • ControlApp/ViewModels/UserControls/DeviceSettings/DeviceSettingsViewModel.cs
  • ControlApp/ViewModels/UserControls/DeviceSettingsEditorViewModel.cs
  • ControlApp/Views/UserControls/DeviceSettingsEditor.xaml

Included review availability: This review used your included allowance. 4 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 8 reviews per hour.

📝 Walkthrough

Device setting groups now use explanatory lock reasons to determine their locked state. DS4W mode can lock stick settings, and SXS mode can lock rumble settings. The settings interface displays the applicable reason, and tests check the lock states and their clearing.

Changes: Device Setting Lock Reasons

Layer / File(s) Summary
Derive and set lock reasons
ControlApp/ViewModels/UserControls/DeviceSettings/DeviceSettingsViewModel.cs, ControlApp/ViewModels/UserControls/DeviceSettingsEditorViewModel.cs
IsGroupLocked is derived from LockReason. The editor clears existing reasons and sets the DS4W stick or SXS rumble reason for the applicable mode and setting.
Display and verify lock reasons
ControlApp/Views/UserControls/DeviceSettingsEditor.xaml, ControlApp.Tests/NavigationCapabilityTests.cs
The locked-settings InfoBar displays LockReason. Tests check DS4W and SXS locking and verify that reasons clear when the option or mode changes.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Suggested reviewers: kanuan

Merge Risk: ⚪ Minimal · up to 1efd6

The change shows users why a setting is locked. No merge-blocking risk is evident.

Pre-merge checks: Passed 4
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the main change: explaining why ControlApp locks incompatible settings. It aligns with the PR objectives and is concise.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit checks the sticks with care,
Then finds the reason waiting there.
The rumble groups explain their state,
New modes clear the message straight.
Hop, settings shine with words precise!

Comment @coderabbitai help to get the list of available commands.

@nefarius
nefarius merged commit 31a1834 into master Oct 16, 2026
5 checks passed
@nefarius
nefarius deleted the fix/explain-locked-settings branch October 16, 2026 17:43
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