Skip to content

Commit 655d00c

Browse files
committed
feat: fixed update flow
1 parent 27e007c commit 655d00c

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

src-rust/crates/tui/src/app.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ const PROMPT_SLASH_COMMANDS: &[(&str, &str)] = &[
9595
("survey", "Open session feedback survey"),
9696
("theme", "Open the theme picker"),
9797
("ultrareview", "Run an exhaustive multi-dimensional code review"),
98+
("update", "Check for updates and upgrade to the latest version"),
99+
("upgrade", "Check for updates and upgrade to the latest version"),
98100
("vim", "Toggle vim keybindings"),
99101
("voice", "Toggle voice input mode"),
100102
];

src-rust/crates/tui/src/render.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2243,17 +2243,6 @@ fn render_footer(frame: &mut Frame, app: &App, area: Rect) {
22432243
parts.push(Span::styled(clean, Style::default().fg(Color::DarkGray)));
22442244
}
22452245

2246-
// 8b. Update available indicator — shown when a newer version was found.
2247-
if let Some(ref version) = app.update_available {
2248-
if !parts.is_empty() {
2249-
parts.push(Span::raw(" "));
2250-
}
2251-
parts.push(Span::styled(
2252-
format!("⬆ v{} available — /update", version),
2253-
Style::default().fg(Color::Yellow).add_modifier(Modifier::BOLD),
2254-
));
2255-
}
2256-
22572246
// 8. Bridge badge
22582247
if let Some(badge) = app.bridge_state.status_badge(app.frame_count) {
22592248
if !parts.is_empty() {

0 commit comments

Comments
 (0)