Skip to content

feat(tui): match settings and export dialogs to new designs - #56099

Merged
arvsrn merged 2 commits into
devfrom
settings-export-design
Oct 20, 2026
Merged

arvsrn merged 2 commits into
devfrom
settings-export-design

Conversation

@arvsrn

@arvsrn arvsrn commented Oct 16, 2026

Copy link
Copy Markdown
Member

Matches the Settings and Export dialogs to the new designs. It also fixes the overflow indicator spacing, in its own commit.

Settings

  • Values: on the selected row, the value shows as ‹ dark ›; other rows show it faint, padded so it doesn't shift.
  • Theme: shows opencode ↵. Enter opens the theme list, which returns to Settings when closed; ←/→ still cycle.

Export

  • Layout: the dialog is now a list: Format, then Thinking/Tools for Markdown or Sanitize for JSON.
  • Controls: ←/→, space or a click changes a value. c copies and enter saves to a file.

DialogSelect

  • DialogSelectChoice renders a changeable value.
  • footerOverhang lets that value line up with plain right-hand text.
  • footerGap passes through to the layout.
  • The … overflow row only shows while there is more below. At the bottom of the list it hands its row back, so lists always end with two blank rows and the dialog keeps its height.

With the experiment off, both dialogs are unchanged. Stacked on #56098.

@arvsrn
arvsrn force-pushed the select-search-text branch from 2f65cd7 to bf0388a Compare October 20, 2026 05:26
@arvsrn
arvsrn force-pushed the settings-export-design branch from 7d37cd7 to 148ac8c Compare October 20, 2026 05:26
@arvsrn
arvsrn force-pushed the select-search-text branch from bf0388a to b8f82b5 Compare October 20, 2026 06:05
@arvsrn
arvsrn force-pushed the settings-export-design branch 2 times, most recently from 7797851 to f8c41b4 Compare October 20, 2026 07:01
@arvsrn
arvsrn force-pushed the select-search-text branch 2 times, most recently from 80626f9 to d8112b8 Compare October 20, 2026 07:05
@arvsrn
arvsrn force-pushed the settings-export-design branch from f8c41b4 to c4dd019 Compare October 20, 2026 07:05
@arvsrn
arvsrn force-pushed the select-search-text branch from d8112b8 to 87e4e4c Compare October 20, 2026 07:10
@arvsrn
arvsrn force-pushed the settings-export-design branch from c4dd019 to 87e26b5 Compare October 20, 2026 07:10
@arvsrn
arvsrn force-pushed the select-search-text branch from 87e4e4c to 7693fa0 Compare October 20, 2026 09:45
@arvsrn
arvsrn force-pushed the settings-export-design branch from 87e26b5 to f7d7a3f Compare October 20, 2026 09:45
Base automatically changed from select-search-text to dev October 20, 2026 09:50
Settings rows show their value as `‹ value ›` on the selected row, and
Theme shows `opencode ↵`: enter opens the theme list, which returns to
Settings, while ←/→ still cycle. Export becomes a list of Format,
Thinking, Tools and Sanitize values with copy / save to file actions.
With the experiment off, both dialogs are unchanged.
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