Skip to content

feat: add devMode configuration to app settings endpoint #99

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025

Conversation

atyrode
Copy link
Contributor

@atyrode atyrode commented May 28, 2025

This enables the frontend to disable posthog initialization, which in turns was obscuring the browser console logs during development.

  • Introduced a new devMode property in the app configuration, allowing for conditional initialization of PostHog analytics based on the development environment.
  • Updated the App component to check for devMode before initializing PostHog, enhancing control over analytics in development settings.
  • Modified the AppConfig interface to include the new devMode boolean property for type safety.

- Introduced a new `devMode` property in the app configuration, allowing for conditional initialization of PostHog analytics based on the development environment.
- Updated the App component to check for `devMode` before initializing PostHog, enhancing control over analytics in development settings.
- Modified the AppConfig interface to include the new `devMode` boolean property for type safety.
@atyrode atyrode merged commit e26d47a into main May 28, 2025
1 check passed
@atyrode atyrode deleted the improve-frontend-devmode branch May 28, 2025 13:18
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.

1 participant