About dialog: show build commit hash with copy #148
Labels
No labels
abandoned
active
audit
blocked
data-safety
difficulty:easy
difficulty:hard
difficulty:high
difficulty:medium
docs
done
duplicate
notebook-v0
open
priority:high
ready
release-critical
safe-mode
spec
spec-backlog
subsystem:api
subsystem:backlog
subsystem:bases
subsystem:ci
subsystem:command
subsystem:configuration
subsystem:consolidate
subsystem:dependencies
subsystem:desktop-electron
subsystem:diffmerge
subsystem:docker
subsystem:docs
subsystem:fuzzy
subsystem:graph
subsystem:hotkeys
subsystem:lapis
subsystem:maint
subsystem:maintenance
subsystem:markdown
subsystem:markdown-lint
subsystem:md018
subsystem:notebook
subsystem:notifications
subsystem:opfs
subsystem:package
subsystem:plugin-markdown
subsystem:plugin-tasks
subsystem:plugins
subsystem:registry
subsystem:release
subsystem:renovate
subsystem:restore
subsystem:scripts
subsystem:search
subsystem:settings
subsystem:spec
subsystem:tasks
subsystem:testing
subsystem:ui
subsystem:web
subsystem:workspace
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lapis-notes/lapis#148
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Show the build commit hash in the shared About dialog with a GitHub-style short SHA on a copy button.
Problem
Verifying which revision built a deployed or packaged app requires digging outside the product UI.
Goal
Expose the embedded build commit in About with a compact copy control that displays a 7-char short SHA and copies the full hash.
Scope
Non-goals
Acceptance Criteria
GITHUB_SHA/LAPIS_BUILD_COMMITvia the resolverImplementation Notes
Use
scripts/resolve-build-commit.mjswith env precedence:VITE_APP_COMMIT_HASH,LAPIS_BUILD_COMMIT,GITHUB_SHA, jj, git.Suggested Files or Specs To Inspect
packages/workspace/src/lib/feature/app/about-app-dialog.sveltepackages/web/vite.config.tspackages/desktop-electron/vite.config.ts.forgejo/workflows/release-desktop.ymlValidation Commands
pnpm test:scriptspnpm --filter @lapis-notes/web check:allpnpm --filter @lapis-notes/desktop-electron check:allpnpm test:smokeRelated Issues
Follow-up Tasks
Implementation Summary
About dialog shows a GitHub-style short build commit on a copy button (full SHA copied). Added resolve-build-commit.mjs with CI env support (GITHUB_SHA/LAPIS_BUILD_COMMIT), injected VITE_APP_COMMIT_HASH in web/desktop/workspace Vite configs, wired release-desktop build jobs, and updated smoke tests.