mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-22 18:30:09 +00:00
Merge remote-tracking branch 'origin/master'
* origin/master: add QuestArc to community plugins list Fixing Plugin API doc on persistence
This commit is contained in:
commit
24d3fb6fab
2 changed files with 8 additions and 3 deletions
|
|
@ -453,11 +453,11 @@ You can persist data that will also be synced vai the `persistDataSynced` and `l
|
|||
|
||||
```javascript
|
||||
// Save plugin data
|
||||
await PluginAPI.persistDataSynced('myKey', { count: 42 });
|
||||
await PluginAPI.persistDataSynced(JSON.stringify({ count: 42 }));
|
||||
|
||||
// Load saved data
|
||||
const data = await PluginAPI.loadSyncedData('myKey');
|
||||
console.log(data); // { count: 42 }
|
||||
const data = await PluginAPI.loadSyncedData();
|
||||
console.log(data); // '{ count: 42 }'
|
||||
```
|
||||
|
||||
## Best Practices
|
||||
|
|
|
|||
|
|
@ -8,5 +8,10 @@
|
|||
"name": "Archived Tasks Viewer",
|
||||
"shortDescription": "Read-only viewer to browse archived tasks with grouping, filtering, subtasks preview, and theme toggle.",
|
||||
"url": "https://github.com/baiyina/Archived-Tasks-Viewer"
|
||||
},
|
||||
{
|
||||
"name": "QuestArc",
|
||||
"shortDescription": "Turn your workflow into an adventure! Gamify your tasks with Atomic Habit quests, epic boss fights, earnable badges, and a customizable hero profile.",
|
||||
"url": "https://codeberg.org/Nexumia/QuestArc"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue