Skip to content

docs(themes): add Tokyo Night, document preset:, point to theme.rs - #651

Merged
LargeModGames merged 1 commit into
LargeModGames:mainfrom
kapok-4o:docs/themes-tokyo-night-preset
Sep 29, 2026
Merged

LargeModGames merged 1 commit into
LargeModGames:mainfrom
kapok-4o:docs/themes-tokyo-night-preset

Conversation

@kapok-4o

@kapok-4o kapok-4o commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Fixes #544. Docs only, and only docs/themes.md and CONTRIBUTING.md:

  • Tokyo Night added to the preset table after Catppuccin Mocha.
  • The custom-theme example starts with preset: "Custom", followed by a note: spotatui writes preset: on every save, the color keys only apply when the preset is Custom or there is no preset: line, and preset names must match exactly (anything else becomes Custom). I checked this against load_theme and ThemePreset::from_name.
  • The intro mentions Ctrl-, on macOS, as docs/keybindings.md does.
  • Both files now point to ThemePreset in src/core/theme.rs.

Testing

  • grep -n 'user_config.rs' docs/themes.md CONTRIBUTING.md prints nothing.
  • The PR changes only docs/themes.md and CONTRIBUTING.md, so no changelog entry.

Additional notes

This is one of five small PRs I opened together (for #544, #607, #546, #542 and #543). I test-merged all five in three orders without conflicts; together they pass the slim checks (1333 tests).

Written with AI coding assistants: Claude Code wrote each change on current main against the issue text and checked it (Codex had drafted fixes earlier, used here only as a reference).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Clarified theme shortcut keys for macOS and other platforms.
    • Added Tokyo Night to the built-in theme presets and explained how preset names and saved settings affect custom theme colors.
    • Updated contribution guidance to point to the current location of theme preset examples.

docs/themes.md listed 12 of the 13 built-in presets and its custom-theme
example never mentioned `preset:`, which spotatui writes on every save
and which makes the color keys do nothing unless it is Custom. Add
Tokyo Night, put `preset: "Custom"` in the example with a note on when
the color keys apply and how exact preset names must be, mention Ctrl-,
on macOS, and move the ThemePreset pointer in both files to
src/core/theme.rs.

Fixes LargeModGames#544

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: LargeModGames/spotatui/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 3f1d5d83-0a9b-4c07-943c-2d17b7b274ef

📥 Commits

Reviewing files that changed from the base of the PR and between a2a538f and 898db62.

📒 Files selected for processing (2)
  • CONTRIBUTING.md
  • docs/themes.md

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

Theme documentation now includes Tokyo Night, specifies platform-specific shortcuts, and explains how the preset: setting affects custom color keys. The contribution instructions point to ThemePreset in src/core/theme.rs.

Changes

Theme documentation

Layer / File(s) Summary
Theme preset guidance and references
docs/themes.md, CONTRIBUTING.md
The theme guide adds Tokyo Night, updates the shortcut instructions, and documents preset matching and precedence. The example sets preset: "Custom". The contribution instructions point to ThemePreset in src/core/theme.rs.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other · Severity of issue fixed: Low

Merge Risk: ⚪ Minimal · up to 898db

The documentation describes the existing theme and shortcut behavior, with no identified user-facing regression. This change appears safe to merge after normal checks.

Architecture Summary

Architecture risk: 🔵 Low · up to 898db

The change affects 2 systems.

Changed systems: CONTRIBUTING.md, docs

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — CONTRIBUTING.md (service) was modified; 1 changed file maps to changed impact.
  • observed — docs (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in CONTRIBUTING.md: The theme instructions now direct contributors to find ThemePreset examples in src/core/theme.rs instead of src/core/user_config.rs.
  • observed — Modified behavior in docs/themes.md: The shortcut instructions now specify Ctrl-, on macOS; previously they listed only Alt-,.
  • observed — Modified behavior in docs/themes.md: The built-in preset table adds Tokyo Night and links to its palette.
  • observed — Modified behavior in docs/themes.md: The custom-theme example now sets the preset to "Custom".
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title uses the allowed docs: conventional-commit prefix with a valid scope. It concisely and accurately summarizes the documentation changes.
Linked Issues check ✅ Passed Issue #544 is directly linked. The diff adds Tokyo Night, documents preset: behavior and exact matching, adds Ctrl-, on macOS, and changes both ThemePreset references to src/core/theme.rs. The…
Out of Scope Changes check ✅ Passed The diff changes only docs/themes.md and CONTRIBUTING.md, as required by issue #544. All changes support the requested theme documentation updates. No unrelated source, test, or configuration chan…
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
✨ Simplify code
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Sep 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@LargeModGames
LargeModGames merged commit 78f8371 into LargeModGames:main Sep 29, 2026
31 checks passed
LargeModGames added a commit that referenced this pull request Oct 11, 2026
# Summary

Version bump and changelog for v0.44.0. No application code changes.

- `Cargo.toml` and `Cargo.lock` go to 0.44.0, and `SECURITY.md` names
0.44 as the supported version.
- `CHANGELOG.md`: `## [Unreleased]` is now `## [v0.44.0] 2026-10-12`. I
checked every PR merged since v0.43.0 against it and added 24 entries
that were missing, for #524, #569, #570, #574, #593, #618, #623, #624,
#651, #652, #656, #675, #684, #700, #701, #706, #707, #709, #718, #719,
#722, #730, #741 and #742.
- Five older entries blamed the Web API, Development Mode or the token
refresh, which #752 removed. They now describe what a v0.44 user sees.
The #752 entry also says that related artists are empty for now.
- The agent plugin goes to 0.2.0 (both manifests and the marketplace
entry), because its skill now lists the ten new MCP tools.
- README and `docs/roadmap.md`: rspotify is only models and ids now,
`--debug` logs every Spotify request, recommendations work again, and
related artists come back empty.
- The `spotatui.wiki` submodule moves to the commit that replaces the
client-id setup with the pairing login.

# Testing

- `cargo update -p spotatui --offline`, then `cargo metadata --locked`:
ok
- `cargo check --locked`: ok (`Checking spotatui v0.44.0`)

# Additional notes

This is the first release without a client id. Every Spotify user logs
in once more with the pairing code, and Spotify in spotatui needs
Premium.

---
<sub>💬 Questions or want to chat with other contributors? Join the
[spotatui Discord](https://spotatui.com/discord).</sub>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Search and sort playlists using loaded tracks, play playlists
randomly, and browse artist albums across pages.
* Spotify sessions now support HTTP proxies; listening parties stay
connected with keep-alives.
* **Improvements**
* Playback handoffs, polling, and slow Spotify operations have been
adjusted for smoother playback.
* Skipped downloads can be canceled, and AI DJ/MCP playback can continue
when off-screen.
* **Bug Fixes**
* Fixed issues with theme color startup, key handling, focus navigation,
cursor placement, playlist sorting, and Qobuz retries.
* **Documentation**
  * Updated installation, keybinding, and Spotify guidance.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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.

docs/themes.md: add Tokyo Night, document preset:, fix the ThemePreset path

2 participants