-
Notifications
You must be signed in to change notification settings - Fork 52
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
[Enhancement] Deregister dashboards, applications, logs in MDS #2097
[Enhancement] Deregister dashboards, applications, logs in MDS #2097
Conversation
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
core.application.register({ | ||
id: observabilityApplicationsID, | ||
title: observabilityApplicationsTitle, | ||
category: OBSERVABILITY_APP_CATEGORIES.observability, | ||
order: observabilityApplicationsPluginOrder, | ||
mount: appMountWithStartPage('applications'), | ||
}); | ||
} |
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.
What happens when we have enabled the new navigation and MDS together? Do have to modify plugin_nav
file to not register applications there where MDS is enabled?
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.
It does not break anything as the core navigation group just fails to find observabilityApplicationsID and doesn't register anything to the left side. It would be cleaner to handle this condition though.
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.
just fails to find observabilityApplicationsID
@TackAdam @sumukhswamy Is this leading to some error on browser or Dashboards app? If so then let's handle that in this PR
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.
no error seen
Signed-off-by: Sumukh Swamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
* Deregister plugins in NEO Signed-off-by: sumukhswamy <[email protected]> * updated the comment Signed-off-by: sumukhswamy <[email protected]> * Deregister plugins in NEO Signed-off-by: sumukhswamy <[email protected]> --------- Signed-off-by: sumukhswamy <[email protected]> Signed-off-by: Sumukh Swamy <[email protected]> (cherry picked from commit 428cc98) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
#2104) * Deregister plugins in NEO * updated the comment * Deregister plugins in NEO --------- (cherry picked from commit 428cc98) Signed-off-by: sumukhswamy <[email protected]> Signed-off-by: Sumukh Swamy <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
De-register plugins when in NEO
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.