-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat(extension): allow hiding dapps based on feature flag config [LW-11883] #1653
base: feat/LW-11882-connect-to-dapp-radar
Are you sure you want to change the base?
feat(extension): allow hiding dapps based on feature flag config [LW-11883] #1653
Conversation
Allure Report
processReports: ❌ test report for 23122e20
|
a80d784
to
78be196
Compare
69822ea
to
9cf2359
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Leaving a few comments.
@@ -35,6 +35,9 @@ inputs: | |||
BLOCKFROST_PROJECT_ID_SANCHONET: | |||
description: 'SanchoNet Project ID for Blockfrost API usage' | |||
required: true | |||
DAPP_RADAR_API_KEY: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this change. Intentionally we want to set the api key only in the release job which does not use this action templeate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I think it was a rebase mistake.
(payloadsByFeatureTotal, featureFlagName) => ({ | ||
...payloadsByFeatureTotal, | ||
[featureFlagName]: false | ||
}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(payloadsByFeatureTotal, featureFlagName) => ({ | |
...payloadsByFeatureTotal, | |
[featureFlagName]: false | |
}), | |
(payloadsByFeatureTotal, featureFlagName) => { | |
payloadsByFeatureTotal[featureFlagName] = false; | |
return payloadsByFeatureTotal; | |
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, I agree. It has the same effect but optimized 👍🏻
- introduce Feature Flag payload validation - allow defining types for custom payloads - improve error handling - add new method PostHogClient.getFeatureFlagPayload()
9cf2359
to
23122e2
Compare
Quality Gate passedIssues Measures |
Checklist
Proposed solution
Testing
Change the
dapp-explorer
feature flag config and see how/if Dapps are rendered