Show banner when app is built from source
- Dominant language
- TypeScript
- Stars
- 481
- Forks
- 108
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 7
Description
When running the app locally (e.g., `vite dev` or `docker build` without version info), users should see a banner indicating they are on a **source build**.
### Proposal
- Detect missing `APP_VERSION` or mark via env var `IS_SOURCE_BUILD=true`.
- Show banner in the UI: "Running a local development build".
- Should not appear in CI/CD release images.
### Acceptance Criteria
- [ ] Banner appears for local/dev builds with no release version.
- [ ] Banner is absent in Docker images built by CI/CD pipelines.
Contributor guide
Research direction
Start by tracing how `APP_VERSION` and `IS_SOURCE_BUILD` could be supplied during `vite dev` and `docker build`, then locate the UI entry point that can display the banner. Verify the banner appears for local builds without release version information and remains absent from CI/CD release images.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, react, typescript, vite
- Domain
- build-system, devops, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100