Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

feat(Resource-status): Add Performance page button #10093

Merged
merged 5 commits into from
Sep 7, 2021

Conversation

jdelpierre
Copy link
Contributor

@jdelpierre jdelpierre commented Sep 6, 2021

Add a new button to access performance page from resource status detail panel, graph section.

Refs: MON-10900

Screenshot with the button on the right panel
image

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software
  • Updating documentation (missing information, typo...)

Target serie

  • 20.04.x
  • 20.10.x
  • 21.04.x
  • 21.10.x (master)

How this pull request can be tested ?

Please describe the procedure to verify that the goal of the PR is matched. Provide clear instructions so that it can be correctly tested.

Any relevant details of the configuration to perform the test should be added.

Checklist

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have made corresponding changes to the documentation.
  • I have rebased my development branch on the base branch (master, maintenance).

Add a new button to access performance page from resource status detail panel, graph section.

Refs: MON-10900
@bdauria
Copy link
Contributor

bdauria commented Sep 7, 2021

Add a new button to access performance page from resource status detail panel, graph section.

Refs: MON-10900

Screenshot with the button on the right panel
image

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software
  • Updating documentation (missing information, typo...)

Target serie

  • 20.04.x
  • 20.10.x
  • 21.04.x
  • 21.10.x (master)

How this pull request can be tested ?

Please describe the procedure to verify that the goal of the PR is matched. Provide clear instructions so that it can be correctly tested.

Any relevant details of the configuration to perform the test should be added.

Checklist

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have made corresponding changes to the documentation.
  • I have rebased my development branch on the base branch (master, maintenance).

@jdelpierre I was wondering if we could try to shift the title to maintain it centered within the panel width?

@jdelpierre
Copy link
Contributor Author

I was wondering if we could try to shift the title to maintain it centered within the panel width?

Hum, Yes, I test to change the CSS props on the line concerned

@jdelpierre
Copy link
Contributor Author

I have change CSS props to align the title
image

@bdauria bdauria requested review from bdauria and Thebarda September 7, 2021 07:44
@sonarqube-decoration
Copy link

SonarQube Quality Gate:
Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@jeremyjaouen jeremyjaouen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for translation

@jdelpierre jdelpierre merged commit 0499fc0 into develop Sep 7, 2021
@jdelpierre jdelpierre deleted the MON-10900-button-link-to-perf-page branch September 7, 2021 08:44
jdelpierre added a commit that referenced this pull request Sep 7, 2021
* feat(Resource-status): Add Performance page button

Add a new button to access performance page from resource status detail panel, graph section.

Refs: MON-10900

* change naming of the label variable performance page

* replace button to iconButton and add useHistory router

* change the label of the link button

* Change CSS Props to align the title on graph panel
jdelpierre added a commit that referenced this pull request Sep 9, 2021
* feat(Resource-status): Add Performance page button

Add a new button to access performance page from resource status detail panel, graph section.

Refs: MON-10900

* change naming of the label variable performance page

* replace button to iconButton and add useHistory router

* change the label of the link button

* Change CSS Props to align the title on graph panel
jdelpierre added a commit that referenced this pull request Sep 9, 2021
* feat(Resource-status): Add Performance page button

Add a new button to access performance page from resource status detail panel, graph section.

Refs: MON-10900

* change naming of the label variable performance page

* replace button to iconButton and add useHistory router

* change the label of the link button

* Change CSS Props to align the title on graph panel
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants