Skip to content

Commit 83128ea

Browse files
authored
feature flags (#1010)
* feature flags * Enhance feature flag management by introducing condition sets and runtime types This commit adds support for condition sets in feature flags, allowing for more granular control over feature rollout. It introduces a new runtime type to specify whether a feature flag is applicable on the client, server, or both. Additionally, the database schema is updated to accommodate these changes, ensuring that the feature flag system is more flexible and robust. * Update translations for multiple languages to enhance API endpoint and filter management This commit updates the language files for Czech, German, English, Spanish, French, Italian, and Japanese, adding new keys and translations related to API endpoints, filters, and error messages. The changes improve the user experience by providing clearer instructions and feedback in various languages, ensuring consistency across the application. * Update translations and enhance feature flag editor UI This commit updates language files for multiple languages, adding new keys and translations to improve user experience. Additionally, it enhances the UI of the feature flag editor by introducing helper text for condition sets, improving layout consistency, and adding icons for better visual representation. These changes aim to provide clearer instructions and a more intuitive interface for managing feature flags. * Update feature flag editor with JSON payload support and UI enhancements This commit introduces a new JSON payload editor in the feature flag management interface, allowing users to add and edit payloads more intuitively. It also enhances the UI by improving layout consistency and adding icons for better visual representation. Additionally, translations for multiple languages are updated to reflect these changes, ensuring a cohesive user experience across the application. * Add new feature flag keys and update translations for multiple languages * Add feature flags support in documentation and API This commit introduces comprehensive documentation for feature flags, including usage examples in the tracking script and API specifications. It also updates the tagging documentation to reference feature flags for runtime value selection. Additionally, the server-side implementation is enhanced with regex validation for feature flag rules and improved evaluation methods, ensuring robust handling of feature flags in analytics. * Fix feature flag evaluation route by removing authentication middleware for specific endpoint * add experiments * Update translations for multiple languages, adding new keys and improving existing ones for better user experience. This includes enhancements in the feature flag management interface and updates to various language files, ensuring consistency and clarity across the application. * Add "experiments" to the meta.json configuration for enhanced feature management * Enhance CreateExperimentWizard component by adding state management for flag key and goal name touch events. Update form handling to conditionally set flag key and goal name based on user interaction. Refactor validation logic to improve user experience during experiment configuration. * Refactor CreateExperimentWizard component by removing the review step and updating validation logic. Enhance feature flag dialog with code snippet generation for JavaScript and TypeScript, improving user experience in managing feature flags. Update translations across multiple languages to ensure consistency and clarity. * Add feature flag methods to Rybbit interface This commit introduces new methods to the Rybbit interface for managing feature flags, including flag evaluation, payload retrieval, and readiness callbacks. These additions enhance the functionality for feature flag management in the application, providing developers with tools to handle feature flags more effectively. * Update translations for multiple languages and enhance experiment results handling This commit adds a new translation key for displaying assigned visitors in the experiment results panel across various language files. Additionally, it introduces a measurement type in the experiment results API to differentiate between exposure and assignment metrics, improving the clarity and functionality of experiment data handling. * Refactor experiment results query to use goal sessions instead of goal events. This change improves the accuracy of conversion metrics by aggregating session data and ensuring that exposure counts are not inflated. The query now captures the last goal timestamp for better conversion tracking.
1 parent e1facee commit 83128ea

89 files changed

Lines changed: 13655 additions & 366 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

client/messages/cs.json

Lines changed: 217 additions & 26 deletions
Large diffs are not rendered by default.

client/messages/de.json

Lines changed: 217 additions & 26 deletions
Large diffs are not rendered by default.

client/messages/en.json

Lines changed: 217 additions & 26 deletions
Large diffs are not rendered by default.

client/messages/es.json

Lines changed: 217 additions & 26 deletions
Large diffs are not rendered by default.

client/messages/fr.json

Lines changed: 217 additions & 26 deletions
Large diffs are not rendered by default.

client/messages/it.json

Lines changed: 217 additions & 26 deletions
Large diffs are not rendered by default.

client/messages/ja.json

Lines changed: 217 additions & 26 deletions
Large diffs are not rendered by default.

client/messages/ko.json

Lines changed: 217 additions & 26 deletions
Large diffs are not rendered by default.

client/messages/pl.json

Lines changed: 217 additions & 26 deletions
Large diffs are not rendered by default.

client/messages/pt.json

Lines changed: 217 additions & 26 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)