-
Notifications
You must be signed in to change notification settings - Fork 30
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
feat: added the options to select via pvc and namespace for the breakdown card #905
feat: added the options to select via pvc and namespace for the breakdown card #905
Conversation
/assign @bipuladh |
a6648e9
to
89a8cad
Compare
...ages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.scss
Outdated
Show resolved
Hide resolved
...ages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.scss
Show resolved
Hide resolved
...ages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.scss
Outdated
Show resolved
Hide resolved
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Outdated
Show resolved
Hide resolved
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Outdated
Show resolved
Hide resolved
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Outdated
Show resolved
Hide resolved
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Show resolved
Hide resolved
<CardTitle id="breakdown-card-title"> | ||
{t('Requested capacity')} | ||
<FieldLevelHelp testId="breakdown-card-helper-text"> | ||
{t( | ||
'This card shows the used capacity for different Kubernetes resources. The figures shown represent the Usable storage, meaning that data replication is not taken into consideration.' |
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.
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.
cc @bipuladh
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.
@debjyoti-pandit with UX once...
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.
@SanjalKatiyar I have tagged you in a IBM slack thread where discussed the same with UX.
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 saw that... thanks for tagging again !
but that seems diff to me to what I pointed here... term "Requested capacity" have 2 diff meaning at 2 diff places, if that's okay with UX we are good.
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.
sorry, didn't notice initially that you were part of the thread so tagged you again. and regarding the changes I am not quite clear on what are you suggesting.?
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Outdated
Show resolved
Hide resolved
top5MetricsStats.length > 0 && | ||
cephUsed && ( | ||
<CardBody className="odf-capacity-breakdown-card-pvc-description"> | ||
{t('Only showing PVCs that are being mounted on an active pod')} |
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.
this is true for all options (pods/stprageclass/project/pvc)...
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.
As I see in the UX, this is what is mentioned https://www.sketch.com/s/c43ed755-7832-4de4-84a0-4b4ce815f366/a/1KbRavk
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Outdated
Show resolved
Hide resolved
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Outdated
Show resolved
Hide resolved
packages/shared/dashboards/breakdown-card/breakdown-dropdown.tsx
Outdated
Show resolved
Hide resolved
packages/shared/dashboards/breakdown-card/breakdown-capacity.tsx
Outdated
Show resolved
Hide resolved
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Outdated
Show resolved
Hide resolved
...ages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.scss
Outdated
Show resolved
Hide resolved
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Outdated
Show resolved
Hide resolved
3df5f4d
to
fd552bc
Compare
fd0c3f4
to
c590b7e
Compare
f724301
to
8e40589
Compare
@SanjalKatiyar @bipuladh can we merge this today? |
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Outdated
Show resolved
Hide resolved
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Outdated
Show resolved
Hide resolved
packages/ocs/dashboards/persistent-internal/capacity-breakdown-card/capacity-breakdown-card.tsx
Outdated
Show resolved
Hide resolved
packages/shared/src/dashboards/breakdown-card/breakdown-body.tsx
Outdated
Show resolved
Hide resolved
8e40589
to
4ef731f
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bipuladh, debjyoti-pandit The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
solves: https://issues.redhat.com/browse/RHSTOR-3927
initial on-page load
initial on pvc selected but there is no PVC in the default namespace. and by default, it means the namespace which is the first of the namespace list alphabetically
when there is a PVC in the selected namespace
tooltip
dropdown
photos updated on 3rd July 16:42 force pushed