ArisiaInc / a21-remote-site

Website for logged-in attendees of Arisia 2021
Apache License 2.0
2 stars 2 forks source link

ribbons endpoints #127

Open Gailbear opened 3 years ago

Gailbear commented 3 years ago

should be able to get ribbons for a user, add a ribbon to yourself, get a list of all available ribbons (+ metadata like color and text and criterion), have tracking stats for specific ribbons (like ducks clicked or days logged in), and (possibly) add a specific ribbon to other users

jducoeur commented 3 years ago

And a couple of database tables to track this, but doesn't sound terribly hard. Biggest work is probably the Admin UI page for entering info about available ribbons.

From the "duck" example: is the implication that you can have multiples of some ribbons? (Entirely doable, but has implications for the DB schema.)

jducoeur commented 3 years ago

What are the fields on the Ribbon table? Strawman to start:

Some sort of concept of "owners"? That is, who can assign this ribbon?