Learn more about these different git repos.
Other Git URLs
Badges for a user should be featured near the top of their profile. They should appear on their profile view but not their inbox view.
Here's a stab at an improved badges widget, to be positioned closer to the top of the profile.
<img alt="profile_badges-widget.png" src="/fedora-hubs/issue/raw/e06f48752e60a1b3bb067173c3d315540064757a41bc5b1420b1a64f24e2304a-profile_badges-widget.png" />
<img alt="profile_badges-widget.png" src="/fedora-hubs/issue/raw/files/e06f48752e60a1b3bb067173c3d315540064757a41bc5b1420b1a64f24e2304a-profile_badges-widget.png" />
I have written the backend along with the frontend structure for the widget. Need help from @duffy with the classes here.
@sayanchowdhury if you can spit out the data and point me to the template file, I can write it. I may need to create some of the classes during implementation so it might be easier for me to just do it, I just don't know how to pull all the data in. Does this make sense?
@duffy is working on the CSS for this widget right now. Once done I will take over and complete the widget.
Hi, I've completed it. However, it seems pagure won't let me submit a PR to your fork, @sayanchowdhury - so I just pushed to a remote branch on my fork. I hope you can use it in this format?
https://pagure.io/fork/duffy/fedora-hubs/branch/badges-user-profile
A couple of things that came up in today's meeting:
in the expanded view, there shouldn't be more than one line (~5 badges) displayed per category. The ellipsis icon should let the user click over to the user's profile on badges.fpo, ideally to the section corresponding to the same category (eg under development, send them to badges.fpo/username#development or whatnot.)
it would be very nice if the 5 badges shown in each category's preview were randomized so upon each badge load you see a different set of 5. this would make the widget less 'stale'
@sayanchowdhury what is the status on this one - do you need anything from me or are you otherwise blocked in any way? OR is this complete?
Log in to comment on this ticket.