-
Notifications
You must be signed in to change notification settings - Fork 58
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
Rename Panels => Observability Dashboard #380
Conversation
Signed-off-by: Peter Fitzgibbons <[email protected]>
// .then((res) => res.operationalPanel) | ||
// .catch((err) => { | ||
// console.error('Issue in fetching the operational panel to duplicate', err); | ||
// console.error('Issue in fetching the Observability Dashboard to duplicate', err); | ||
// }); |
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.
Can be removed, if not being used.
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.
Want to keep these until Toast re-imiplementation. THat's where I'll trap thte error handlers correctly.
// // if (renamedCustomPanel) renamedCustomPanel.name = editedCustomPanelName; | ||
// // return newCustomPanelData; | ||
// // }); | ||
// // setToast(`Operational Panel successfully renamed into "${editedCustomPanelName}"`); | ||
// // setToast(`Observability Dashboard successfully renamed into "${editedCustomPanelName}"`); | ||
// } catch (err) { | ||
// console.log( | ||
// 'Error renaming Operational Panel, please make sure you have the correct permission.', | ||
// 'Error renaming Observability Dashboard, please make sure you have the correct permission.', | ||
// 'danger' | ||
// ); | ||
// console.error(err.body.message); |
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.
Let's remove the commented code.
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.
i still see some panels, checking if they should also be changed?
const message = 'Issue in saving metrics to panels'; |
console.log('Error updating panel', { err, panel }); |
Line 190 in 09e0a63
setToast(`Error in adding ${newVisualizationTitle} visualization to the panel`, 'danger'); |
dashboards-observability/public/services/saved_objects/saved_object_savers/ppl/save_as_new_vis.ts
Line 99 in 09e0a63
text: `Visualization '${saveTitle}' has been successfully saved to operation panels.`, |
Signed-off-by: Peter Fitzgibbons <[email protected]>
Panel View SavedObject - Duplicate Action - protect render from invalid record - hide render while loading Signed-off-by: Peter Fitzgibbons <[email protected]> Co-authored-by: Peter Fitzgibbons <[email protected]>
Signed-off-by: Joshua Li <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
* Rename Panels => Observability Dashboard --------- Signed-off-by: Peter Fitzgibbons <[email protected]> Signed-off-by: Joshua Li <[email protected]> Signed-off-by: Shenoy Pratik <[email protected]> Co-authored-by: Peter Fitzgibbons <[email protected]> Co-authored-by: Joshua Li <[email protected]> Co-authored-by: Shenoy Pratik <[email protected]> (cherry picked from commit d05f136) Signed-off-by: Peter Fitzgibbons <[email protected]>
* Rename Panels => Observability Dashboard --------- Signed-off-by: Peter Fitzgibbons <[email protected]> Signed-off-by: Joshua Li <[email protected]> Signed-off-by: Shenoy Pratik <[email protected]> Co-authored-by: Peter Fitzgibbons <[email protected]> Co-authored-by: Joshua Li <[email protected]> Co-authored-by: Shenoy Pratik <[email protected]>
Description
Rename all references to Observability Dashboard
Includes OSD-core Dashboard registration of Observabiltiy Dashboards to Dashboards / Dashboards List
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.