mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-19 01:17:31 +00:00
Move the voice reminder (domina mode) feature from a built-in Angular feature into a self-contained plugin with its own manifest, i18n, and config dialog. Add registerConfigHandler plugin API for settings button on plugin cards. Include migration logic to auto-enable the plugin and transfer config for users who had domina mode enabled. - Fix currentTaskChange hook to dispatch full Task object instead of ID - Extract shared BUNDLED_PLUGIN_PATHS constant to eliminate duplication - Use firstValueFrom instead of deprecated .toPromise() - Add voice name fallback matching for migrated configs - Mark DominaModeConfig and selector as @deprecated - Add unit tests for onCurrentTaskChange and config handler
17 lines
481 B
JSON
17 lines
481 B
JSON
{
|
|
"name": "Voice Reminder",
|
|
"id": "voice-reminder",
|
|
"manifestVersion": 1,
|
|
"version": "1.0.0",
|
|
"minSupVersion": "13.0.0",
|
|
"description": "Periodically speaks the current task title via the Web Speech API.",
|
|
"author": "Super Productivity",
|
|
"permissions": ["showSnack", "openDialog", "persistDataSynced", "loadSyncedData"],
|
|
"hooks": ["currentTaskChange"],
|
|
"iFrame": false,
|
|
"isSkipMenuEntry": true,
|
|
"icon": "icon.svg",
|
|
"i18n": {
|
|
"languages": ["en"]
|
|
}
|
|
}
|