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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New design for the installation #7875
Conversation
7fa2dc3
to
bd4a829
Compare
@@ -17,6 +17,8 @@ | |||
@theme-color-background-highContrast: #202020; | |||
@theme-color-base-series: #ee3024; | |||
|
|||
@theme-color-border: @color-silver-l80; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
theme-color-border is not really expressive. Border of what? I reckon we have many different border columns. I think it would be better to use @color-silver-l80
directly instead of @theme-color-border
. If not, at least we should move it to a _colors.less
and we shouldn't make it API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that we have that border and even more with all the redesigns (the list component, the tables, the forms)… it's useful to have a variable for that instead of every time trying to find the correct color again (happened to me a lot lately, it's honestly a real pain).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could comment the actual color value next to those variables so should be easy to find then? Maybe it's even possible to show in the style guide page? Although we probably would not want to show the colors from _colors.less
there.
I was really confused by that variable and wouldn't know when to use it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was really confused by that variable and wouldn't know when to use it.
On the opposite that's why I created the variable: @color-silver-l80
is very confusing as we don't know when to use it, it doesn't represent anything except that it's grey. A border color is used for borders (tables, h1, hr, list-group, … anything that has a default border, so obviously you exclude cases where the border color is special like for alerts).
+1 with that, will do
Yes that's what I listed in the issue description. Forms are meant to be redesigned, have a look at Rafa's mockups. Regarding UI tests I haven't fixed them all yet (WIP) |
f7d98f1
to
5c570d2
Compare
To still make it easy to skip NEXT, would be nice to still display the button at the top when there is no error nor warning. |
How do you know there is no error or warning? I'm certain in most cases people have to scroll to see all the results of the check. I think it would be more valuable to allow people to see possible warnings etc instead of just skipping this step. It will help them, it will help us in getting less issues, it will look better in the UI when the next button in the top is gone. Assuming the system check fits on someones screen and everything is OK, then the next button would be visible anyway and the person can still skip as well easily. |
I meant when generating the system check we know whether there is any error or warning. When we know there was no error nor warning I suggested to display the Next button.
fyi The system check is quite long and does not fit on one screen. |
Sounds good! |
UI tests are now OK, the top button is shown when there are no warnings and errors. Ready for review and merge. |
It looks good to me 👍 @mnapoli feel free to rebase and merge |
…ere are no errors and warnings
09603ef
to
c46e29b
Compare
New design for the installation
Related to #7584
You can see the redesign mockups here: #7584 (comment)
This pull request focuses on the redesign of visual components specific to the installation. This PR doesn't include:
Those redesigns are for generic Piwik components, so they will all have their own pull request so that we can review them more easily (and review the changes in other screens of the app).
In this PR I have created 2 new reusable components, based on Bootstrap again:
Please note that those components are HTML and CSS components, they don't require the use of JS (≠ the previous progress bar). I have documented these new components in the UI demo page in this PR (UI demo see: #7787) .
Rafa used Bootstrap to do the redesign, it only made sense to base the integration on it too. Again a reminder: this PR doesn't include Bootstrap in Piwik, I again just copy-pasted the Bootstrap code we needed.
I will post the link to the UI screenshots diff (when the tests are finished) so that you can get a better idea of what the new design look like.