# Initial Discourse badge design spec

**URL:** https://meta.discourse.org/t/initial-discourse-badge-design-spec/13088
**Category:** Feature
**Created:** [February 26, 2014, 9:55am UTC](https://meta.discourse.org/t/initial-discourse-badge-design-spec/13088 "2014-02-26T09:55:39Z")
**Posts on this page:** 1
**Showing post:** 78

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 3, 2014, 9:25pm UTC](https://meta.discourse.org/t/initial-discourse-badge-design-spec/13088/78 "2014-03-03T21:25:37Z")

</div>

Personally, I love the usercard (nitpick not sure about badge styling or bright yellow)

I worry though we are entering specification paralysis here, so want to push forward.

We have enough to go by on this topic for a “version 0”. Since I will likely be maintaining this long term I will take the roll of benevolent dictator for dictating the implementation.

This is what I would like to see for **version 0** :

- A badges table with (id, name, type)
- A user\_badges table with (id, badge\_id, user\_id, granted\_at, granted\_by)
- Badge name used as the key to localize name and description for badges, description can include html for links.
- An API to grant users badges and revoke
- Usercard UI similar to what @awesomerobot suggested
- User page UI somewhat like usercard
- An admin UI to grant/badges badges to users (in admin user page)
- An admin UI to grant/revoke badges to groups in groups page (and keep them up to date)

That is it for phase 0. I want this PR in first, then we can build on it.

Phase 1 can focus on dealing with numbers vs badges next to users to the left. It can start dealing with automatic awards. and so on. I just want the groundwork in first.

cc @radq

---

_[View the full topic](https://meta.discourse.org/t/initial-discourse-badge-design-spec/13088)._
