#427 UserIssues widget initial commit
Closed by ryanlerch. Opened by anar.
anar/fedora-hubs IssuesWidget  into  develop

Download 427.patch

This is the first version of Tickets I Filed widget (UserIssues).

So here is the brief outline of some design decisions:

1) I assumed that along with their own tickets, users want to follow tickets filed by someone else. So, the widget config dialog contains three text inputs:
- bugzilla email
Not a username because bugzilla jsonrpc api can find issues only filtered by email. Alternative to jsonrpc is xmlrpc which is the same. Redhat uses the 4.4.12 version of bugzilla, which doesn't support REST API. REST API allows filtering by username
- github username
- pagure username

2) Pagure API doesn't allow to search issues of a user in all repos. We must specify the repo and iterating through all possible ones is not efficient. I filed a ticket to pagure and looked at the API code and I might have some ideas how to add this feature (and allow to search issues in all repos filtered by different parameters) unless the assignee will handle it himself/herself. As soon as API does have this feature I will enable pagure issues.

Here are some screenshots:
https://ibb.co/deRy2b
https://ibb.co/e3Aahb

Addresses #391

Submitted a pull-request to pagure for expanding the REST API functionality:

https://pagure.io/pagure/pull-request/2748

is this PR still being worked on? If not, we should close to clean up the queue a bit.

Going to close this one, since no response from the original author. As it is, it seems that PR#501 is a full solution to the original issue anyway.

Pull-Request has been closed by ryanlerch

Metadata