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

Enable features from backend feature flags #8512

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

shivankacker
Copy link
Member

@shivankacker shivankacker commented Sep 9, 2024

Proposed Changes

  • Fixes Use the new feature flag API for scribe #8505
  • Adds a useFeatureFlags hook for getting facility and user features from the backend.
  • HCX and ABDM can be enabled this way, but only scribe is supported as of yet
  • NOTE: Flags are cached, and will take time to update. Please execute redis-cli flushall when you test it to clear cache.

@ohcnetwork/care-fe-code-reviewers

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

@shivankacker shivankacker requested a review from a team as a code owner September 9, 2024 13:34
Copy link

netlify bot commented Sep 9, 2024

Deploy Preview for care-ohc ready!

Name Link
🔨 Latest commit b058330
🔍 Latest deploy log https://app.netlify.com/sites/care-ohc/deploys/66edd10de54d15000809037d
😎 Deploy Preview https://deploy-preview-8512--care-ohc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

cypress bot commented Sep 9, 2024

CARE    Run #3418

Run Properties:  status check passed Passed #3418  •  git commit b0583300a4: Enable features from backend feature flags
Project CARE
Branch Review facility-features
Run status status check passed Passed #3418
Run duration 03m 09s
Commit git commit b0583300a4: Enable features from backend feature flags
Committer Shivank Kacker
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 120
View all changes introduced in this branch ↗︎

@shivankacker shivankacker self-assigned this Sep 9, 2024
Copy link

👋 Hi, @shivankacker,
Conflicts have been detected against the base branch. Please rebase your branch against the base branch.


This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there.

@github-actions github-actions bot added the merge conflict pull requests with merge conflict label Sep 17, 2024
@github-actions github-actions bot added Deploy-Failed Deplyment is not showing preview and removed merge conflict pull requests with merge conflict labels Sep 20, 2024
@sainak sainak removed waiting for backend Deploy-Failed Deplyment is not showing preview labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use the new feature flag API for scribe
3 participants