fix(web): make budget indicator non-clickable info and style workspace dir as button #79
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_shrimp!79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_budget_info_workspace_button"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Top status bar fixes per issue #77: the budget/cost indicator is now read-only informational text (no longer a button that opens Settings), and the workspace/target directory control is now a proper styled button consistent with the other nav buttons.
Related Issue
Closes #77
Changes
crates/hero_shrimp_web/ui/src/components/CostBadge.tsx: converted the root<button>to a non-interactive<div>; removed the SettingsonClickand the unusedsetSettingsOpenimport; dropped the.pillbutton styling for a plain info container; trimmed "click to edit budget" from the tooltip; updated the header comment. Spend/cap-percent/fuel-tank display unchanged.crates/hero_shrimp_web/ui/src/components/TopBar.tsx: restyled the workspace/target control from bare clickable text to the shared.pillbutton style and relocated it alongside the primary nav pills; kept thesetWorkspacePickerOpenclick handler, folder icon, label, and sub-label.Test Results
npm run build(vite) passes with no errors (99 modules, exit 0). ThesetSettingsOpenremoval introduces no unused-import error;TopBar.tsxstill uses it for the Settings gear. No backend/RPC changes.2af293807013f76453bf13f76453bfbc28409900