Skip to content

Remove duplicate Tokyo Night theme - #255

Merged
github-actions[bot] merged 2 commits into
mainfrom
chore/remove-duplicate-tokyo-theme
Aug 5, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
chore/remove-duplicate-tokyo-theme

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • remove the bundled Tokyo Night Storm theme
  • keep Catppuccin Mocha as the dark alternative
  • update the theme registry test and README

Validation

  • cargo test --package forge-tui theme_registry --locked

The picker's Enter-key handler compared the raw typed filter text
against the full resolved catalogue id (e.g. "luna" vs
"openai-codex/gpt-5.6-luna"), which almost never matched, so an
already-correctly-resolved row was discarded and re-dispatched as
free-text "/model luna" — which then got wrongly re-prefixed to
"openai-codex/luna", a model that doesn't exist.

Trust the resolved row whenever one exists; only fall back to
free-text when the filtered row list is genuinely empty. Also
introduce ModelSelection (provider/model/profile_id/effort) as a
single structured value threaded through picker confirm, default-model
application, quick switch, and restore-on-restart, replacing four
independently-assigned fields that could drift apart.
@github-actions
github-actions Bot enabled auto-merge (squash) August 5, 2026 07:03
@github-actions
github-actions Bot merged commit 7292799 into main Aug 5, 2026
13 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
* Fix /model picker confirm flow discarding correctly-resolved selections

The picker's Enter-key handler compared the raw typed filter text
against the full resolved catalogue id (e.g. "luna" vs
"openai-codex/gpt-5.6-luna"), which almost never matched, so an
already-correctly-resolved row was discarded and re-dispatched as
free-text "/model luna" — which then got wrongly re-prefixed to
"openai-codex/luna", a model that doesn't exist.

Trust the resolved row whenever one exists; only fall back to
free-text when the filtered row list is genuinely empty. Also
introduce ModelSelection (provider/model/profile_id/effort) as a
single structured value threaded through picker confirm, default-model
application, quick switch, and restore-on-restart, replacing four
independently-assigned fields that could drift apart.

* Remove duplicate Tokyo Night theme
mohitranka added a commit that referenced this pull request Sep 11, 2026
* Fix /model picker confirm flow discarding correctly-resolved selections

The picker's Enter-key handler compared the raw typed filter text
against the full resolved catalogue id (e.g. "luna" vs
"openai-codex/gpt-5.6-luna"), which almost never matched, so an
already-correctly-resolved row was discarded and re-dispatched as
free-text "/model luna" — which then got wrongly re-prefixed to
"openai-codex/luna", a model that doesn't exist.

Trust the resolved row whenever one exists; only fall back to
free-text when the filtered row list is genuinely empty. Also
introduce ModelSelection (provider/model/profile_id/effort) as a
single structured value threaded through picker confirm, default-model
application, quick switch, and restore-on-restart, replacing four
independently-assigned fields that could drift apart.

* Remove duplicate Tokyo Night theme
mohitranka added a commit that referenced this pull request Sep 11, 2026
* Fix /model picker confirm flow discarding correctly-resolved selections

The picker's Enter-key handler compared the raw typed filter text
against the full resolved catalogue id (e.g. "luna" vs
"openai-codex/gpt-5.6-luna"), which almost never matched, so an
already-correctly-resolved row was discarded and re-dispatched as
free-text "/model luna" — which then got wrongly re-prefixed to
"openai-codex/luna", a model that doesn't exist.

Trust the resolved row whenever one exists; only fall back to
free-text when the filtered row list is genuinely empty. Also
introduce ModelSelection (provider/model/profile_id/effort) as a
single structured value threaded through picker confirm, default-model
application, quick switch, and restore-on-restart, replacing four
independently-assigned fields that could drift apart.

* Remove duplicate Tokyo Night theme
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