Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ability to remove / discontinue a badge #473

Open
ryanlerch opened this issue Apr 10, 2024 · 2 comments
Open

The ability to remove / discontinue a badge #473

ryanlerch opened this issue Apr 10, 2024 · 2 comments

Comments

@ryanlerch
Copy link
Contributor

There are some badges that are "discontinued", i.e. they are not able to ever be earned again. It would be nice to be able to mark this in the UI

there are really two classes of badges that this happens to, and we might want to treat them differently:

  1. Event badges, like Flock badges -- these are specific to an event, and if the event is over, noone can ever earn that badge again.
  2. things change. For example, FAS2 used to broadcast on Fedora Messaging when a user changed their password. We don't do this anymore in Noggin, so the user changed their password badge can never be earned again.
@abompard
Copy link
Member

I see two other use cases:
3. Badges that we've decided to remove completely and that should no longer appear on people's profiles, for any reason (it was a bad idea, it was offensive and we've learnt to do better, it's no longer something we want to encourage, etc)
4. Badges we want to temporarily disable. For example we have disabled the Copr badges because the amount of Copr build has drastically increased and the badges system was no longer capable of handling the load. We might bring them back again when we figure out a way to solve the load issue, but in the meantime they are "on hold" somehow.

@abompard
Copy link
Member

I think we could add fields to the Yaml spec and to the database table, and then find a way to display that in the UI.
Note that we should also add a last_modified column to that table so that the consumer (fedbadges) knows when to reload its ruleset.

@ryanlerch ryanlerch changed the title RFE: Discontinue badges The ability to remove / discontinue a badge May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants