Problem/Motivation
When user click the update button or rebuild button, there is no confirmation block.
Steps to reproduce
Click the update button or rebuild button on the operations page.
URL: /admin/content/kb/MODEL_NAME/operations
Proposed resolution
It would be nice if module display a confirmation block before user submit on the update or rebuild button.
Issue fork quickchat-3281814
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
tanashin-kishimotoComment #3
eleonelThanks Tanashin, I can see the following message after updating or rebuilding:
Do you mean something else?
Comment #4
tanashin-kishimotoComment #5
tanashin-kishimoto@eleonel
My apologies, it was my mistake. The button does give feedback and a status message.
I have updated the issue's name and description for the confirmation block as a feature request.
Thank you
Comment #6
eleonelComment #8
eleonelHi Tanashin, I improved the feedback to users when we have some kind of error, please check.
Comment #9
tanashin-kishimoto@eleonel
Add confirmation block when update or rebuild the model
AND
Improve message to user after execution update/rebuild actions
Is totally a different issue.
Could you please keep these issues for the confirmation block?
Comment #10
eleonelComment #11
eleonelComment #12
tanashin-kishimotoComment #13
eleonelHi Tanashin, please review the attached patch.
Comment #14
tanashin-kishimoto@eleonel,
Thank you for your patch.
Patch work, I mark this issue as reviewed.
Although, we could improve the user experience by splitting the confirmation block to another page.
For example;
1. User click the update model button.
2. Drupal send to a confirmation page.
3. User click confirmation block.
4. Model update.
What do you think?
Comment #15
tanashin-kishimotoComment #16
eleonelAwesome, I will merge the fix for now and take your idea from #14 for future UX improvements discussions.
Comment #19
eleonelComment #21
naveenvalechaPR looks good
Comment #23
eleonel