DEV Community

Cover image for Scotty v2.0.2 — Now Your Dashboard Tells You What to Clean
Giovambattista Fazioli
Giovambattista Fazioli

Posted on

Scotty v2.0.2 — Now Your Dashboard Tells You What to Clean

New Trash Summary and Environment Info cards, redesigned footer, smarter dashboard widget, dark mode fix, and full Italian translation.

Introduction

The best maintenance tool is one that tells you where to look before you start cleaning. Scotty v2.0.2 adds two new Overview cards — Trash Summary and Environment Info — that give you instant visibility into what needs attention and what's running under the hood. The dashboard widget got a complete rewrite with proper loading states and database metrics, the footer now credits the tools that power the plugin, and a dark mode bug that made confirm dialogs unreadable is finally fixed.

Scotty

What's New in 2.0.2

✨ Trash Summary Card

The Overview now includes a Items to Clean card that shows the total number of cleanable items across your site at a glance. Colored badges break it down by category:

  • Revisions, auto-drafts, trashed posts, spam comments, orphan metadata
  • Each badge only appears when items exist — clean sites show a green zero
  • Click "Clean now" to jump directly to the Trash section

No more guessing how cluttered your database is — the number is right there on the dashboard.

✨ Environment Info Card

A new card in the Overview row displays your server configuration:

  • PHP version, WordPress version, MySQL version
  • Memory limit and max upload size
  • Server software (nginx, Apache, etc.)

This data loads with zero extra queries — it's pulled from the WordPress runtime at no performance cost. Useful for debugging, support tickets, or just knowing what you're running.

Security

✨ Redesigned Footer

The plugin footer has been completely rewritten:

  • Left side: Docs link and Report Issue link with colored icons
  • Right side: "Built with WP Bones | Mantine UI" with framework logos
  • Clean, informative, and properly credits the open-source tools that power Scotty

✨ Smarter Dashboard Widget

The WordPress Dashboard widget has been rebuilt from the ground up:

  • Loading skeleton while data fetches (was blank before)
  • Error state with clear message if the API call fails
  • Database Size and Cron Jobs count in a compact footer row
  • Translated tooltips for all progress bars
  • 19% smaller bundle — removed unused providers and CSS imports
  • Fixed link — "Open Scotty" now goes to Overview instead of Trash

🐛 Dark Mode Fix

The modal confirm dialog title was invisible in dark mode — black text on dark background. Now uses var(--mantine-color-text) which adapts to the color scheme automatically.

🌍 Italian Translation Update

All 223 translatable strings are now covered with 100% Italian translation, including the new Trash Summary, Environment Info, and footer text. POT, PO, MO, and JSON files all regenerated.

Getting Started

New to Scotty? Install from your WordPress dashboard:

  1. Go to Plugins > Add New
  2. Search for "Scotty"
  3. Click Install Now, then Activate

Already using Scotty? Update from your WordPress dashboard. All your settings and data are preserved.

Links

Built with WPBones

Scotty is built on the WPBones framework — a Laravel-style architecture for WordPress plugin development. The React dashboard is powered by Mantine UI, giving you a modern, fast, and accessible interface.

👉 Learn more about WPBones | GitHub

Top comments (0)