Repository navigation
mgr/dashboard: Pool deletion enhancements - #70643
Conversation
| *ngIf="available === false" | ||
| title="iSCSI Targets not available" | ||
| i18n-title | ||
| alertTitle="iSCSI Targets not available" |
There was a problem hiding this comment.
need to chnage as it was matching with html "title" attribute and not showing up as input prop.
|
Great addition and I like the pattern as well and it could be followed across. The only thing is we need to enhance text to say why it was disabled. Also the resource we are trying to delete is not mentioned, apart from typing it. So it should be clear on which resource are we trying to delete. |
Sure, there are inconsistencies as pointed offline, I am updating PR after syncing with Chandan. Thanks for review! |
568980d to
ea5928f
Compare
| @@ -0,0 +1,59 @@ | |||
| <cds-modal | |||
There was a problem hiding this comment.
This is the modal that should be shown, carbon does not allow showing warnings/info like stuff, already being used by nvmeof , imported in shared so pools and nvmeof both can use. This is as per latest CDS.
| @Optional() | ||
| @Inject('callBackAtionObservable') | ||
| public callBackAtionObservable?: () => Observable<any>, | ||
| @Optional() @Inject('hasAssociatedResources') public hasAssociatedResources?: boolean, |
There was a problem hiding this comment.
to toggle between texts when resource has assoc resources and when its not.
|
jenkins test dashboard |
nmunet
left a comment
There was a problem hiding this comment.
looks good overall, few comments though
One observation is that the pool delete enable modal comes only one time, and if i try to delete any other pool then it directly allows me to delete it, is this intended? Also, we have a similar way of updation in configuration form where we say force edit a rgw configuration which is not editable by default (you can also check that modal), and maybe we can introduce force deletion here?
I keep seeing these alert panels with warning, information, danger texts at many places which we can remove
ea5928f to
398a1a8
Compare
Yes, thats the feature.
Create a tracker with image will review/drop in slack. As this PR is for pool deletion we cannot cover that but also dont want to miss it.
So as per CDS we dont need warnings in modals and should avoid that , the new shared guard modal in this PR should be used instead - open a tracker for this so we dont miss. <Image 2> |
398a1a8 to
2b99e81
Compare
I was talking about the word appearing |
| class="cds--type-body-01 cds--mb-05" | ||
| i18n | ||
| > | ||
| Pool deletion is currently disabled. Enable it to proceed with deletion. |
There was a problem hiding this comment.
While I like this, maybe we need to reword something here? Because it feels like you are doing it for a single pool and not globally? can we add something more to elaborate the action will be global?
I see now, again can you raise bugs for those ? |
|
jenkin test make check |
|
jenkins test make check |
30ab10f to
511ac81
Compare
Admin role: - show confirmation modal that pool deletion is disabled - allow enabling pool deletion - fix pool deletion text Pool mgr role - show a modal that pool deletion is disabled Signed-off-by: Afreen Misbah <[email protected]>
511ac81 to
d0add82
Compare
I checked this, its the default fallback added in when no title provided , may we should remove this fallback. |
Admin role:
Screencast.From.2026-07-29.18-07-44.mp4
Pool mgr role
Screencast.From.2026-07-29.17-52-19.mp4
Bug fixes
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.