你好,Discourse-solved 团队,
建议进行 UX 调整:对于无权取消标记正确答案的用户,应隐藏带有对勾的按钮。
![]()
仅应显示“解决方案”一词。
谢谢。
你好,Discourse-solved 团队,
建议进行 UX 调整:对于无权取消标记正确答案的用户,应隐藏带有对勾的按钮。
![]()
仅应显示“解决方案”一词。
谢谢。
I disagree - I think the filled box is an important part of the styling highlighting the post.
Having a checkbox tells users that I can uncheck it. If I am not the OP or admin, I shouldn’t see the checkbox. Only OP or admin should see checkbox because that action is only for them.
For everyone else, they should only see the word “SOLUTION”.
We can add additional highlights by making the background of the post ‘Green’ or have additional highlights around it. But not using the checkbox.
UX wise, having a checkbox for the readers is not the proper way.
To the discourse-solved developers, i’m not a ruby dev, but how can i modify this in code in case I want to remove the checkbox in my site for readers not OP/Admin? What part of the code handles this?
Thank you. 
You can hide it by adding the following line of CSS to your theme:
.actions button.accepted {display:none;}
PS: this does show there’s a slight alignment issue with the ‘Solution’ text:

Thanks @bartv for the suggestion.
But the problem with that solution is it also hides the checkmark to OP or admin who should have the ability to uncheck it.
Ah true. Perhaps you could dig into the CSS a bit more to make the selector more specific and avoid this.
I was trying to do that and realize that this isn’t possible because you can’t add any conditions (if/else) in the CSS. The only way to make it work is editing it directly thru the plugin code.
To everyone that helped, thanks.
I was able to modify the plugin code already:
Here’s what I did:
For OP:
Instead of just the checkmark, I added this button - “This solved my question” which is more visible to the OP or readers.

Also, if OP wants to change his/her answer, this is what he/she sees:

Now, if I am not OP or admin. Here is what I see:

Again, thanks for those who have created this plugin. 
I actually like this change quite a bit @sam – makes it much clearer, if you want to prioritize solved in a category.
Maybe @awesomerobot can do some mockups here, I am fine to make solved clearer. I agree that marking something as a solution is not super clear to the OP.
Having "this solved my question below a series of short replies is going to get very noisy very quickly though.
Really need to show mockups of how a topic will look, rather than individual posts.
It’s noisy, but just for OP, so I don’t think it’s so bad. It’s worth a little noise if increases feature use.
I shortened the copy from “this solved my question” to “mark as solution,” the longer version is clearer, but it’s also… long. Using “mark” also gives us “unmark” as the reverse.
Also Font Awesome’s times-square (
) icon is premium-only, and the times-circle is free, so that’s why I’m using circles here.
Mobile’s a little tricky, maybe we show “solution” and then if they expand the controls we hide the text and just show the icon?
Interesting yeah maybe in mobile we suppress text till clicked … on that note, how would “unmarking” the solution work in mobile?
Yeah it’s difficult to keep the same amount of clarity on mobile, the post controls are already crammed. One option could be to move the controls for solved outside of the existing topic nav
How about emphasizing the mark as solution for the current reply only and shift the emphasis as the reader scrolls? Appreciate it’s much more involved but would reduce noise considerably.
It was implemented in:
This is how it looks on desktop:
Can accept / unaccept:
Cannot accept / unaccept:
The same, but for mobile:
我的第一印象是这让它变得非常嘈杂。
标签“标记为解决方案”太长,而且它距离点赞按钮比距离勾选标记更近(仅差 2 像素
),这也没有太大帮助。
我觉得这很好地印证了我之前的担忧。
我认为,随着这次重大变更,有必要重新审视更改图标设计的想法。在列表中,圆形图标看起来不太显眼。我知道这里存在一种对“花哨操作”的抵触情绪。但我希望尽可能在变更中保留方形图标,即使我们需要重新绘制 1-2 个 SVG 文件。
我们曾在周五尝试合并,但由于疏忽,将样式更改应用到了**非楼主(OP)的帖子,因此我将其回退了。这次变更本应严格限定在楼主(OP)**范围内(例如不包括管理员)。
关于楼主(OP)的另一个担忧是:一旦将某条回复标记为解决方案后,系统会持续提供“取消标记为解决方案”的选项,我觉得这显得有些杂乱。我们能否在此方面做一些改进?要“取消点赞”,只需再次点击心形图标即可,我们为何不遵循同样的模式呢?