-
Couldn't load subscription status.
- Fork 365
Gal/311498 visualize events to physical storage page #8429
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
Gal/311498 visualize events to physical storage page #8429
Conversation
f7b5551 to
020213b
Compare
|
@galoiring if this is dependent on other PRs can you please list them in the description? |
This PR isn't depend on other PR's.. |
Isn't that widget not merged yet? ManageIQ/manageiq#22081 |
if you meant it regarding to PR #22081 , this has similarity but operate in a different way. |
app/javascript/components/provider-dashboard-charts/events-pie-chart/index.js
Show resolved
Hide resolved
Do we need both? I'm confused what these two do and why do them two different ways |
In the general dashboard we wish to display general distribution of fixed vs unfixed event for all managers and storage systems. |
|
@jeffibm @GilbertCherrie @DavidResende0 can you guys review this? I'm surprised how much ruby code is required here I thought the report definitions were yaml but I might be missing something. |
|
Hey @galoiring, could you please squash the commits if it's ready to be reviewed & merged? Could you also provide a before/after screenshot of full page for sprint review documentation purpose. |
I will squash right now. p.s |
c27f846 to
1e4bb46
Compare
|
Hi @galoiring , could you please add few steps on how/where to check this in UI. |
@jeffibm |
|
can you post a full-page screenshot here? |
|
@jeffibm |
great..could you also have a look into the lint errors please.. |
1e4bb46 to
fab9ba9
Compare
6f4b889 to
f35bd31
Compare
@jeffibm |
|
@GilbertCherrie @agrare @jeffibm |
hey, could you please have a look at the lint error by making use of the rubucop feature as mentioned in the above comment. once that is done we can merge this PR... |
f35bd31 to
3402d2b
Compare
@jeffibm |
3402d2b to
6766129
Compare
…unfixed event by storage system.
6766129 to
a012cbc
Compare
|
Checked commit Autosde@a012cbc with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint app/views/ems_storage/_show_block_storage_dashboard.html.haml |
It was added in a just merged PR: ManageIQ#8429 There is no need for interpolation here. Fixes a brakeman warning: Confidence: Medium Category: SQL Injection Check: SQL Message: Possible SQL injection Code: EmsEvent.where("ems_id=#{@ems_id}") File: ../../.gem/ruby/2.7.6/bundler/gems/manageiq-ui-classic-dd7330eae02e/app/services/ems_storage_dashboard_service.rb Line: 102
|
@galoiring I've opened a PR to fix a security scan that started failing after this was merged, see: #8455 |
|
I don't think this was ready for merge, unfortunately - I still don't understand the use case. I'm also concerned this isn't going through the API, or perhaps it is? I don't understand how the chart gets the data. |
|
@agrare |
|
Hey @galoiring you can't reopen a PR that has been merged but you can create a new branch and open a new PR |
iv opened a new one. |
It was added in a just merged PR: ManageIQ#8429 There is no need for interpolation here. Fixes a brakeman warning: Confidence: Medium Category: SQL Injection Check: SQL Message: Possible SQL injection Code: EmsEvent.where("ems_id=#{@ems_id}") File: ../../.gem/ruby/2.7.6/bundler/gems/manageiq-ui-classic-dd7330eae02e/app/services/ems_storage_dashboard_service.rb Line: 102




This PR is about the new widget added to the storage system manager page , that shows the event on a graph (per storage system) that show the distribution between fix and unfixed event.