Improve the "Review upgrade" page by adding icons to add a strong visual cue as to what modules will and won't be upgraded.
Reuse elements of the "Status Report" page to display a summary with links to the missing/available tables.
After

Before

| Comment | File | Size | Author |
|---|---|---|---|
| #23 | interdiff-2905227-22-23.txt | 3.81 KB | maxocub |
| #23 | 2905227-23.patch | 9.57 KB | maxocub |
| #23 | no_missing_paths.png | 55.08 KB | maxocub |
Comments
Comment #2
jjpoole commentedComment #3
yoroy commentedLooks like there are elements from the status report page we could reuse here. The summary items would then link to their respective tables:
See #665790: Redesign the status report page
Comment #4
heddnComment #5
heddnThis is a blocker for #2905491: Mark Migrate Drupal UI as stable
Comment #6
quietone commented@jjpoole, thanks for improving the page!
One point to consider is that it was a deliberate decision to put the missing modules at the top of the list. For someone using the UI to do an upgrade, seeing what should be installed needs to be prominent. The list of available modules can be quite long and the missing module list could be off the screen.
Comment #7
heddnReviewed this in our weekly migrate meeting and agreed this is in fact a migrate critical.
Comment #8
wturrell commentedComment #9
heddnre #8:
Thanks for your invaluable feedback.
1. These are core modules so linking to a module page isn't really possible.
2. This is done on the initial page of the upgrade wizard. See #2905222: Migrate UI: Initial Screen UX improvements
3. Ditto to #2
4. Ditto to #2
5. Can you check #2905222: Migrate UI: Initial Screen UX improvements and see if we cover that well enough?
6. Glad you like the mock-up!
Also updated the IS to include current and proposed screenshots.
Comment #10
heddnTagging for sprinting in Vienna.
Comment #11
vulcanr commentedWould be awesome if we can get help from @ckrina in here!
And can't wait to start working on this in Vienna :)
Comment #12
xjmPer discussion with @catch, we're promoting the "Migrate critical" issues to critical given the importance of a stable migration path at this point in the release cycle. (The framework and release managers will confirm this in a later triage for individual issues.)
It sounds like the next step is to implement a combination of #3 and the proposal in the summary.
Comment #13
heddnFrom Bojhan: #2859304-41: Show field type migrations correctly in Migrate Drupal UI
Comment #14
vulcanr commentedLooking at the status page, and the proposed design for this page, would be good if we keep a little bit of consistency and reuse the same icons we already have.
Comment #15
yoroy commentedA more concrete mockup:
Still wondering about:
- are missing upgrade paths errors or warnings?
- collapse the available paths by default?
Other attention points:
- The "Are you sure?" page title is not ideal :)
- Do we need the explanation text per section (missing/available) or can we combine that in a single bit of help at the top of the page. I think the latter could be enough.
Comment #16
yoroy commentedAfter a quick discussion at Drupalcon Vienna:
- We consider missing upgrade paths warnings, not errors because you may not want to upgrade those things. It's "info", not "wrong".
- There is no explanation text in the "available" section so we can manage with regular help text on top of the page
- I'm fine with keeping the "available" section collapsed as it is now.
Comment #17
starshapedDiscussed the UI changes with yoroy and laurii at DrupalCon Vienna last week and I will be taking on this issue.
Comment #18
heddnComment #19
maxocub commentedWe need to move those critical issues! Since nothing has been done here yet, I'll start working on it.
@starshaped: If you have time in the future, fell free to help or review.
Comment #20
maxocub commentedOk, here's a first patch.
I tried to use the CSS and templates of the status report page, wherever possible, but maybe we will want our own.
One thing I don't know yet how to do is to open the collapsed available paths when we click on "Details".
Screenshots:


Comment #21
phenaproximaThis patch looks pretty magnificent at first glance. I only have minor concerns, then TBH I think we can send this directly to UX review.
Why?
Do we still have the html_tag renderable element? If so, can we use that (so as to make the tag, and the classes attached to it, overrideable)?
Comment #22
maxocub commentedRe #21:
Also in this patch:
Comment #23
maxocub commentedHere's another improvement: we don't display an empty table if there's no missing or available paths.
Comment #24
maxocub commentedIS update.
Comment #25
quietone commentedGlad to see this is changed.
Applied the patch and checked the page using the test fixtures. The new layout is a huge improvement and all the links work as expected. Also, set the missing count to 0 and get the same result as in #23. Did a brief review of the code and didn't see anything, but I don't know enough about css to review that and thus don't think I can RTBC this.
@maxcub, Thank you!
Comment #26
starshapedI’m out of town until tomorrow, but I can look over the CSS when I get home.
Comment #27
phenaproximaThe CSS looks OK to me, but I am not an expert so I don't feel qualified to RTBC it. However, everything else is great. Fantastic work, @maxocub.
@starshaped, feel free to mark this issue RTBC if the CSS passes muster. :)
Comment #28
vulcanr commentedJust checked the CSS in the patch #23 and looks fine to me.
Great work @maxocub.
Comment #29
phenaproximaThanks for the review, @vulcanr! Everything seems to check out here, so let us sally forth to RTBC.
Comment #31
phenaproximaThat is a random fail.
Comment #33
maxocub commentedI think the commit that was causing these fails has been reverted: #2843765-18: EntityResource: Provide comprehensive test coverage for EntityViewDisplay entity.
Back to RTBC.
Comment #36
xjmReally great work on this. This is a huge improvement.
I waffled a little as to whether "Upgrade analysis report" was the best title for the page, but couldn't come up with something that was clearly better, and the rest of this is such a nice improvement that I think it's worth just getting it in.
I think we also could do a little more to clarify that a missing upgrade path isn't necessarily a problem (e.g. Toolbar really doesn't need one). Currently it links to the handbook page, but we could explicitly state something like: "Not all modules require an upgrade path." But I think that's out of scope here and could be addressed in a followup.
Also, @wturrell's suggestion that the modules should link the relevant modules' pages is actually not unreasonable, since every module must have a page linked in its
hook_help()(we even have a test for this). So I'd suggest filing a followup for that as well.Committed to 8.5.x. Since Migrate Drupal UI is still alpha, I also cherry-picked it to 8.4.x. Thanks everyone!
Comment #37
maxocub commentedOne critical less, yeah!
Here are the followups:
Comment #38
xjmThanks @maxocub.
Comment #39
heddnWe already had #2914974: Migrate UI - handle sources that do not need an upgrade to address the missing paths. It could be dropped from critical though, if we decide it doesn't block a stable release.