Skip to content

feat(tui): add version display to sidebar and logo rendering#55

Merged
cnjack merged 1 commit intomainfrom
feat/logo-render
Apr 29, 2026
Merged

feat(tui): add version display to sidebar and logo rendering#55
cnjack merged 1 commit intomainfrom
feat/logo-render

Conversation

@cnjack
Copy link
Copy Markdown
Owner

@cnjack cnjack commented Apr 29, 2026

Summary by CodeRabbit

Release Notes

  • Refactor
    • Application version now displays in the sidebar
    • Removed shortcut hints bar from the bottom interface for a cleaner, more streamlined layout

@cnjack cnjack merged commit a4e5c47 into main Apr 29, 2026
@cnjack cnjack deleted the feat/logo-render branch April 29, 2026 13:31
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 29, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ad12bd11-7cbc-49f9-914a-553f784430c2

📥 Commits

Reviewing files that changed from the base of the PR and between 69a367a and ad224dd.

📒 Files selected for processing (3)
  • internal/tui/input_views.go
  • internal/tui/sidebar_component.go
  • internal/tui/tui.go

📝 Walkthrough

Walkthrough

The PR removes the shortcut hint bar from the input view and relocates the version display to the sidebar component, integrating it into the logo rendering through a new Version field in SidebarState.

Changes

Cohort / File(s) Summary
Shortcut Hints Removal
internal/tui/input_views.go
Deleted shortcutHints() method and its call from input view rendering. Removes context-sensitive UI hint bar that displayed conditional shortcuts and version info.
Sidebar Version Display
internal/tui/sidebar_component.go, internal/tui/tui.go
Added Version string field to SidebarState struct; updated logo renderer to append version text with bold, muted styling when non-empty; passed m.version through to sidebar component in main TUI initialization.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Poem

🐰 The shortcuts fade from input's sight,
While versions hop to sidebar's light,
A cozy nest for app's own name,
The UI dances, fresh the same! ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/logo-render

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
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

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

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.

1 participant