productivity plugin: dashboard.html forgets TASKS.md / memory folder on every reload
メンテナーはふだん 1 日以内に返信
@AbarnaaSree がすでに取り組んでいます。
2026年9月17日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 84/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- html, javascript
- 領域
- frontend
調査の方向性
productivity/skills/dashboard.html と添付の dashboard-reconnect.patch から始め、既存の showOpenFilePicker/showDirectoryPicker のフローと空状態のマークアップを調べます。Chromium ベースのブラウザーで、再読み込み後の復元が機能すること、権限プロンプトに Reconnect が表示されること、代替の picker を引き続き利用できること、移動または削除されたエントリが通常の picker にフォールバックすることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Problem
dashboard.html (from the productivity plugin) uses the File System Access API (showOpenFilePicker / showDirectoryPicker) to load TASKS.md and the memory/ folder. Every time the dashboard is reopened — a new browser tab, a restart, even just closing and reopening the file — it forgets the file/folder you picked last time and makes you re-select both from scratch. For a dashboard meant to be a daily driver, that's a meaningful bit of friction.
Proposed fix
The File System Access API supports persisting a FileSystemFileHandle / FileSystemDirectoryHandle in IndexedDB and re-querying permission on it later (handle.queryPermission() / handle.requestPermission()), without re-showing the picker dialog. I've implemented this in our own copy of dashboard.html:
After a successful pick, the handle is saved to a small IndexedDB store (productivity-dashboard / handles).
On page load, the dashboard tries to restore the saved TASKS.md handle and memory folder handle:
If permission is still granted, it reloads silently — no prompt at all.
If permission needs reconfirming (prompt state), the empty-state screen swaps its button to a one-click "Reconnect" instead of the full file picker.
Either way, a second button — "Choose a different file" / "Choose a different folder" — stays visible so switching to a different file is never blocked by the reconnect flow.
If the file's been moved/deleted, it falls back to the normal picker automatically.
This only touches dashboard.html (two new small buttons in the empty-state markup, plus the IndexedDB helper + refactored load functions in the script). No changes to TASKS.md/CLAUDE.md format, no new dependencies, no build step.
A patch is attached (dashboard-reconnect.patch) generated against the current productivity/skills/dashboard.html, and I'm happy to open this as a PR directly if that's preferred over a patch on an issue.
Caveats worth noting for reviewers
This relies on the File System Access API, so it only works in Chromium-based browsers (Chrome, Edge, etc.) — same limitation the dashboard already has today for the picker itself.
The saved handle lives in the browser's IndexedDB for the page's origin (typically shared across local file:// pages in Chromium), not in the markdown files themselves, so it's per-browser/per-machine and never travels with the files — confirmed this doesn't leak across users if the same dashboard.html is shared or copied.
- 主要言語
- Python
- スター
- 36.8k
- フォーク
- 4.1k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 17
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
anthropics/knowledge-work-plugins のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
anthropics/knowledge-work-plugins#1357 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anthropics/knowledge-work-plugins#1308 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
anthropics/knowledge-work-plugins#1306 ·
メンテナーはふだん 1 日以内に返信
-
package_data_skill.py reports success with an empty ZIP under .claude再び着手できるかも @swati781895-netizen が 48 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
anthropics/knowledge-work-plugins#1298 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
anthropics/knowledge-work-plugins#1297 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
anthropics/knowledge-work-plugins の issue をすべて見る
似ている issue
-
request_access
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
blocker bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
achisolomon/software-factory#305 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
erkamyaman/rust-anything#963 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
commonmark/commonmark-spec#850 ·
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100