sitecare / sitecare-score

Find hidden technical debt and track your WordPress site health with our comprehensive scanning tool.
GNU General Public License v3.0
0 stars 0 forks source link

Create admin bar menu link #13

Open ryansitecare opened 2 weeks ago

ryansitecare commented 2 weeks ago

We want to incorporate an admin bar menu link that displays the SiteCare logo next to a simple colored circle showing the most recent SiteCare Score.

The menu item will display the colored circle only. The numerical value isn't necessary:

CleanShot 2024-06-24 at 07 34 27@2x

On hover, the score will display, as well as a link to view most recent issues, and view the score history page.

Designs will be provided.

stevezehngut commented 1 week ago

Ready for testing.

ryansitecare commented 1 week ago

Looks great @stevezehngut. Functionally it seems to work well. It displays the status color.

This is nitpicky but can we make the baseline position match the other icons in the admin bar menu? https://share.cleanshot.com/2SPfj94v

Also want to make sure we'll still be adding the hover option. Similar to this: https://share.cleanshot.com/j2Lvwns7

It will display a link to the actual score inside the circle, a link to view the most recent report (issues), and a link to view the score history page.

Bonus would be an arrow indicator (up or down) next to the total score to indicate the change from the previous report.

Is this doable? Should we mock up a design or is this enough info?

ryansitecare commented 1 week ago

@stevezehngut here's a mockup

CleanShot 2024-06-26 at 12 50 23@2x

stevezehngut commented 1 day ago

This is ready to review in v1.1