feat(webapp): show running version in Mini App footer
Compute `git describe --tags --always --dirty` at server startup and expose via unauthenticated /api/version. Render as small muted text at the bottom of the Mini App so the running version can be confirmed at a glance. Once tags exist, the badge will show e.g. v0.1.0 or v0.1.0-3-gSHA. Until then it shows the short SHA. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
31d426d53e
commit
b4d76b0eca
4 changed files with 56 additions and 1 deletions
|
|
@ -88,6 +88,10 @@
|
|||
<p>Loading...</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer id="app-footer">
|
||||
<span id="version-badge"></span>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script src="app.js"></script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue