You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: honest version stamping + API Docs link in web sidebar
Versioning (make deploy was always tagging v1.0.0):
- docker-compose.yml & docker-compose.external.yml: add args block
reading VERSION/BUILD_DATE/DEFAULT_SERVER_URL from env, so direct
'docker compose up --build' (not just 'make deploy') stamps the
git-derived version. Image tag now uses ${VERSION:-latest}.
- Makefile: export VERSION/BUILD_DATE/DEFAULT_SERVER_URL so compose
sees them; build-server target now passes -ldflags
'-X main.Version=... -X main.BuildDate=...' (was missing,
only build-cli/build-linux/release had it).
- cmd/server/main.go: default Version 'dev' instead of stale '1.7.0'
so unflagged builds are obviously unversioned.
Web UI:
- SidebarLayout: add 'API Docs' entry linking to /docs with the
JWT in ?token= query string (Scalar UI propagates it). Opens in
new tab. Uses BookOpen + ExternalLink icons.
OAuth login icons: already implemented in Login.tsx — buttons
render conditionally from /auth/providers response. To enable,
set OAUTH_GOOGLE_CLIENT_ID / OAUTH_GITHUB_CLIENT_ID (and matching
SECRET) on the server; icons appear automatically.
0 commit comments