fixes #390
rebased onto 3be43da9e0a90ee52c93faac90761cd8d95705a6
Those last two are for team hubs only.
You can remove this TODO :-)
rebased onto 058920fa3d55c1e2b05393e6b0f4898896c1da7d
removed the other todo :)
With the default config it will be instanciated in "author" mode. Should we instanciate it with the "assignee" mode too? I can see a use for both in the "stream" hub.
Do you want to add issues and PR widgets to the team hubs by default ? That would make them more discoverable but it would display an error while the projects are not set in the config. No opinion from me here.
to be honest, was a bit skeptical about adding the issues one at all, since by default it will always be empty on first login... (since you have to set up pagure, github, and BZ in the hub config)
But we can add both...
yeah, lets just add them all! :D
okies, added assigned_to mode as well on the stream. also added newestissues onto the team hub (pullrequests was already there...)
rebased onto 3e0ab1c81718895abfeda32904834e1671638235
Actually the mode name for the widget config is assignee, you can see it in js/app/widgets/issues/Config.js. I know it's a bit confusing because the widget cached function is using a mode variable with different values depending on the ticketing system, but eh...
assignee
js/app/widgets/issues/Config.js
mode
thanks! fixed and rebased!
rebased onto 134861bd0d0e9f01fc72c53579df721d6d3fd521
Pull-Request has been merged by abompard
fixes #390