feat: implement reputation labels for repositories and organizations (#36334)#38335
feat: implement reputation labels for repositories and organizations (#36334)#38335mmarhin wants to merge 2 commits into
Conversation
|
This PR fully implements the "Reputation labels" for Repositories and Organizations as requested by @AdamMajer in issue #36334. Instead of reinventing the wheel, this expands the existing User Badge system by introducing What changed:
Screenshots
|
d69599d to
3bf9f18
Compare
3bf9f18 to
91bacf0
Compare
bircni
left a comment
There was a problem hiding this comment.
-
I don't think that's how user badges were supposed to be used for
Also it already states in its name..
userbadge -
the UI for the verification doesn't really follow gitea's UI + is just too large - is it only being rendered in the Explore Page? What about all the other pages?
-
also see my comment here - I think it is kinda clear #36334 (comment)
-
there should be one badge/reputation tmpl which gets reused so it can be applied more easily
- Move Badge model out of user_model to a generic badges package - Implement shared badge template for consistent UI - Refine badge sizing and rendering to match Gitea's native repository labels - Display badges in organization and repository headers




This PR implements reputation labels (badges) for Repositories and Organizations, resolving issue #36334 as suggested by @AdamMajer. The existing User Badge system has been extended to support OrgBadge and RepoBadge mappings. Badges are now displayed in the Admin panel and on the Explore pages."