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
Update icons #8488
Update icons #8488
Conversation
The new icons are done using web fonts. They have been added to the UI demo page.
This new method (should) work on PhantomJS (as well as all browser), and should fallback to something correct on IE8.
For example simplify user manager, site manager, reports manager, etc.
It's much easier to read and discover them.
Form inline helps are based on "info" alerts, but the icon is too heavy in forms.
just FYI: The square is usually there when there is an update. Rebasing might help |
All those changes are deliberate :) Try it by pulling the branch locally, it's probably better to use it to see (hover, etc.). To add more information on the red buttons, I've reused Piwik's default buttons (used everywhere else) for consistency (a consistent UI looks better and is easier to understand). |
Nice progress on icons @mnapoli! Re: red buttons for adding "entities". Since Edit+Delete are not red buttons, it is better to be consistent in this case, and use the can you add back the "Edit" and "Delete" texts next to the icons? |
@mattab have you tried it locally? I spent a lot of time to try and improve all those tables, removing this kind of redundancy using the new icons was one of the main change of this PR: To this: Using it isn't confusing at all: the table headers + hovering makes it really clear what such buttons do. And we are talking about the 2 most common buttons ever in a web app. What I've tried with this PR is continue on the consistency effort by introducing new standard UI elements (like the flat buttons, icon buttons, …) and replace custom design with the existing and new standard UI components. |
good to hear it was all planned :-) I checked the branch and it looks nice. I have couple feedback:
What's left regarding adding icons, ie. which icons are left to be ported to the new ones? would be awesome to finish this in 2.15.0 :-) |
Fixed
Fixed |
I'm not sure if this was mentioned already but think it might look better to vertically align the icons in notifications/warnings on top and not in the middle. I'd also prefer to not have the red buttons there. What is otherwise left here? The text in edit/delete? |
What do you mean about edit/delete buttons?
edit: They are vertically aligned. It only aligns to the top in IE8 and PhantomJS. |
sweet!
Matt asked: "can you add back the "Edit" and "Delete" texts next to the icons?" so I got a bit confused what the current state on this is. From what I understood it is meant to be removed and we do not want to add them back but I'm not sure if I got it right :) |
Looks good to merge after row evolution link / button thing is cleared up. |
Restored the flat buttons for adding new entities, hopefully I didn't forget one. |
is it safe to merge? I could use the icons right now :) |
It's ready to be merged if changes are OK. |
Is the row evolution 'pick row to compare' link still supposed to be a button? @mattab Can you clarify? |
@diosmosis I just made them flat (i.e. removed red buttons), problem should be solved. |
Fixes #7618, add new icons to Piwik & use where appropriate. Also includes slight re-designs to entity management tables & a new CSS API using the icons easily.
Follow up issue created here: #8632 |
Fixes #7618
I have added the new font icons (TTF supported everywhere except IE8 + EOT for IE8 support). I have also replaced the usage of old icons. Sometimes instead of simply replacing the icons it made sense either to change the design a bit (e.g. all the user/site/goal/… "managers") or use standard UI elements (buttons, alerts, …). I haven't replaced all the icons used in Piwik (mostly because some are much harder), this can be achieved later in other pull requests.
And by the way the new icons look much better on retina ;) (not pixellized)
For reviewing the PR please checkout the branch: some design changes are better to test in a browser rather than in a screenshot, especially the buttons in the "managers" (user, site, goals, etc.).
Here are the diff screenshots: http://builds-artifacts.piwik.org/piwik/piwik/icons/14663/ You'll see that the square in the top-right has reappeared, and I don't remember what it is about and if it's a problem…