Skip to content

Rename Panels => Observability Dashboard#380

Merged
pjfitzgibbons merged 5 commits intomainfrom
observability-dashboard-naming
Apr 18, 2023
Merged

Rename Panels => Observability Dashboard#380
pjfitzgibbons merged 5 commits intomainfrom
observability-dashboard-naming

Conversation

@pjfitzgibbons
Copy link
Copy Markdown
Contributor

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

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com>
Comment on lines 148 to 151
// .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);
// });
Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Contributor Author

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.

Comment on lines 231 to 240
// // 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);
Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Member

@joshuali925 joshuali925 left a 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 });

setToast(`Error in adding ${newVisualizationTitle} visualization to the panel`, 'danger');

text: `Visualization '${saveTitle}' has been successfully saved to operation panels.`,

Peter Fitzgibbons and others added 4 commits April 18, 2023 11:17
Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com>
Panel View SavedObject
- Duplicate Action
- protect render from invalid record
- hide render while loading

Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com>
Co-authored-by: Peter Fitzgibbons <pjfitz@amazon.com>
Signed-off-by: Joshua Li <joshuali925@gmail.com>
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
@pjfitzgibbons pjfitzgibbons merged commit d05f136 into main Apr 18, 2023
pjfitzgibbons pushed a commit that referenced this pull request Apr 18, 2023
* Rename Panels => Observability Dashboard
---------

Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com>
Signed-off-by: Joshua Li <joshuali925@gmail.com>
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Co-authored-by: Peter Fitzgibbons <pjfitz@amazon.com>
Co-authored-by: Joshua Li <joshuali925@gmail.com>
Co-authored-by: Shenoy Pratik <sgguruda@amazon.com>

(cherry picked from commit d05f136)
Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com>
joshuali925 added a commit to joshuali925/dashboards-observability that referenced this pull request Apr 18, 2023
* Rename Panels => Observability Dashboard
---------

Signed-off-by: Peter Fitzgibbons <pjfitz@amazon.com>
Signed-off-by: Joshua Li <joshuali925@gmail.com>
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Co-authored-by: Peter Fitzgibbons <pjfitz@amazon.com>
Co-authored-by: Joshua Li <joshuali925@gmail.com>
Co-authored-by: Shenoy Pratik <sgguruda@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants