Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
Seven theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Jan 2014 at 20:28 UTC
Updated:
29 Jul 2014 at 23:16 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
webchickYeah, specifically I thought the task completion-related design could really stand to be unified. I agree we don't need to be as "POW!" about it since this is ultimately a maintenance task, but it's really weird to have two very different designs for tracking "you're at step 1 of N." Also weird to see Druplicon in one and not the other.
Comment #2
philipz commentedSo something in this direction?
Comment #3
webchickOoooh! Maybe! That looks really nice. Ideally, whatever we did here would apply to all maintenance pages. It makes sense to one-off the installer, but not sure about update vs. 'site down' vs. 'omg something happened' :)
Comment #4
philipz commentedPossibly related #1189822: Convert maintenance-page.html.twig to HTML5
Comment #5
lewisnyman@philipz Great, pretty much. I think the first step would be component-izing the install-page.css file so elements like the columns, progress steps, and the white wrapper can be reused here. It would be nice if we could get #2017257: Create generic layout classes in first.
Comment #6
ckrinaStarting to work on that.
Comment #7
ckrinaChanges done:
- Updated template maintenance-page.html.twig to follow markup from install-page.html.twig.
- Updated seven/style.css with styles from install-page.css
- Updated file update.php to use "button--primary" class instead "button-primary" for the input.
Comment #8
ckrinaComment #9
ckrinaComment #10
ckrinaNot sure if the
element should be the {{ title }} or the {{ site_name }}. The #7 patch is made with the {{ site_name }} because on some steps the title changes to "home". See attached file update_php-redesign-2169765-7B-firefox.png.
Comment #12
ckrinaMoved the title of the page to the header like in design.
Comment #13
philipz commentedIt looks really good! Two small things I would change:
1. Move and indent {{ page_top }} - see interdiff.txt.
2. Consider min-height for l-container. After jumping from first page to "No updates..." the window jumps suddenly and becomes small and still centered vertically. This looks bad IMO. It should be as high as first step.
Comment #15
lewisnymanIt would be nice if we could move this CSS out of style.css but ideally the two pages could share the same CSS as they are so similar.
Comment #16
philipz commentedI'm starting to work on it.
Comment #17
philipz commentedinstall-task-listclass totask-list. This could be a follow up if decided so.#pageand#contentfrom install-page.css.Comment #18
lewisnymanOooh I like it! Just a few things really:
Visually
ol { padding: 0; }in seven.base.cssMobile only
Code review
+++ b/core/themes/seven/maintenance-page.css
@@ -0,0 +1,199 @@
+ .task-list,
+ .install-task-list {
I don't think we need to have two separate classes for the same component. We could always add task-list--install to the element on the installer page if we need to tweak it, but I can't see any need for it.
Comment #19
lewisnymanBy the way, here's a patch to add a fake update hook for anyone wanting to test this out.
Comment #20
philipz commentedAll good catches :) I have most of them fixed now and patch is coming soon.
Comment #21
philipz commentedFixed:
olidentation fixed.install-task-listclass removed both from css and theme function. Moreover I've changed the variant (if defined at any point in future) to task-list--[variant] in theme function.I expect some failing tests now but lets see what happens :)
Comment #22
lewisnymanOnly one piece of code review, which I probably should of mentioned before.
This class variant stuff was only added because update and install had completely different task list styles. Now that they match we can probably remove that code completely
A few “out there” things popped into my head while looking at the design that I'd like your opinion on:
Comment #23
philipz commentedIn attached patch:
Comment #24
philipz commentedA quick mockup of green background makes me sure it's a bad idea :)
Comment #25
lewisnymanOnly because rounded corners imply friendlyness and a safer environment, which update.php is not. They were rough ideas though, I don't feel strongly about any of them.
We've made enough improvements and iterations here. Let's commit this, if we want a further discussion on the background later we can open a follow up.
The latest patch works great, code is good. RTBC.
Comment #26
lewisnymanComment #27
alexpottupdate_php-redesign-2169765-23.patch no longer applies.
Comment #28
sutharsan commentedPatch #23 rerolled.
seven_library_info()got replaced byseven.libraries.ymlin #1996238: Replace hook_library_info() by *.libraries.yml file.Someone with inside knowledge should check if the replaced if the changes in seven_library_info() are fully replaced by the configuration in seven.libraries.yml.
Patch #23
seven.libraries.yml
Comment #30
sutharsan commentedAgain, reroll of #23 patch.
Comment #31
philipz commentedNice re-roll! I didn't know about libraries.yml but I love it :) This requires adding maintenance section to libraries.yml I guess... I hope it is ok like this.
Other than that still looks good.
Comment #32
lewisnymanGood stuff. I had another look over it. The patch is applying fine.
Comment #33
alexpottupdate_php-redesign-2169765-31.patch no longer applies.
Comment #34
sutharsan commentedRerolled #31 patch
Comment #36
c_lehel commented34: update_php-redesign-2169765-34.patch queued for re-testing.
Comment #38
c_lehel commentedRerolled.
Comment #39
k_zoltan commentedComment #40
k_zoltan commentedI couldn't apply the patch. there were errors while apply the part with the seven.theme file
Comment #41
philipz commentedI thought you assigned for re-roll :) I'll do it today then.
Comment #42
philipz commented38: update_php-redesign-2169765-37.patch queued for re-testing.
Comment #44
philipz commentedReady to review again.
Comment #45
lewisnymanStill looks good. Two thumbs up.
Comment #47
philipz commented44: update_php-redesign-2169765-44.patch queued for re-testing.
Comment #48
lewisnymanComment #49
webchickInstall:
Update:
Even the "responsive-y" stuff works!
Awesome work! :D
Committed and pushed to 8.x. Woot!
Comment #51
longwave#70719: Add Unicode::ucwords() and Unicode::lcfirst() implementation and make use of them in core got accidentally committed here too by the looks of it.
Comment #52
longwaveSuggest rolling this back and recommitting them separately?
Comment #55
lewisnymanComment #56
StuartJNCC commentedThe site slogan seems to have been missed during this redesign.
Comment #57
StuartJNCC commentedChange status.
Comment #58
penyaskitoOpened follow-up at #2230997: Remove the slogan in install.php and update.php. With the different commits and reverts this one is getting messy.