mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 18:07:17 +01:00
b15232a9ef
* wip: support test_ api key * Renamed test_environment property to * Added Prod/Test switch to determine which environment to show data for * moved environment toggle behind feature flag * corrected key name to standard $ names * Moved hidden filters to PropertyKeyInfo for improved clarity * fix typing * proposed UI * Renamed to ; Changed to a string and added environment const types: production, test; Moved into a hidden filter along with environment types for the frontend; Corrected tests to use environment constants; is no longer set by default but only when test_ is supplied in the apiKey or is manually supplied; Moved environment to navigationLogic; * Added filter for test environments so that when it's enabled all test environments are filtered out * Remove component if feature flag for test-environment is enabled * adjust style of tooltip * adjust UI based on @corywatilo's input * implemented toggle functionality * Made Environments an enum for clarity * Moved environment constants to constants.py for consistency * Moved Environments into constants for consistency * Using parameter destructuring for better syntax * Make sure type is set as a string * Removed test filters * Created _clean_token to ensure test_ is removed from all the places * Bug fixes for adding filter property so that it work properly * Show test account filter * ensure token isn't None so that mypy checks pass * Corrected css selector syntax * removed quote since it's not needed * Corrected cypress test by excluding featureFlag usage on shared dashboard scene * Fixed test * corrected syntax style issues Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com> Co-authored-by: Buddy Williams <buddy@Buddys-MacBook-Pro.local> |
||
---|---|---|
.. | ||
fixtures | ||
integration | ||
plugins | ||
support | ||
wait.py |