Repository navigation
refactor(gui): rename stale "CLI" health terminology to "Backend" - #241
Merged
Merged
Conversation
Compute moved to the API sidecar long ago, but the health/status naming still said "CLI", which read as inaccurate to users. Rename the user-facing concept to "Backend" across the stack: - Tauri command check_cli_health -> check_backend_health; struct CliHealthResponse -> BackendHealthResponse; reword its two user-facing error strings to "Backend ...". - State: cli-health.svelte.ts -> backend-health.svelte.ts (CliHealth -> BackendHealth, cliHealth -> backendHealth, CliStatus -> BackendStatus); CliHealthResponseSchema -> BackendHealthResponseSchema. - Components: CliHealthWarning -> BackendHealthWarning, CliUnavailableDialog -> BackendUnavailableDialog (+ CSS classes); strings "CLI Backend Unavailable" -> "Backend Unavailable" and "CLI:" -> "Backend:" in the status bar. Genuine references to the bundled CLI binary (cli_path, cli_process, the marlin spawn error) are left intact — they correctly name the executable. Closes #234
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #234. Part of the GUI redesign + dev-workflow epic #238.
Why
Compute moved to the API sidecar, but the health/status naming still said "CLI" — inaccurate and confusing to users (they see "CLI Backend Unavailable" / "CLI: Ready" with no user-facing CLI).
What
Rename the user-facing concept to Backend across the stack:
check_cli_health→check_backend_health;CliHealthResponse→BackendHealthResponse; reworded its two user-facing error strings to "Backend …".cli-health.svelte.ts→backend-health.svelte.ts(CliHealth→BackendHealth,cliHealth→backendHealth,CliStatus→BackendStatus);CliHealthResponseSchema→BackendHealthResponseSchema.CliHealthWarning→BackendHealthWarning,CliUnavailableDialog→BackendUnavailableDialog(+ CSS classes); strings "CLI Backend Unavailable" → "Backend Unavailable", "CLI:" → "Backend:" in the status bar.Genuine references to the bundled CLI binary (
cli_path,cli_process, the marlin spawn error) are intentionally left — they correctly name the executable.Verification
tsc,check:svelte(0 errors),lint:css,lint:css:vars, 316/316 vitest.cargo fmt --check, clippy -D warnings clean,cargo test(5 passed).git grepconfirms no stalecheck_cli_health/CliHealth*references remain.Closes #234