Skip to content

feat: show deploy version on select-all#2

Merged
fengmk2 merged 3 commits intomainfrom
feat/deploy-version-info
Apr 9, 2026
Merged

feat: show deploy version on select-all#2
fengmk2 merged 3 commits intomainfrom
feat/deploy-version-info

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Apr 9, 2026

Summary

  • Inject git commit hash and build timestamp at build time via Vite's define option
  • Display deploy info in a hidden <p> element at the bottom of the download page
  • Text color matches background (#fafafa), only visible when user selects all text (Ctrl+A / Cmd+A)

Test plan

  • Build and deploy, then visit the page — deploy info should be invisible
  • Press Ctrl+A / Cmd+A to select all text — deploy info (commit + timestamp) should appear
  • Verify commit hash matches the deployed commit

🤖 Generated with Claude Code

Inject git commit hash and build timestamp at build time via Vite's
define option. Display them in a hidden element at the bottom of the
download page — text matches the background color and only becomes
visible when the user selects all text (Ctrl+A / Cmd+A).
@fengmk2 fengmk2 self-assigned this Apr 9, 2026
fengmk2 added 2 commits April 9, 2026 14:41
Deploy to vp-setup-staging on pull requests after tests pass, using the
project config from .void/project.json. Comments on the PR with the
staging preview URL after successful deployment.
The checkout action needs contents:read when custom permissions are set.
Set VOID_PROJECT to vp-setup-staging explicitly instead of relying on
.void/project.json.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

✅ Staging deployment successful!

Preview: https://vp-setup-staging.void.app/

@fengmk2
Copy link
Copy Markdown
Member Author

fengmk2 commented Apr 9, 2026

image

@fengmk2 fengmk2 merged commit 4acf2b0 into main Apr 9, 2026
2 checks passed
@fengmk2 fengmk2 deleted the feat/deploy-version-info branch April 9, 2026 06:45
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