mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 17:05:48 +00:00
* chore(deps): bump plugin-dev dev tooling to patch security alerts Update vite, vitest, postcss, glob, and minimatch across the packages/plugin-dev/* sample plugins to clear 26 Dependabot alerts. These are dev/build tooling for the example plugins and are not shipped to end users. - vite >=7.3.2, vitest 4.1.x, postcss 8.5.15, glob 10.5.0, minimatch 9.0.9/5.1.9 (all within declared semver ranges) - clickup-issue-provider: vitest ^3.2.1 -> ^4.1.0 (only manifest change) Verified test suites pass: clickup (28), automations (109). * chore(deps): bump minimatch + webpack-dev-server overrides for security Resolve the remaining root-lockfile Dependabot alerts in build/dev tooling (not shipped to end users): - minimatch: the existing `app-builder-lib` override pinned minimatch to 10.1.1, which npm cascades across electron-builder's entire subtree (@electron/asar, @electron/universal, dir-compare, filelist, temp). Bump the override to 10.2.5 (within app-builder-lib's ^10.0.3); the vulnerable nested copies dedupe to the patched top-level. Clears Dependabot #341, #372, #373 (minimatch ReDoS). - webpack-dev-server: add override to 5.2.4. Clears #593. Note: electron-builder `npm run dist` packaging not run in this env; the minimatch bump is a patch within range so impact is expected nil. |
||
|---|---|---|
| .. | ||
| i18n | ||
| src | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| plugin-message-example.md | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
Procrastination Buster Plugin
A Super Productivity plugin that helps identify procrastination blockers and provides tailored strategies to overcome them.
Features
- 🎯 Identify 8 different procrastination types
- 💡 Get tailored strategies for each type
- ⏱️ Start Pomodoro timer directly from strategies
- ➕ Add strategies as tasks
- 🌓 Dark mode support using CSS variables
Installation
Development
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Create plugin ZIP
npm run package
Use in Super Productivity
- Run
npm run build - Upload the generated
dist/plugin.zipin Super Productivity - Or copy the
distfolder tosrc/assets/procrastination-buster/
Usage
- Shortcut: Use keyboard shortcut for quick access
- Side Panel: Open the plugin via the side panel
- Automatic: After 15 minutes of inactivity on a task
Procrastination Types
- Overwhelm - "Too much at once"
- Perfectionism - "It's not perfect enough"
- Unclear - "I don't know what to do"
- Boredom - "It's boring"
- Fear - "I might fail"
- Low Energy - "I'm too tired"
- Distraction - "Other things are more interesting"
- Resistance - "I don't want to do this"
Technology
- SolidJS for reactive UI
- Vite for fast development and builds
- TypeScript for type safety
- Super Productivity Plugin API
- CSS Variables for theme integration
Development
The plugin consists of two parts:
- plugin.ts - Backend logic that communicates with Super Productivity
- SolidJS App - Frontend UI in iframe
Project Structure
procrastination-buster/
├── src/
│ ├── plugin.ts # Plugin backend
│ ├── App.tsx # Main component
│ ├── types.ts # TypeScript definitions
│ ├── BlockerSelector.tsx
│ └── StrategyList.tsx
├── manifest.json # Plugin metadata
├── index.html # HTML entry
└── vite.config.ts # Build configuration
Customization
Add New Strategies
Edit src/types.ts and add new strategies to the appropriate types.
Styling Customization
Edit src/App.css for visual adjustments. The plugin uses CSS variables for seamless theme integration:
--primary-color- Main theme color--text-color- Primary text--background-color- Background--card-background- Card backgrounds--border-radius- Standard radius- And many more...
License
MIT