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

Improvements of User Badges #240

Open
kamicut opened this issue Feb 15, 2022 · 5 comments
Open

Improvements of User Badges #240

kamicut opened this issue Feb 15, 2022 · 5 comments
Assignees
Milestone

Comments

@kamicut
Copy link
Member

kamicut commented Feb 15, 2022

Flairs will allow a moderator or an org owner to “tag” users with a badge or a “flair”. This flair will show up next to a user’s name. Examples of flairs are roles such as “Regional Ambassador” or status “Alumni”. Flairs could also be used for rewards and can be thought of of as badges "Team member of the week". There shouldn't be a limit of flairs assigned to a user within a team. Flairs are time bound ("Date of assignment" - "Date unassigned")

@jenningsanderson are the assigned / unassigned dates also decided by the moderator / org owner? Or should they be triggered automatically in the database? Could you give an example?

Inspiration: https://mods.reddithelp.com/hc/en-us/articles/360010541651-User-Flair

@vgeorge vgeorge changed the title User Flairs / Badges User Badges Feb 18, 2022
@vgeorge
Copy link
Member

vgeorge commented Feb 18, 2022

I changed the PR title from "User Flair" to "User Badges", which was the term that we thought was most appropriate for this feature at the last meeting. @kamicut and I put together a list of minimal features, possible enhancements and the data schema.

Minimal features:

  • Org admin can create/edit/disable badges, which have a title and color
  • Org admin can add/edit/remove badges of a org member
  • User profile page should display current and previously awarded badges

Nice to have:

  • Badge icons
  • At org member lists, filter by badge

Data schema:

  • badges:
    • id
    • title
    • color
    • orgId
    • createdBy
  • user_badges:
    • userId
    • badgeId
    • awardedAt
    • expiredAt
    • assignedBy

@vgeorge
Copy link
Member

vgeorge commented Apr 18, 2022

We partially added badges management in #263, remaining tasks are:

  • Display badges in user profile
  • Remove badge from user
  • Implement a way of assign badges without an OSM id by adding a "assign badge" button in the user table in organization view, which will take the user to a assignment page containing a selector of existing badges.

cc @kamicut

@vgeorge
Copy link
Member

vgeorge commented Apr 22, 2022

Status update:

  • Added a profile action to assign a badge (user can select which badge next)
  • Badge unassignment

Next steps:

  • List user badges in profile (Badges should be displayed next to usernames #295)
  • Validate if the user already has the badge in assign new badge page (currently displays generic error)
  • Remove assignment by id form in badge page
  • Format date always in UTC time
  • Badge update seems to be broken

@vgeorge
Copy link
Member

vgeorge commented Oct 17, 2022

Closing this, we are going to open tickets to the next steps.

@vgeorge vgeorge closed this as completed Oct 17, 2022
@vgeorge vgeorge changed the title User Badges Improvements of User Badges Oct 17, 2022
@vgeorge vgeorge reopened this Oct 17, 2022
@vgeorge vgeorge modified the milestones: Spring 2022 Release, Backlog Oct 17, 2022
@vgeorge
Copy link
Member

vgeorge commented Oct 17, 2022

Please ignore the previous comment, we need to look into the next steps in the updated to-do list, and ticket accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants