takker99/takker-scheduler
takker-ScrapSchedulerの実装
scrapboxベタ打ちから、git管理に移行した
これでversion管理が簡単になる
takker99/takker-scheduler
docs
実装
TypeScriptで書いている
開発支援にDenoを用いている
バグ
解決したものはリンクを外す
⬜format()がバグるケースを見つけた
またmakePlan()のページ遷移に失敗した
2022-01-14のページに移らなかった
どこでこけたんだろう?
smartphoneだとエラー内容がわからない……
alert()でエラー内容を表示するようにしてみようかな?
⬜開始日時指定記法の正規表現がURLを誤認識してしまう
⏳同期中にRangeError: Invalid time valueが発生する
日時上書き機能が@yyyy-MM-ddで上書きした時機能していない
テストケースを追加する
実装したいこと
JavaScriptから任意ページのタスクのCRUDをおこなう函数を生やす
とりあえず作成pushTasks()だけ実装した✅pushTasks()を実装す
makePlanの進捗状況をstatus-bar (scrapbox)に表示する
✅format()に読み込み中表示をつけると同じことをする
task portal page (takker-scheduler-3)にある繰り返し設定をいい感じに楽に編集できるようにする
現状の仕組み(JSコードを書き換える)だと全く設定変更を行う気にならない
判断time 2022-01-14の作成時に開始日時を決められるoptionがほしい
⬜開始日時と見積もり時間を簡単に変更したい
howmのリマインダの記号を入れる
/villagepump/howmとタスクリンクの相性よさそう
予定開始日時と見積もり時間と実績開始日時と実績終了日時とタスク名が同一なら同じタスクだと判定する
タスクの転送機能 (takker99/takker-scheduler)で同一のタスクがあったら、元ページのタスクの削除だけをする、みたいな用途を考えている
これを実装できれば、転送機能などで日刊記録sheetを新規作成したときに、task portal page (takker-scheduler-3)で指定されたタスクを、まだ書き込まれていない分だけ書き込めるようになる
タスクの転送機能 (takker99/takker-scheduler)使用時にカレンダーとの同期とformatを行う
あんまり一緒のコマンドにしたくないな
くみあわせられるようにすればいいだろう
それには、タスクの転送機能 (takker99/takker-scheduler)に、どのページへ転送したかの情報を返してもらう必要がある
見積もり時間のない予定をカレンダーで同期できないtakker.icon
これは失念していた
どうする?
見積もり時間を既定で20分とみなす
これが妥当かな
時間を指定しないイベントとして入れる
でも開始時刻は全部指定してるしなあ……
やり残したタスクを今日にコピーする機能がほしいtakker.icon
takker-schedulerで実装せずに、scrapboxにuserscriptとして直接書いた方がいい?
何でもかんでも実装したら高速でクソアプリになるからな
細かい機能は、小回りの利くuserscriptで直接scrapboxに書いたほうがよさそう
すぐ修正しやすい
そのためには、必要そうなAPIをすべてexportしたJSファイルを用意しなくては
scrapbox-userscript-stdとtakker99/takker-schedulerの全函数
for-takker-memex/script.jsにだけ生やせばいいか
2023-09-03 07:58:35 takker-workflow@0.0.1/next-action-viewerで実装済み
🚧APIだけ提供したい
/motoso/ScrapboxでGTD#61d571e0774b170000dd7ff1
これだいたいできそうだな
takker99/takker-schedulerの開発ログ兼ね作業ログ
0.14.12 => 0.14.13
code:deps.ts
export * from "https://raw.githubusercontent.com/takker99/takker-scheduler/0.14.13/mod.ts";
export * from "https://raw.githubusercontent.com/takker99/takker-scheduler/0.14.13/task.ts";
code:diary.ts
export * from "https://raw.githubusercontent.com/takker99/takker-scheduler/0.14.13/diary.ts";
code:plan.ts
export * from "https://raw.githubusercontent.com/takker99/takker-scheduler/0.14.13/plan.ts";
code:viewer.tsx
export * from "https://raw.githubusercontent.com/takker99/takker-scheduler/0.14.13/workflow/task-viewer/mod.tsx";
code:scheduler.tsx
export * from "https://raw.githubusercontent.com/takker99/takker-scheduler/0.14.13/workflow/scheduler/mod.tsx";
code:weekly-scheduler.tsx
export * from "https://raw.githubusercontent.com/takker99/takker-scheduler/0.14.13/workflow/weekly-calendar/mod.tsx";
code:auto-diary.ts
export * from "https://raw.githubusercontent.com/takker99/takker-scheduler/0.14.13/workflow/auto-diary.ts";
code:auto-review.ts
export * from "https://raw.githubusercontent.com/takker99/takker-scheduler/0.14.13/workflow/auto-review.ts";
code:workflow.ts
export * from "https://raw.githubusercontent.com/takker99/takker-scheduler/0.14.13/howm/parse.ts";
export * from "https://raw.githubusercontent.com/takker99/takker-scheduler/0.14.13/howm/toTaskLine.ts"
#2024-03-23 16:04:04
#2024-03-14 09:38:19
#2023-11-20 14:27:48
#2023-09-03 07:59:17
#2023-08-23 17:07:02
#2022-12-24 16:17:13
#2022-11-29 12:57:28 diary.tsをexport
#2022-04-06 18:17:51
#2022-03-12 22:47:30
#2022-03-12 21:16:57 型定義もexportする
#2022-02-17 18:00:15 update ↑のdeps.ts
#2022-02-16 15:10:39
#2022-02-10 12:52:33
#2022-01-30 07:19:26
#2022-01-22 15:45:57
#2022-01-21 06:25:37
#2022-01-20 11:19:03
#2022-01-19 15:50:25
#2022-01-18 13:50:37
#2022-01-17 00:44:27
#2022-01-16 18:17:30
#2022-01-14 07:51:07
#2022-01-12 22:10:14
#2022-01-10 17:28:48
#2022-01-08 18:09:11
#2022-01-07 14:57:01
#2022-01-06 03:21:38
#2022-01-05 11:44:41
#2021-12-18
#2021-12-17 20:26:40
#2021-12-07 21:08:58