-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat(ui) Implement deleting of page modules when necessary #14165
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
base: master
Are you sure you want to change the base?
Conversation
✅ Meticulous spotted 0 visual differences across 1424 screens tested: view results. Meticulous evaluated ~10 hours of user flows against your PR. Expected differences? Click here. Last updated for commit 21af36c. This comment will update as new commits are pushed. |
Bundle ReportChanges will increase total bundle size by 407 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: datahub-react-web-esmAssets Changed:
Files in
|
❌ 7 Tests Failed:
View the top 2 failed test(s) by shortest run time
View the full list of 1 ❄️ flaky tests
To view more test analytics, go to the Test Analytics Dashboard |
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! Just need to fix some tests
// keep this in sync with PageModuleService.java | ||
export const DEFAULT_MODULE_URNS = [ | ||
'urn:li:dataHubPageModule:your_assets', | ||
'urn:li:dataHubPageModule:your_subscriptions', |
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.
Do we want to keep subscriptions in OSS here?
Maybe we can remove from both here and PageModuleService
for OSS
This PR implements actually deleting modules that are removed from a template when we should The only time we should NOT delete a module that we are removing from a template is:
Also fixes an auth bug in the delete endpoint for global template deletion.