Closed Bug 1473787 Opened 7 years ago Closed 7 years ago

Lando UI should link to the correct bugzilla and phabricator instances

Categories

(Conduit :: Lando, enhancement)

Production
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: imadueme, Assigned: imadueme)

References

Details

(Keywords: conduit-triaged)

Attachments

(2 files)

Lando UI should know which Phabricator and Bugzilla instance to link out to based on the Lando API instance it talks to. We could do this by setting it in the application config, rather than additional environment variables, since we can infer based on the LANDO_API_URL setting.
Summary: Lando UI should know which phabricator and bugzilla instance to link to → Lando UI should link to the correct bugzilla and phabricator instances
Blocks: 1466120
Assignee: nobody → imadueme
Status: NEW → ASSIGNED
The UI references relevant items like bugs, revisions, and diffs but, because they are in plaintext only, it is a pain for users to look up that item. This commit aims to link these items to the correct resource. Two new application configuration entires are added: BUGZILLA_URL and PHABRICATOR_URL, these don't come from the environment, but, instead are dependant on the LANDO_API_URL that is set. From here, we're able to link to the correct instance of the two services using regex string substitution in 3 new template filters.
Attachment #8993132 - Attachment description: [WIP] revisions: linkify bugs, revision urls, and diff ids (Bug 1473787) → revisions: linkify bugs, revision urls, and diff ids (Bug 1473787)
Comment on attachment 8993132 [details] revisions: linkify bugs, revision urls, and diff ids (Bug 1473787) Māris Fogels [:mars] has approved the revision. https://phabricator.services.mozilla.com/D2229
Attachment #8993132 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: