Closed Bug 1769284 Opened 2 years ago Closed 2 years ago

Add links for Phabricator user page and review requests page in user_profile

Categories

(bugzilla.mozilla.org :: User Interface, task)

Tracking

()

RESOLVED FIXED

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

Given most of reviews are moved to phabricator, it's nice to integrate the "review requests" feature into BMO user profile page.

There are 2 pages that is useful here:

  • User's home https://phabricator.services.mozilla.com/p/{USERNAME}/, that shows recent activity
  • Search result for user's patches, that works as review requests list

Then, this requires a map from bugzilla user ID to phabricator user ID, and that's available only with the following API, that requires api key.
https://phabricator.services.mozilla.com/conduit/method/bmoexternalaccount.search/

So this needs to be done on the server side.
Possible options are either

  • (a) perform the request as part of user_profile page, and add direct links in the phabricator pages
  • (b) add another page that redirects to phabricator pages

(a) is simpler, but that triggers the phabricator API request for each page load
(b) is slightly complicated, but the phabricator API request happens only when the link is used

Attached file GitHub Pull Request
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Blocks: 1772775
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: