Skip to content

Conversation

@zanesq
Copy link
Collaborator

@zanesq zanesq commented Oct 9, 2025

Summary

Added subtle environment badge in bottom left sidebar if dev or alpha to help distinguish between the production app and local dev environment.

Verified locally does not show in the bundled app.

Screenshot 2025-10-09 at 9 12 21 AM Screenshot 2025-10-09 at 9 04 54 AM Screenshot 2025-10-09 at 9 05 24 AM

@zanesq zanesq changed the title Add dev and alpha environnment indicator Add dev and alpha environment indicator Oct 9, 2025

const EnvironmentBadge: React.FC = () => {
const isAlpha = process.env.ALPHA;
const isDevelopment = import.meta.env.DEV;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we set these? there's also a test to see if this has node things set

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup import.meta.env.DEV is provided by Vite
process.env.ALPHA is set with "start-alpha-gui": "ALPHA=true npm run start-gui" in package.json

@zanesq zanesq merged commit ba6d43e into main Oct 9, 2025
11 checks passed
@zanesq zanesq deleted the zane/environment-badge branch October 9, 2025 18:15
@alexhancock alexhancock mentioned this pull request Oct 9, 2025
tlongwell-block added a commit that referenced this pull request Oct 10, 2025
* origin/main:
  Improve Rust analysis output for `analyze` tool (#5072)
  Remove duplicate prepare_reply_context call (#5063)
  install react dev tools in development (#4979)
  Doc: Added powershell installation link to the guide (#5012)
  draft of new blog post about automating more automation (#5038)
  Subagent extension selection behavior fix (#5093)
  Add dev and alpha environment indicator (#5092)
  docs: add content carousel (#5086)
  Applied server side call to parse and save recipe (#5022)
  feat(prompt-library): add Code Documentation Migrator intermediate prompt (#4996) (#5051)
  Add Messy Column Fixer recipe (#5062)
  Cleanup temp files (#5081)
  add openmetadata recipe (#5076)
  Fix Hacktoberfest Leaderboard (#5080)
  adding brand guidelines to AGENTS.md (#4887)
  Fix: Prevent cross-contamination of cache data across analysis modes for `analyze` tool (#5075)
  fix: remove circular reference (#5018)
  Introduced a new prompt for content amplification that integrates multi-step workflows using official Goose extensions. Closes Issue #4998 (#5050)
  Add hint for focus mode when used on file paths for `analyze` tool (#5069)
  fix: use dynamic port allocation for OAuth server (#5019)
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.

3 participants