Problem/Motivation
This is a follow up to #3024682: Migrate UI - add human-friendly module names to the Review form.
Here we want to "make the styling 10,000% better and match the Upgrade Status module" , as webchick said in comment #54 of that issue.
I am setting the status to Major since this will be a big improvement to the review form.
Proposed resolution
The details of the suggestion by webchick, from #45 are:
We could handle that bit like Upgrade Status module does (https://www.drupal.org/files/project-images/UpgradeStatus8UI.png), which is:
1) A full table of all modules in alphabetical order (could indeed group sub-modules under package if you'd like; Update Status module does that: https://www.drupal.org/files/issues/2019-10-09/d8-update-manager.png)
2) Colour + icon the table rows according to their statuses
3) Allow filtering the table to show only rows with a problem
Remaining tasks
Decide if the table should have 2 or 3 columns?- Modules grouped by project. Functional but needs work from front-end folks.
- Add colour + icon. Functional but needs work from front-end folks
- Add a filter to show only rows with a problem.
User interface changes
Yes, the Migrate UI review page /upgrade/review
Screenshots
Before

After


API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #32 | 3088215-32.patch | 31.62 KB | quietone |
| #32 | interdiff-28-32.txt | 4.79 KB | quietone |
| #28 | interdiff_18-28.txt | 10.63 KB | vsujeetkumar |
| #28 | 3088215_28.patch | 38.22 KB | vsujeetkumar |
| #18 | 3088215-18.patch | 27.09 KB | quietone |
Comments
Comment #2
quietone commentedThis is the patch from #50 of the parent issue.
Comment #4
quietone commentedLet's see if I can fix some of the failing tests.
This brings in patch #63 from #3024682: Migrate UI - add human-friendly module names to the Review form, which although still at NR it should be RTBC on the next review (hopefully).
Comment #6
quietone commentedThat fixes all the migration related tests. The remaining test is about the css files and outside my area of knowledge. This needs some front end folks to fix and improve.
Comment #7
quietone commentedComment #8
damienmckennaThat's quite a nice improvement!
Comment #9
benjifisherWe discussed this issue briefly in the Usability meeting. Mostly we were talking about #3024682: Migrate UI - add human-friendly module names to the Review form.
I am updating the issue summary with the most recent screenshot from that issue.
Comment #11
quietone commentedNeeds a reroll now that #3024682: Migrate UI - add human-friendly module names to the Review form is in
Comment #12
hardik_patel_12 commentedworking on it.
Comment #13
hardik_patel_12 commentedReroll for 9.1.x-dev and solving coding standard error also.
Comment #15
ridhimaabrol24 commentedComment #16
quietone commentedThanks for the rerolls.
Duplicate line
These are supposed to be in an 'source_module' array.
Comment #17
ridhimaabrol24 commentedComment #18
quietone commentedJust trying to fix coding standard errors.
Comment #20
jyotimishra-developer commentedComment #21
quietone commented@jyotimishra123, my apologies. I completely missed that this was assigned to you.
Comment #22
jyotimishra-developer commentedComment #23
jyotimishra-developer commentedHi @quieton, Hope you fine!!
no issues, you can continue working on this issue.
Comment #24
quietone commentedI don't know how to fix these errors, they are about themes and static overrides, and I know nothing about themes. And not enough about css to fix the coding standard errors. Can someone point me to the docs where I should start?
Comment #25
quietone commentedOne of the errors is from Drupal\KernelTests\Core\Theme\StableDecoupledTest and there is an issue to remove that test. #3138652: Remove StableDecoupledTest
Comment #26
lauriiiDrupal\KernelTests\Core\Theme\Stable9LibraryOverrideTestis failing because the patch is adding a new library without having a copy of that in Stable. I'm wondering if some of the CSS should be added in Seven / Claro since the screenshots are only showing Seven. If we want to keep the CSS in the module, we should add a copy of the file to Stable which should make the test pass.Comment #27
vsujeetkumar commentedComment #28
vsujeetkumar commentedFixed test, Please review.
Comment #29
steinmb commentedComment #30
vsujeetkumar commentedComment #31
benjifisherI will review the changes to ReviewForm.php later, but for now I have a few requests that will simplify this patch.
We do not need to add copies of the SVG files. The patch already includes this in a context line, referring to the existing copies:
We should do the same in the new CSS files instead of this:
Do we really need a 219-line CSS file to style this table? Can’t we reuse some existing CSS rules?
The indentation should be fixed, but not as part of this issue. In other words, this change is out of scope.
Same comment here:
Same comment here. All this does is fix a missing EOL.
Out of scope:
Comment #32
quietone commented@benjifisher, thanks for the review.
#31. 1, 3, 4, 5, 6,. Fixed. It is a shame I didn't notice the out of scope changes way back in my review in #16.
#31.2. Can't answer that. I know extremely little css. I just ported what was in the Upgrade Status Project.
Comment #33
benjifisherNow that #3024682: Migrate UI - add human-friendly module names to the Review form has been fixed, we do not need to include caveats about it, so I am updating the issue summary. The question about two or three columns is also obsolete.
Comment #34
benjifisher@quietone:
Thanks for addressing the points I made in #31. That simplifies the patch quite a bit.
I think there are several things we need to do before this issue can go in, so I am setting the status back to NW. I will try to start with the most important points.
/admin/reports/updates/update) the best model to follow? It does not have any details elements (a.k.a. collapsible fieldsets). Maybe a better model is the Extend page (/admin/modules). That already has a table inside a details element. The main differences are that the header row of the Extend page table is visually hidden and that the column widths are closer to equal on the review form. (On the Extend page, the first column is so narrow, containing just a checkbox, that you might call it a two-column table.)spanused to add those classes) are now obsolete.Comment #35
benjifisherWe discussed this issue at the #3156568: Drupal Usability Meeting 2020-07-07. (It may be a while before a recording of the meeting is posted to that issue.)
Others at that meeting confirmed my concern in #34.2. That is, the existing organization into two tables (modules that will be updated and modules that will not be updated) is more accessible/usable than the reorganization in the current patch.
FWIW, the contrib Upgrade Status module, which we are using as a model for this issue, is planning to change the way it presents its information. See #3153862: [META] Improve user interface, so it drives what people need to do rather than merely display data.
In short, I think that we should narrow the scope of this issue. Make the tables prettier, but do not reorganize them.
Also, pay attention to the changes in #3134300: Simplify ReviewForm::buildForm() and the resulting markup, which is already RTBC. I am adding that as a related issue. Perhaps, as part of this issue, we can implement the suggestion I made there to move the CSS classes from a table cell to the table row.
Comment #36
quietone commentedThanks for taking this Usability meeting.
I'm fine with limiting the scope on this. Note, I am also fine with making no changes to the form. Coloring the rows doesn't make sense to me if they are already split into two groups.
So, what should be done here? Are there any recommendations?
Comment #38
quietone commentedRereading #35, particularly, "in short, I think that we should narrow the scope of this issue. Make the tables prettier, but do not reorganize them." Changing to status to Normal.
Comment #44
quietone commentedThe Migrate Drupal UI Module was approved for removal in #3371229: [Policy] Migrate Drupal and Migrate Drupal UI after Drupal 7 EOL.
This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3463321: Deprecate Migrate Drupal UI and the removal work in #3522601: [meta] Tasks to remove Migrate Drupal UI module.
Migrate Drupal UI will not be moved to a contributed project. It will be removed from core after the Drupal 12.x branch is open.
Comment #45
quietone commentedThe Migrate Drupal and Migrate Drupal UI modules are deprecated and will be removed from Drupal 12. For these modules, effort is now focused on bug fixes and necessary tasks. Therefore, this task is closed as won't fix.
Thanks to all for working on this!