能否将“撤销”按钮移至修订对话框的左侧?

当您打开帖子的修订历史时,右下角会显示一个标有“还原到此修订版”的按钮。该按钮显示在右侧较新的修订版下方,但实际上它指的是左侧较旧的修订版。

如果将其移至左侧,可能会减少混淆。这可以实现吗?

2 个赞

An easy workaround would be to change the button text to Revert to last revision

2 个赞

That’s clearer if you’re looking at the current and second-last revision, but the button does work for older revisions too.

1 个赞

This totally gets me every time. I never know which of the two revisions on display it is reverting to when I select that button. I’d even advocate for putting a box around the text and the button it to make it impossible to misunderstand.

1 个赞

I hear you, but I feel this is an expert mode option and experts should be able to figure out what “this” means in the context of what is being displayed. There’s also no room for it on the left.

Maybe just change revert to this revision to revert to revision 4? I use this all the time and still struggle with it every time. I can live with it but it would be nice to have full clarity on which of the two revisions will be reverted to.

4 个赞

Oh, I like that idea :+1: it is excellent

I’ve added the #starter-task tag to this topic!

3 个赞

Maybe the revision numbers could be shown above each revision as well. It’s redundant with the numbers at the bottom left, but it’s a small change to make things really clear.

Also, when you add a tag (for example, check the top of this post) why is the “tags changed: → starter-task” shown on the left and not the right?

Also #2, the body columns aren’t aligned with their titles in raw mode.

1 个赞

我已创建一个合并请求来解决标签改进问题:UX: Improve revert label in post history modal by Sanmoo · Pull Request #10038 · discourse/discourse · GitHub

7 个赞

已合并。此问题是否仍需处理?

1 个赞

我想如果这看起来已经完成了,我们可以关闭它 @jomaxro

谢谢你 @Samuel_Carvalho_Sant

我觉得没问题。我们并没有处理 OP 本身(将“撤销”按钮左移),但按钮文本现在清晰多了,理想情况下应该能解决这个顾虑。

2 个赞