Skip to content

fix: improve Server Information version and commit SHA display#186

Merged
v-kessler merged 1 commit into
mainfrom
fix/server-info-versions-and-sha
May 27, 2026
Merged

fix: improve Server Information version and commit SHA display#186
v-kessler merged 1 commit into
mainfrom
fix/server-info-versions-and-sha

Conversation

@v-kessler
Copy link
Copy Markdown
Contributor

@v-kessler v-kessler commented May 27, 2026

What

Improve the Server Information / Console cards in ServerOverview:

  • Remove the redundant version chip from both card toolbars (the version is already shown in the table below).
  • Show both Lakekeeper and Enterprise versions in the enterprise/Plus console (isEnterpriseConsole); OSS shows only the Lakekeeper version.
  • Truncate commit SHAs to 7 chars with a hover tooltip exposing the full value; the copy button still copies the full SHA.

Why

The toolbar chip duplicated the table row. Plus deployments run two versioned artifacts (lakekeeper + enterprise) and need both visible. Full SHAs were too long inline, so they're truncated with the full value one hover/copy away.

BEGIN_COMMIT_OVERRIDE
fix(ui): improve Server Information version and commit SHA display
END_COMMIT_OVERRIDE

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added copy-to-clipboard functionality for commit SHA identifiers
  • UI Improvements

    • Reorganized server and console version/commit details in tables with enhanced visibility
    • Commit information now displayed in tooltip-wrapped code elements
    • Removed version badges from toolbars for a cleaner interface

Review Change Stack

- Drop the redundant version chip from the Server Information and Console card toolbars (the version is already listed in the table below).

- Show both Lakekeeper and Enterprise versions in Plus/enterprise consoles instead of only one.

- Truncate commit SHAs to 7 chars with a hover tooltip showing the full value; the copy button still copies the full SHA.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 27, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8a454b39-f932-47bb-9163-8aab453b5f46

📥 Commits

Reviewing files that changed from the base of the PR and between 0043146 and 25903a5.

📒 Files selected for processing (1)
  • src/components/ServerOverview.vue

Walkthrough

ServerOverview.vue removes inline version chips from the server and console toolbars and enhances table rows for version and commit information by displaying short commit SHAs in tooltip-wrapped code elements with copy-to-clipboard buttons. The shortSha helper is relocated earlier in the script.

Changes

Version Display Consolidation

Layer / File(s) Summary
Toolbar version chips removal
src/components/ServerOverview.vue
Server toolbar no longer displays inline v{{ projectInfo['lakekeeper-version'] }} chip, and console toolbar no longer displays inline projectInfo.console.version chip.
Table version and commit details with tooltips and copy buttons
src/components/ServerOverview.vue
Lakekeeper Version, Enterprise Version, and Console Commit SHA table rows now conditionally display commit SHAs in tooltip-wrapped code elements with copy-to-clipboard buttons for the full SHA. The shortSha helper is relocated from the bottom to the top of the script section.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Toolbars shed their fleeting chips,
Tables bloom with copied tips,
Tooltips dance, SHAs spin free,
Helper hops to clarity! 📋✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main change: improving the display of version and commit SHA information in the Server Information UI component.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/server-info-versions-and-sha

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

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

@v-kessler v-kessler merged commit c6cbeaf into main May 27, 2026
5 checks passed
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