为Badges创建单箱/预览

Badges are a huge part of our community.

Our members love them, we’ve added a mountain of custom ones, and they are very much cherished and sought after.

However, whenever we discuss or mention badges we have no nice way of showing them off :pensive:

A good example here on meta would be the new “Support Enthusiast” badge, which looks great:

But when we link to a badge?

Ohhh boy:

https://meta.discourse.org/badges/140/support-advocate

https://meta.discourse.org/badges/139/support-enthusiast

:cry:

Links to categories are nicely displayed, here’s now we visualise the Feature category when we use a link to https://meta.discourse.org/c/feature/2

Looks great!

Can we please do something with our beloved badges? :thinking:

10 个赞

我已经想出了一个解决徽章链接显示不佳的方法,我现在在新链接的开头插入一个空格,这样至少人们会看到一个更漂亮的徽章描述,而不是仅仅一个 URL。

例如,没有前导空格:

https://meta.discourse.org/badges/140/support-advocate

一个前导空格:

Discourse Meta

好多了 :slight_smile:

我猜当链接到一个徽章时,它只是遵循与链接到一个普通主题或帖子相同的原则 :confused:

3 个赞

我喜欢一个包含徽章图片和描述的精美单框。我将投票支持它。:raised_hand: :slightly_smiling_face:

3 个赞

我也是,我是说,谁不会呢 :smiley:

有没有什么正式的方法可以将功能添加到路线图中?

我能否将其作为付费项目发布?然后尝试最终获得核心的 PR 批准?我不确定流程或什么才能使其符合核心标准 :blush:

别忘了点击此页面顶部的“投票”按钮 :blush:

1 个赞

绝对是一个很棒的功能,可以鼓励大家积极参与!我投赞成票!

1 个赞