hedy
hedy copied to clipboard
[UI idea] Enrich profile with special tags
Would be cool if public profiles could have a few extra tags that we can assign in the admin interface:
- Teacher (already present in the database, no change needed)
- Certified teacher (new category that we will be making for people that have followed our Hedy course)
- Admin for the username that is admin (maybe it would be even better if we can have multiple admins?)
- And maybe "distinguished user" that we can give out to very special people for various reason?
These tags would then be shown in the user's profile
Love this idea! Will look into this, shouldn't be too hard to store this on the user profile.
Will look into this today. Propose to fix this following this convention:
-
All teachers automatically receive the "teacher" tag
- We can either check this on server start (with the risk of not always being up-to-date)
- Or when loading the public profile page
- The second option is expensive as we have to make multiple retrievals (on each call!):
- Get the public profile page
- Get the user profile
- Verify if the
is_teacher
value is set - Update the public profile
-
All other tags can only be set manually by the admin
-
This makes it even more relevant to fix #2994.
-
Somewhere in the future it might be nice to add tags for specific milestones (x amount of achievements etc.)
Sounds good!
Do you also have a plan for how to address #2994?
On Tuesday, 16 August 2022, Timon Bakker @.***> wrote:
Will look into this today. Propose to fix this following this convention:
All teachers automatically receive the "teacher" tag
- We can either check this on server start (with the risk of not always being up-to-date)
- Or when loading the public profile page
- The second option is expensive as we have to make multiple retrievals (on each call!):
- Get the public profile page
- Get the user profile
- Verify if the is_teacher value is set
- Update the public profile
All other tags can only be set manually by the admin
This makes it even more relevant to fix #2994 https://github.com/Felienne/hedy/pull/2994.
Somewhere in the future it might be nice to add tags for specific milestones (x amount of achievements etc.)
— Reply to this email directly, view it on GitHub https://github.com/Felienne/hedy/issues/3149#issuecomment-1216288819, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHVBJP5JNQI37P2N76RVCLVZND3DANCNFSM56FBZ5PQ . You are receiving this because you authored the thread.Message ID: @.***>