A couple of useful notes
-
This is a great plugin, thank you for the effort!
May I suggest a couple of things?-Aesthetics:
1. The Today, Last x days, etc. buttons in the light theme have the default OS buttons look. They don’t look good. Consider applying the class.button
to them to make them look like the normal light WordPress buttons2. The side boxes (divs) with the class
.note
in the plugin’s settings page have this weirdo background gradient and funny looking font that totally doesn’t fall under ANY WordPress design guideline. This breaks the user experience, IMHO. You should just make your plugin seamlessly integrate with wp-admin style. Good plugins are those which are not easily recognized as “plugins”. Just apply the default meta box style to those divs instead3. The settings page
<h3>
headings are wrapped in<u></u>
? Why? These<u></u>
are deprecated HTML elements AFAIK, and you should use<h3>
elements alone and then give them an underline style (if you want) through CSS. But you shouldn’t make them underlined anyway; rather leae them normal<h3>
headings– just like in the default WordPress settings pages. So, yeah.. remove those<u></u>
please4. Also the
<hr>
elements below each settings group is redundant, I believe. Just remove them; they contribute to a more cluttered UI5. The Update Options and Clear Cache buttons at the end of the settings page both use the same class, i.e.
button-primary
. Update Options is the primary button and it’s the one that should have the classbutton-primary
(also no need to addbutton
class if you’re already applying thebutton-primary
class to the same element). Clear Cache button on the other hand should just use thebutton
class because it is not a primary action button in that page. (Thinking about it, it should not be in the same row with Update Options button because that tells the user something like “you need to click either this button or the other”– much like OK and Cancel buttons. You can move it to be in the same row of the Cache Time option; that should be a more logical placement)-i18n:
I’ve finished translating this plugin to Arabic. However, some strings are not translatable:1. The title of the main dashboard meta box “Google Analytics Dashboard”
2. The label of the Settings menu entry “GA Dashboard”
3. The link text “Step by step video tutorial”
4. All the texts and links in the side boxes with the class.note
5. The labels which appear upon hovering on the traffic pie charts in the dashboard “New Visitor”, “direct”, etc.-Usability:
1. the layout of the settings page is messed up when the admin UI is RTL (e.g. Arabic). There is a conflict with the two divs (the main content and the sidebar)– theirfloat
values should be changed fromleft
toright
and vice versa when detecting that the page is in RTL mode.2. The geo map in the dashboard could do with showing the country name on a tooltip upon hovering on the map of that country. Not everybody’s got an A+ in Geography, y’know ?? (Also make sure they’re translatable)
I’m done with my rant! Thanks for a great plugin!
??https://www.ads-software.com/extend/plugins/google-analytics-dashboard-for-wp/
- The topic ‘A couple of useful notes’ is closed to new replies.