Skip to content
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

chore(uve): Add FF for Preview Mode #30623

Merged
merged 12 commits into from
Nov 12, 2024

Conversation

zJaaal
Copy link
Contributor

@zJaaal zJaaal commented Nov 11, 2024

This pull request introduces a new feature flag for UVE preview mode and integrates it into the existing system. The changes include updates to feature flag definitions, component additions, and modifications to the store to handle the new flag.

Feature Flag Updates:

  • Added FEATURE_FLAG_UVE_PREVIEW_MODE to FeaturedFlags in shared-models.ts.
  • Updated ConfigurationResource.java to include FEATURE_FLAG_UVE_PREVIEW_MODE in the list of feature flags.

Component Additions:

  • Created DotUveToolbarComponent with its HTML, SCSS, and TypeScript files. [1] [2] [3]

Store Modifications:

  • Added withFlags feature to handle the fetching and state management of feature flags in dot-uve.store.ts. [1] [2]
  • Created a new model and utility function for managing feature flags in flags/models.ts and flags/withFlags.ts. [1] [2]

Component Integration:

  • Integrated DotUveToolbarComponent into edit-ema-editor.component.html and updated SCSS accordingly. [1] [2]
  • Updated imports and component declarations in edit-ema-editor.component.ts to include the new toolbar component. [1] [2] [3]

This PR fixes: #30459

@zJaaal zJaaal marked this pull request as ready for review November 12, 2024 13:10
@zJaaal
Copy link
Contributor Author

zJaaal commented Nov 12, 2024

Screen.Recording.2024-11-12.at.5.10.51.PM.mov

@zJaaal zJaaal requested a review from rjvelazco November 12, 2024 20:35
@zJaaal zJaaal enabled auto-merge November 12, 2024 20:58
@zJaaal zJaaal added this pull request to the merge queue Nov 12, 2024
Merged via the queue into main with commit 474fab0 Nov 12, 2024
35 checks passed
@zJaaal zJaaal deleted the 30459-ftm-create-feature-flag-to-enable-new-preview-mode branch November 12, 2024 23:32
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.

FTM: Create Feature Flag to enable New Preview Mode
4 participants