Skip to content

Feature: Add Dashboard Base URL Configuration#243

Merged
vicsanity623 merged 2 commits intomainfrom
pyob-evolution-v1-1773794293
Mar 19, 2026
Merged

Feature: Add Dashboard Base URL Configuration#243
vicsanity623 merged 2 commits intomainfrom
pyob-evolution-v1-1773794293

Conversation

@pyob-bot
Copy link
Collaborator

Summary of Changes

This pull request introduces a new feature to src/pyob/autoreviewer.py by adding the ability to configure a DASHBOARD_BASE_URL. This constant is derived from the environment variable PYOB_DASHBOARD_URL and defaults to http://localhost:8000 if the environment variable is not set. This change allows for flexible deployment settings, making it easier to switch between different environments without altering the codebase.

Technical Impact

  • Environment Configuration: The application can now dynamically set the dashboard URL based on the deployment environment, improving usability across various setups.
  • Flexibility and Maintainability: By relying on an environment variable, the codebase becomes less dependent on hardcoded URLs, fostering easier maintenance and adaptability.
  • Backward Compatibility: Existing functionality remains unaffected as the environment variable is optional, and the default local URL is preserved.

No additional dependencies or external services are required for this feature. It enhances the application’s deployment flexibility, particularly useful for situations where the dashboard URL varies between development, testing, and production environments.

@vicsanity623 vicsanity623 merged commit 372bcbc into main Mar 19, 2026
1 check passed
@vicsanity623 vicsanity623 deleted the pyob-evolution-v1-1773794293 branch March 19, 2026 01:04
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.

2 participants