Repository navigation
feat(bar): show edit window rule when rule exists - #3516
Conversation
Check existing DMS-managed window rules when the focused window popout opens. If a matching rule exists for the focused window, show 'Edit window rule' and open the rule in edit mode via showEdit(). Otherwise, keep showing 'Add window rule' for new rule creation.
|
/claude review |
Claude reviewTwo issues: a stale-rule race that can edit the wrong rule, and a new untranslated string that duplicates an existing catalog term.
Checked: rule matching vs |
- Clear matchingRule up front in checkMatchingRule() to prevent showing previous window's rule while async query is in flight - Reuse existing catalog term 'Edit Window Rule' to leverage existing translations
|
/claude review |
Claude reviewNo issues found. Both findings from the previous round are fixed: Checked: open/close and focus-change paths into |
Check existing dms-managed window rules when the focused window popout opens. If a matching rule exists for the focused window, show 'Edit window rule' and open the rule in edit mode via
showEdit(). Otherwise, keep showing 'Add window rule' for new rule creation.