Skip to content

Fix settings dropdowns and task permission default - #935

Merged
AnthonyRonning merged 1 commit into
MaplePrivacyLabs:masterfrom
benthecarman:fix/settings-persistence-dropdown
Sep 15, 2026
Merged

AnthonyRonning merged 1 commit into
MaplePrivacyLabs:masterfrom
benthecarman:fix/settings-persistence-dropdown

Conversation

@benthecarman

Copy link
Copy Markdown
Contributor

What

  • Multi-value General settings (permission mode, appearance, speech
    voice, speech speed) open a dropdown instead of cycling on click.
    The saved value is checked; click-outside and Escape dismiss; Enter
    opens, j/k move the highlight, Enter picks under Application Vim.
  • New tasks now take the saved permission default. Task creation sent
    no mode, so the runtime's SmartApprove startup default landed on the
    created row and the composer adopted it on selection — every new
    task started at Ask First regardless of the setting.
  • Test builds no longer resolve the developer's real settings.json:
    background settings writes queued by widget tests silently rewrote
    it, and killed test runs littered the config dir with abandoned
    temp files. Tests now use a per-process scratch root unless
    XDG_CONFIG_HOME is set explicitly.

Verification

  • just ci (fmt, clippy -D warnings across feature sets, workspace
    and headless tests) — green; 312 tests including new round-trip,
    isolation, dropdown, and permission-default coverage.

Multi-value settings rows cycled to the next choice on click while
showing a chevron that promised a dropdown. They now open a dropdown
listing every choice, with the saved value checked, click-outside and
Escape dismissal, and Application Vim open, navigate, and pick support.

New tasks always started at Ask First because task creation sent no
permission mode; the runtime's SmartApprove startup default landed on
the created row and the composer adopted it on selection. Creation now
persists the composer's mode, so the saved default reaches new tasks.

Unit tests could resolve the developer's real settings.json and
silently rewrite it through the background settings writer. Test
builds now use a per-process scratch root unless XDG_CONFIG_HOME is
set explicitly, and new round-trip tests pin the queued-write
persistence contract.
@AnthonyRonning
AnthonyRonning merged commit 6a1b030 into MaplePrivacyLabs:master Sep 15, 2026
22 checks passed
@benthecarman
benthecarman deleted the fix/settings-persistence-dropdown branch September 15, 2026 18:07
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.

2 participants