🌱 feat: show git commit hash in sidebar next to viewer count#4015
🌱 feat: show git commit hash in sidebar next to viewer count#4015clubanderson merged 1 commit intomainfrom
Conversation
Display the short (7-char) git commit hash next to the active viewer count at the bottom of the sidebar. Uses the existing __COMMIT_HASH__ global define from vite.config.ts. Hover shows the full hash. Signed-off-by: Andrew Anderson <andy@clubanderson.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
👋 Hey @clubanderson — thanks for opening this PR!
This is an automated message. |
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Adds build-identifying information to the main navigation sidebar by displaying the current git commit hash alongside the active viewer count, leveraging the existing Vite build-time __COMMIT_HASH__ define.
Changes:
- Show short (7-char) commit hash next to the sidebar viewer count when the sidebar is expanded.
- Add a hover tooltip (via
title) that reveals the full commit hash.
Summary
__COMMIT_HASH__global define fromvite.config.tsTest plan
9b8a49d) next to the user count