Counter Tester is the ultimate real-time debugging console for Super Productivity’s Simple Counters system. Built specifically to verify the new counter API methods added in the now-merged PR #5459 (fixing #5398), it gives developers and power users a floating, touch-friendly playground to exercise every counter method with zero setup.
- Flat key shortcuts (
setCounter,inc/dec) - Full entity CRUD (
updateSimpleCounter,setSimpleCounterDate,toggleSimpleCounter…) - Type-aware everything – ClickCounter uses numbers, StopWatch & RepeatedCountdown use
1h 30m 15sparsing, streak min formatted as time - Live history tables, streak badges with weekday count, JSON previews, enabled/on status
- Draggable & touch-ready console (mouse + Android WebView)
- Advanced streak editor – per-weekday checkboxes (Sun–Sat) that auto-show when “Track Streaks” is enabled
- One-click type-tailored test suite (creates → edits → deletes)
- Copyable logs + Material snacks
Important: This plugin works with the merged changes from PR #5459.
To test it now:
- Use the staging build at https://test-app.super-productivity.com (plugins enabled in Settings)
Once released in the next official version, it will work in the stable app without extra steps.
- Floating Draggable Console – Dark-theme, resizable, fully draggable with mouse or finger, persists position/visibility
- Smart Counter Browser – Dropdown with type badges, today’s value (formatted as time for StopWatch), disabled grayed out
- Type-Specific Inputs – Numbers for ClickCounter, human-readable
1h 30m 15sparsing for StopWatch/RepeatedCountdown - Rich Details – Collapsible JSON, sorted history table (recent first), streak info with formatted time and weekday count (e.g.,
Streak Min: 2h 15m (Days: 5/7)) - Partial Edit Modal – Title, streak min (time-aware for StopWatch), duration (time-aware), track streaks toggle + dynamic weekday grid
- Action Hook Logger – Real-time NgRx
SimpleCounteraction capture with payload snippets - Copyable Logs – 📋 button on every line (primary + fallback)
- Automated Suite – “Full Type-Tailored Tests” runs a complete create → edit → delete cycle tailored to the selected counter type
- Enable the plugin (Settings → Plugins → Counter Tester → Enable + Debug Mode)
- Click the clock icon in the header (“Toggle Tester”)
- Drag the console anywhere (mouse or finger)
- Pick a counter → type-aware fields light up automatically
- Hammer the buttons:
- Get All Full – refresh everything
- Set Today – uses value or time input (required for StopWatch)
- Set Date –
YYYY-MM-DD+ value/time - Partial Edit – full streak weekday editor with dynamic checkboxes
- Full Suite – destructive demo (deletes at end)
All changes instantly reflect in Settings → Simple Counters.
"permissions": [
"getAllCounters", "getCounter", "setCounter", "incrementCounter", "decrementCounter",
"getAllSimpleCounters", "getSimpleCounter", "updateSimpleCounter",
"toggleSimpleCounter", "setSimpleCounterEnabled", "deleteSimpleCounter",
"setSimpleCounterToday", "setSimpleCounterDate",
"registerHeaderButton", "uiInteraction", "showSnack"
]- Issue: #5398 – Add simple counter methods to PluginAPI
- PR (merged): #5459 – feat(plugin-api): simple counters + full CRUD
Found something off? Want CSV export or counter creation UI?
→ Open an issue or PR – especially welcome post-merge!
MIT © Mustache Dev – use, modify, ship it!
Happy testing! This console survived hundreds of runs during #5398 development and is now the fastest way to confirm everything works in staging. Touch-friendly, streak-smart, and zero setup. Enjoy! 🚀
As a game developer, I lack deep TypeScript/JavaScript expertise in this codebase.
As a student, I have limited time to properly learn new technologies.
This implementation was created with AI assistance to bridge these constraints.