Skip to content

fix(cli): multiselect visibility for light themes#1716

Merged
wendytang merged 1 commit intoblock:mainfrom
vineetjohn:improve-toggle-viz
Mar 24, 2025
Merged

fix(cli): multiselect visibility for light themes#1716
wendytang merged 1 commit intoblock:mainfrom
vineetjohn:improve-toggle-viz

Conversation

@vineetjohn
Copy link
Contributor

@vineetjohn vineetjohn commented Mar 16, 2025

Small QoL change to improve visibility when toggling options in a cliclack multi-select.
This visibility problem only seems to exist for light themes, where there's no visible difference in text colour contrast between the cursor item and the result.
Apply the same change to the 'Remove extension' and 'Experiments' dialogs as well

Multi-select prompt interaction videos

  • Existing (no idea which position the cursor is at)
old.mp4
  • New
new.mp4

@vineetjohn vineetjohn changed the title Improve extension toggle visibility in light themes fix: extension toggle visibility in light themes Mar 16, 2025
@vineetjohn vineetjohn changed the title fix: extension toggle visibility in light themes Improve extension toggle visibility in light themes Mar 16, 2025
@vineetjohn vineetjohn marked this pull request as ready for review March 16, 2025 22:26
@vineetjohn vineetjohn changed the title Improve extension toggle visibility in light themes [cli] Improve extension toggle visibility in light themes Mar 16, 2025
@vineetjohn
Copy link
Contributor Author

Open to other suggestions on how to improve this.

I realize this overloads what the hint argument is used for as a per-item attribute. https://docs.rs/cliclack/latest/cliclack/struct.MultiSelect.html#method.item

However, any subsequent 'correct' use of the hint will also fix the same problem.

@vineetjohn vineetjohn changed the title [cli] Improve extension toggle visibility in light themes fix(cli): extension toggle visibility for light themes Mar 17, 2025
@vineetjohn vineetjohn changed the title fix(cli): extension toggle visibility for light themes fix(cli): multiselect visibility for light themes Mar 17, 2025
Apply the same change to the 'Remove extension' and 'Experiments'
dialogs as well

# Conflicts:
#	crates/goose-cli/src/commands/configure.rs
@wendytang wendytang merged commit af79da7 into block:main Mar 24, 2025
6 checks passed
@vineetjohn vineetjohn deleted the improve-toggle-viz branch March 24, 2025 16:53
tcollier added a commit to tcollier/goose that referenced this pull request Mar 24, 2025
* origin/main:
  feat: Adjust UX of extension installs in V2 settings (block#1836)
  fix: goose modes styling (block#1833)
  New toasts (block#1777)
  feat: bring back install-link-generator which was lost in the extensions-site revamp (block#1832)
  feat: settings v2 extension add refactor (block#1815)
  fix: Update link color in chat view for user messages (block#1717) (block#1754)
  fix windows native uvx (block#1775)
  fix: correct deep link install link format (block#1830)
  fix(cli): multiselect visibility for light themes (block#1716)
  docs: Update styling (block#1831)
  Refactor top bar (block#1829)
  Docs: Revamp extensions site (block#1260)
  fix: extension site not rendering servers (block#1824)
  feat: add pdf reader (block#1818)
  fix: fix allowing multiple selectors in goosebench (block#1814)
  Fix chat width issues (block#1813)
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
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