Repository navigation
Conversation
右側カレンダーパネルとその設定・i18n・react-day-picker依存を取り除く。 期日(dueDate)の入力・表示・パース・通知・並び替えは従来どおり。
127.0.0.1にバインドし、Bearerトークン必須のHTTP APIを追加。 GET/POST/PATCH/DELETE /tasks でタスクを操作でき、変更は external-data-changed イベントでフロントに反映される。 依存ゼロのMCP stdioブリッジを mcp/ に同梱。
PKCE + ループバックのOAuthで接続し、期日付きタスクを終日イベントとして、 タスク本体をGoogle Tasksに作成・更新する一方向push。 トークンは app_data_dir に 0600 で保存し、data.json には混ぜない。 セットアップ手順は docs/google-sync.md。 docs/ は .gitignore 対象のため -f で追加している。
作成直後は入力欄を blur し、描画を待ってから生成されたアイテムに DOMフォーカスを移す。アイテム側に data-task-id と tabIndex を付与。
期限超過タスクのチェックボックスが opacity-0 group-hover のままで、 マウスを乗せないと赤が見えなかった。isOverdue を表示条件に加える。
updateTask が autoTagsFor でタグを丸ごと再計算していたため、タグ順が タグマスタの登録順に並び替わり、手動で付けたタグも消えていた。 既存順を保持し新規マッチのみ末尾に足す mergeAutoTags を追加。
タスクの作成・完了・削除・取り消しに短い効果音を追加。音源ファイルも npm依存も使わず、オシレータと指数減衰エンベロープで合成する。 設定 soundEnabled は既定OFF、OFFの間は AudioContext を生成しない。 同種音は60msスロットルで連打時の重なりを防ぐ。
docs/google-sync.md を gh api /markdown(GitHubと同じGFMレンダラ)で HTMLにビルドする scripts/build-docs.sh を追加。npm依存は増やさない。 設定画面から手順ページを開けるようにした。 docs/ の .gitignore ルールは配信のため削除。
Owner
Author
追記: セットアップ手順を GitHub Pages で配信
ローカルで |
docs/<name>.md -> docs/<name>/index.html に出力し、公開URLを /FastTask/<name>/ にする。ルートは各mdのH1と冒頭段落から 自動生成する一覧ページ。ドキュメントはmdを足すだけで増やせる。
自前の build-docs.sh とコミット済みHTMLを削除し、zensical.toml と docs/index.md を追加。出力パスは従来どおり /google-sync/。 docs/ か zensical.toml の変更をトリガにCIでビルドし、mainへの pushのみ GitHub Pages にデプロイする(PRはビルド確認だけ)。 Pages の公開元は GitHub Actions に変更済み。
完了音は C6-E6-G6 のアルペジオにバンドパスを上へ掃引する ノイズを重ね、スカッと抜ける質感にした。 キー入力ごとに鳴る type 音を追加(12ms・ごく小音量・毎回ピッチを わずかに散らす)。タイプは速度に追従するようスロットルを18msにし、 修飾キー単独とショートカット操作では鳴らさない。
zensical はCIで pip install、ローカルでは uvx 実行なので リポジトリに uv プロジェクトは持たない。
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
next版の7項目を実装。機能ごとに7コミットに分けています。
remove:カレンダー機能を全削除react-day-picker依存を除去。期日管理は従来どおりfeat:ローカルAPI + MCP127.0.0.1+ Bearerトークン必須のHTTP API、依存ゼロのMCP stdioブリッジfeat:Googleカレンダー/Tasks連携feat:生成後にアイテムへフォーカスfix:赤インジケータの常時表示fix:タグ表示順のバグfeat:操作音確認
tsc→vite build成功cargo build/cargo test --lib成功node --test src/utils/*.test.ts→ pass 2 / fail 0レビューしてほしい点
docs/google-sync.mdの手順でクライアントIDを発行してからの実機確認が必要です。i18n.tsではなくGoogleSyncSettings.tsx内のローカル辞書にあります(20キー超の競合回避のため)。統一するか要判断。userinfo.emailが含まれます(接続中アカウント表示のため)。不要なら外せます。docs/が.gitignore対象のためdocs/google-sync.mdを-fで追加しています。ignore ルールを見直すか要判断。既知の割り切り(
ponytail:コメントで明記)