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
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