Convert user form to React#8916
Conversation
2ae26b7 to
4a1034b
Compare
a959e72 to
ffd13db
Compare
444bd81 to
0b91982
Compare
|
This pull request has been automatically marked as stale because it has not been updated for at least 3 months. If these changes are still valid, please remove the |
f181f47 to
55e116c
Compare
|
as mentioned elsewhere, passing |
d34575a to
63b757b
Compare
5e606da to
d8d1a21
Compare
d8d1a21 to
f8f27ac
Compare
|
@elsamaryv can you please review again |
LGTM. @jrafanie do you want to take another look at this PR? |
| }); | ||
| } | ||
| miqSparkleOff(); | ||
| } else { |
There was a problem hiding this comment.
These 3 conditional blocks look very similar. It's hard to see the difference at a glance. How is this one 👇 different then the first one ☝️? I believe the first one is actually a "edit" and the one below is a "create". The second one has no credentials change. They all say "was saved" so it's not clear. We should consider refactoring and make the differences more obvious.
There was a problem hiding this comment.
Yeah the first 2 branches are edit (1 with password change and 1 without) and the last one is to create user. All 3 say 'was saved' as this is what the old form did I believe.
There was a problem hiding this comment.
Ok, maybe it can be refactored in a followup so it's clearer what's different. We can change what's presented in a followup if it makes sense, such as is if it's consistently done that way elsewhere.
7a4b073 to
c49e015
Compare
jrafanie
left a comment
There was a problem hiding this comment.
LGTM. The other refactorings can be done in a followup.
8f2b75c to
311a08c
Compare
|
Checked commits GilbertCherrie/manageiq-ui-classic@74105ae~...311a08c with ruby 3.3.10, rubocop 1.86.0, haml-lint 0.72.0, and yamllint 1.37.1 app/controllers/ops_controller/ops_rbac.rb
app/views/ops/_rbac_user_details.html.haml
|
|
@GilbertCherrie I'm going to merge. I didn't notice the easy cops like trailing whitespace. Can you review and do a followup on the easy ones? Thanks! |
Fixes: and #6837, #6903, and #6904
Converted user form to React and added Cypress tests for the form.
Before:
Edit Admin User Form:




Add User Form:
Edit User Form:
Copy User Form:
After:
Edit Admin User Form:




Add User Form:
Edit User Form:
Copy User Form: