Skip to content

refactor(config,tui): remove legacy aliases and deduplicate theme docs - #1049

Merged
hakula139 merged 2 commits into
mainfrom
refactor/remove-legacy-aliases
Dec 3, 2026
Merged

hakula139 merged 2 commits into
mainfrom
refactor/remove-legacy-aliases

Conversation

@hakula139

Copy link
Copy Markdown
Member

Summary

  • Remove pre-release internal compatibility aliases (open-ai for ProviderWire::OpenAi, packages for package_roots, and base for inherits in ThemePatch), simplifying InheritedToml::parent_ref to return Option<&str> and removing ParentRef.
  • Deduplicate repeated built-in theme lists and hardcoded slot counts in docs/reference/core/configuration.md, docs/reference/tui/themes.md, and ThemePatch docstrings so docs/reference/tui/themes.md and BUILTIN_THEME_NAMES remain the single sources of truth.
  • Update affected unit tests in ox-core, ox-tui, and ox to use the canonical keys (package_roots and inherits).

Test plan

  • cargo fmt --check
  • cargo clippy --all-targets -- -D warnings
  • cargo doc --no-deps
  • cargo test (full workspace)
  • nix develop -c run-hooks

@hakula139 hakula139 added documentation Documentation changes refactor Behavior-preserving restructuring labels Dec 3, 2026
@hakula139 hakula139 self-assigned this Dec 3, 2026
@codecov

codecov Bot commented Dec 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@hakula139
hakula139 merged commit 3cf60cd into main Dec 3, 2026
7 checks passed
@hakula139
hakula139 deleted the refactor/remove-legacy-aliases branch December 3, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes refactor Behavior-preserving restructuring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant