Learn more about these different git repos.
Other Git URLs
It'd be swell if there were a widget on a User's Hub that would allow someone to give them a "++" by clicking a button, as if they were in IRC. It would fire off the same fedmsg as the one used in IRC to award cookies.
Perhaps it would also show the current karma for that user for the current release cycle?
cc: mattdm
That would be cool.
Currently, we keep the karma data in a python 'shelve' file on the zodbot machine. As written, it isn't suitable to be shared between zodbot and another process, so this would involve a (total) rewrite of the way the zodbot karma stuff works too.
Note that this ticket requires a total rework of the zodbot plugin. (pingou, today's #fedora-hubs meeting.)
Here are some thoughts on the widget that I am working on. I brainstormed and sketched before the final mockup (which is posted here). I analyzed the pros and cons of each use-case that I had explored.
Moving on, I do have some improvements that I can think of in this design
Any feedback and suggestions are welcome.
<img alt="HomePage1.png" src="/fedora-hubs/issue/raw/8c5995c0b86e415d2ea8ffedb1ead3c014be496055754f79c93ccbb1ad23cbbb-HomePage1.png" />
<img alt="HomePage1.png" src="/fedora-hubs/issue/raw/files/8c5995c0b86e415d2ea8ffedb1ead3c014be496055754f79c93ccbb1ad23cbbb-HomePage1.png" />
<img alt="HomePage2.png" src="/fedora-hubs/issue/raw/56d430fd497c050cb738cedcc3f19893f62e96e2385922b8497a6f8dc437f78a-HomePage2.png" />
<img alt="HomePage2.png" src="/fedora-hubs/issue/raw/files/56d430fd497c050cb738cedcc3f19893f62e96e2385922b8497a6f8dc437f78a-HomePage2.png" />
<img alt="SubscriberPage.png" src="/fedora-hubs/issue/raw/6c93e8b601d5def98bc45fbd9be1b5ab4703c2966c08f29609ad9efd7b7f6a9e-SubscriberPage.png" />
<img alt="SubscriberPage.png" src="/fedora-hubs/issue/raw/files/6c93e8b601d5def98bc45fbd9be1b5ab4703c2966c08f29609ad9efd7b7f6a9e-SubscriberPage.png" />
I'm not sure if this is discoverable - I would run these mockups past a few people in IRC. Don't be afraid to make the control stand out more.
I tried to cover all the use-cases possible for this widget, as you suggested will ask for feedback from people in IRC. Then based on the feedback will iterate accordingly.
@abompard is onboard for making the service that will be used by zodbot and hubs to store the data and send the fedmsg messages for karma.
We'll be teaming up to adjust zodbot and working on the widget.
Hi PIngou, do you have any suggestions for the improving the widget ?
In the meeting today pingou pointed out that the widget isn't noticeable and should stand out.
Also a note that abompard has been working on plus-plus-service to make this widget function. (came up in today's hubs status meeting.) It's a Flask-based REST service that the widget and Zodbot will talk to, which will send the bus message to add karma and get statistics.
Yup sure, I got your point :) I will start working on it.
atelic is going to pick up on abompard's work while abompard is on PTO.
<img alt="PLUS1.png" src="/fedora-hubs/issue/raw/cea7ceb11198dc00e6eeed3d6f003d1f4b0e980459c525c2aa82a993646fd7fe-PLUS1.png" />
<img alt="PLUS1.png" src="/fedora-hubs/issue/raw/files/cea7ceb11198dc00e6eeed3d6f003d1f4b0e980459c525c2aa82a993646fd7fe-PLUS1.png" />
<img alt="PLUS2.png" src="/fedora-hubs/issue/raw/1f645875f51f38126794d9f4996e1461f070407922f7b0999fc3b412ed8a70d2-PLUS2.png" />
<img alt="PLUS2.png" src="/fedora-hubs/issue/raw/files/1f645875f51f38126794d9f4996e1461f070407922f7b0999fc3b412ed8a70d2-PLUS2.png" />
<img alt="PLUS3.png" src="/fedora-hubs/issue/raw/9f91ef0468f6c0151b99bfd5bd53462b1917be31ed7ea50ebe6c5a7ab0998ac7-PLUS3.png" />
<img alt="PLUS3.png" src="/fedora-hubs/issue/raw/files/9f91ef0468f6c0151b99bfd5bd53462b1917be31ed7ea50ebe6c5a7ab0998ac7-PLUS3.png" />
Some changes that I have incorporated in my design is making the plus sign more prominent , Further, I believe it would be great to have some kind of animation to the plus sign like changing colors , mostly fedora colors while fading into grey.
User Feedback
Some improvements to design from the user feedback
<img alt="pluspage1.png" src="/fedora-hubs/issue/raw/1edb6ae776ed721d41b151e260a42ffe67445891d8f713f5a2da413643309f2b-pluspage1.png" />
<img alt="pluspage2.png" src="/fedora-hubs/issue/raw/10544258c2809bf4c6ddf7651040d4c1d860b66f848fc97aeda949c0b10bd2b4-pluspage2.png" />
<img alt="pluspage3.png" src="/fedora-hubs/issue/raw/839a1996a67fc26fbdd66c9c992e887b59942044208b8df225d856ac64940bc0-pluspage3.png" />
<img alt="pluspage1.png" src="/fedora-hubs/issue/raw/files/1edb6ae776ed721d41b151e260a42ffe67445891d8f713f5a2da413643309f2b-pluspage1.png" />
<img alt="pluspage2.png" src="/fedora-hubs/issue/raw/files/10544258c2809bf4c6ddf7651040d4c1d860b66f848fc97aeda949c0b10bd2b4-pluspage2.png" />
<img alt="pluspage3.png" src="/fedora-hubs/issue/raw/files/839a1996a67fc26fbdd66c9c992e887b59942044208b8df225d856ac64940bc0-pluspage3.png" />
Backend integration is completed https://pagure.io/fedora-hubs/pull-request/250
We had a discussion during triage at our meeting today about this one:
In the interest of releasing a high-priority feature that is essentially done, I suggest we create a user metadata box that doesn't include the info we need FAS3 for and just have the ++ widget data in it for now.
Login to comment on this ticket.