Repository navigation
mgr/dashboard: [Dashboard] Incorrect action button label "Edit User" instead of "Save" in Edit User page - #68845
Conversation
5398cee to
e6bac4c
Compare
3e29872 to
80b9e05
Compare
afreen23
left a comment
There was a problem hiding this comment.
@pujaoshahu have we covered entire dashboard ? If not we should do, as that will make things inconsistent. Thanks for the fix.
@pujaoshahu can you update ? |
I have only fixed the components mentioned in the Jira ticket. I still need to check the remaining ones. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
Please rebase. |
1 similar comment
|
Please rebase. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
…instead of "Save" in Edit User page Fixes: https://tracker.ceph.com/issues/76507 Signed-off-by: pujaoshahu <[email protected]> Summary: Updated submit button labels in edit forms to display "Save" instead of "Edit User", "Edit Pool", or "Edit Host" for better UX consistency, while keeping form titles unchanged. Modified Files role-form.component.ts: Added submitAction property to control submit button label by mode; edit mode uses Save changes, create mode uses Create Role. role-form.component.html: Submit button now binds to submitAction instead of action/resource text. role-form.component.spec.ts: Added tests for submitAction behavior in create and edit modes. user-form.component.ts: Uses submitAction property; edit mode label updated to Save changes. user-form.component.html: Submit button uses submitAction binding. user-form.component.spec.ts: Added/updated tests covering submitAction behavior. pool-form.component.ts: Uses submitAction property; edit mode label updated to Save changes. pool-form.component.html: Submit button uses submitAction binding. pool-form.component.spec.ts: Updated submit label test expectation for edit mode. hosts.component.ts: Edit host modal submit button text changed to Save changes. hosts.component.spec.ts: Updated test to match Save changes button text. app.constants.ts: In the current workspace snapshot, there is no SAVE constant added under ActionLabelsI18n. Signed-off-by: pujaoshahu <[email protected]> Signed-off-by: pujashahu <[email protected]>
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
…ntacle backport Add SAVE_CHANGES label constant to ActionLabelsI18n (backported from PR ceph#68845) required by PR ceph#70937 cherry-pick. Cherry-pick PR ceph#70769 adds normalizeInitiators and isSubsystemAllowAllHosts to nvmeof model required by PR ceph#71291. Signed-off-by: Afreen Misbah <[email protected]>
Screencast.From.2026-05-13.15-28-54.mp4
Fixes: https://tracker.ceph.com/issues/76507
Signed-off-by: pujaoshahu [email protected]
Summery:
Updated submit button labels in edit forms to display "Save changes" instead of "Edit User", "Edit Pool", or "Edit Host" for better UX consistency, while keeping form titles unchanged.
Modified Files
role-form.component.ts: Added submitAction property to control submit button label by mode; edit mode uses Save changes, create mode uses Create Role.
role-form.component.html: Submit button now binds to submitAction instead of action/resource text.
role-form.component.spec.ts: Added tests for submitAction behavior in create and edit modes.
user-form.component.ts: Uses submitAction property; edit mode label updated to Save changes.
user-form.component.html: Submit button uses submitAction binding.
user-form.component.spec.ts: Added/updated tests covering submitAction behavior.
pool-form.component.ts: Uses submitAction property; edit mode label updated to Save changes.
pool-form.component.html: Submit button uses submitAction binding.
pool-form.component.spec.ts: Updated submit label test expectation for edit mode.
hosts.component.ts: Edit host modal submit button text changed to Save changes.
hosts.component.spec.ts: Updated test to match Save changes button text.
app.constants.ts: In the current workspace snapshot, there is no SAVE constant added under ActionLabelsI18n.
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.