Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Update the design of the Symfony Welcome Page#51771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
antonkomarev commentedSep 28, 2023
It will be great to add screenshots how it looks like right now. |
javiereguiluz commentedSep 28, 2023
@antonkomarev I've updated the PR to include the before screenshots. |
evertharmeling commentedSep 28, 2023
Nice! Could we maybe use more specific icons instead of checkmarks for the 3 main bullet points? Something like:
The list contains 'important' information and I feel it's easily to not read them because it's just another list of bullet points. |
smnandre commentedSep 28, 2023
Really nice and clean. I'd suggest separating the 3 factual (& positive-ish) elements from the item requiring user action -- ✅ You are using Symfony XXX version ❓ Your homepage is not configured: create your first page. -- I have a feeling that more people will wonder, 'cool, it works, what do I do now?' than 'why is this page displayed?'... but with no certitude. |
antonkomarev commentedSep 28, 2023
Good point, but I suggest having a warning sign near the debug mode: |
javiereguiluz commentedSep 28, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Thank you all for your nice reviews. I'm going to iterate over some of these ideas and will come back with an update. |
derrabus commentedSep 28, 2023
Since we usually don't merge features into x.0 releases, what's preventing us from merging this into 6.4? |
stof commentedSep 28, 2023
I tend to agree with@derrabus here. We communicate regularly than the X.4 releases contains all the new features and Y.0 cleans the deprecated APIs. So this should go in 6.4. |
javiereguiluz commentedSep 28, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@derrabus@stof this is the classic "engineering vs product" problem. Engineering team says that new features must go to 6.4 because X.0 branches don't get new features. But for Product team it's important that this new design is only visible in Symfony 7.0 and up, because this is the new design for Symfony 7, not Symfony 6.4 and 7. Personally, I'd make an exception here and merge this into 7.0 only. But I'll do what the team decides 🙏 Thanks! |
94noni commentedSep 28, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
the previous PR updating the design was done onv4.4+v5.0 |
fabpot commentedSep 28, 2023
7.0 sounds fine to me (it's not "a feature" per se but more like a refresh of the design for a major version). |
MGDSoft commentedSep 29, 2023
What are your thoughts on adding a subtle motion effect to the stars and water? |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
sstok commentedOct 2, 2023
Motion effects don't add anything useful here, and might cause trouble on the front of accessibility as movement can cause motion sickness for people with motion sensitivity. https://www.linkedin.com/advice/0/how-do-you-avoid-animation-overload-motion |
MGDSoft commentedOct 2, 2023
Well, then, 50% of webpages have motion on their homepage, and they are all incorrect. https://laravel.com/ I believe adding some effects will generate more excitement for newcomers interested in learning Symfony. For example, when I install Drupal, I encounter an unattractive default page that prompts me to leave quickly. |
fabpot commentedOct 2, 2023
The current page is animated, right? So, I suppose the new version will be as well. |
MGDSoft commentedOct 2, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
If I'm correct,@javiereguiluz, I didn't notice any effect on the page; I only saw the background color change (which is cool). |
smnandre commentedOct 2, 2023
@media (prefers-reduced-motion) {/* styles to apply if a user's device settings are set to reduced motion */} I believe animation is not a problem if we leverage this media query https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion |
MGDSoft commentedOct 2, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
It's just an idea but something like this, We can do better, of course, if everyone agrees. Recording.2023-10-02.235807.mp4 |
javiereguiluz commentedOct 3, 2023
@MGDSoft can you please share the CSS code that you used to add that subtle animation? Thanks! |
MGDSoft commentedOct 3, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
ofc! Waves (SVG is the same) functionrenderWavesSvg(){return<<<SVG<svgaria-hidden="true"focusable="false"style="pointer-events: none"class="wave"width="100%"height="50px"preserveAspectRatio="none"xmlns="http://www.w3.org/2000/svg"xmlns:xlink="http://www.w3.org/1999/xlink"viewBox="0 0 1920 75"><defs><style> .a{fill:none}.b{clip-path:url(#a)}.c,.d{fill:var(--light-color);}.d{opacity:0.5;isolation:isolate;} @keyframes waveMotion{0%{transform:scaleX(1)translateX(0);}50%{transform:scaleX(1.5)translateX(-30%);}0%{transform:scaleX(1)translateX(0);}} .b:nth-child(5){animation:waveMotion10sinfinitealternate;} .b:nth-child(2){animation:waveMotion8sinfinitealternate;} .b:nth-child(3){animation:waveMotion9sinfinitealternate;} .b:nth-child(4){animation:waveMotion4sinfinitealternate;}</style><clipPathid="a"><rectclass="a"width="1920"height="75"></rect></clipPath></defs><gclass="b"><pathclass="c"d="M1963,327H-105V65A2647.49,2647.49,0,0,1,431,19c217.7,3.5,239.6,30.8,470,36,297.3,6.7,367.5-36.2,642-28a2511.41,2511.41,0,0,1,420,48"></path></g><gclass="b"><pathclass="d"d="M-127,404H1963V44c-140.1-28-343.3-46.7-566,22-75.5,23.3-118.5,45.9-162,64-48.6,20.2-404.7,128-784,0C355.2,97.7,341.6,78.3,235,50,86.6,10.6-41.8,6.9-127,10"></path></g><gclass="b"><pathclass="d"d="M1979,462-155,446V106C251.8,20.2,576.6,15.9,805,30c167.4,10.3,322.3,32.9,680,56,207,13.4,378,20.3,494,24"></path></g><gclass="b"><pathclass="d"d="M1998,484H-243V100c445.8,26.8,794.2-4.1,1035-39,141-20.4,231.1-40.1,378-45,349.6-11.6,636.7,73.8,828,150"></path></g></svg>SVG;} STARS @keyframes stars{0% {transform:translateX(0)translateY(0px); }33% {transform:translateX(-20px)translateY(-20px); }66% {transform:translateX(-40px)translateY(-40px); }100% {transform:translateX(0px)translateY(0px); }}header:after {animation: stars15s infinite;} |
javiereguiluz commentedOct 3, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Thank you all for your reviews. I've made these changes:
This is how it looks now:
And this is in movement: animation.mp4 |
yceruto commentedOct 3, 2023
I love these improvements! ❤️ |
yceruto commentedOct 3, 2023
On a wide screen, it looks great, but perhaps on mobile we should add more space between texts as it looks a bit cramped. |
Uh oh!
There was an error while loading.Please reload this page.
smnandre commentedOct 3, 2023
Love it, thx@javiereguiluz for this! |
0e1e7df to70f8707Comparejaviereguiluz commentedOct 3, 2023
I've tweaked some margins/paddings/spacing as requested. Thanks. |
fabpot commentedOct 5, 2023
Thank you@javiereguiluz. |



Uh oh!
There was an error while loading.Please reload this page.
This PR refreshes the design of the Symfony Welcome Page for Symfony 7.0. This is the page that you see when you create a new Symfony app and browse it without making any change to it.
The new design keeps most of the features of the previous design, including the random color each time you reload the page.
This is how it looks:
This is how it lookedbefore: