Closed Bug 1623951 Opened 4 years ago Closed 4 years ago

Convert hash urls to standard urls in treeherder and perfherder IFV

Categories

(Tree Management :: Treeherder: Frontend, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: camd, Assigned: sclements)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

The standard Treeherder URL is something like:

https://treeherder.mozilla.org/#/jobs?repo=autoland

Notice the # in there. It's a relic from our AngularJS days. But it makes using standard URL libraries harder. We have quite a bit of awkward URL handling code in our helpers to work around this.

We need to backward support and convert old urls to be more like:

https://treeherder.mozilla.org/jobs?repo=autoland

Perhaps while we're at it, we should change the term of jobs to tasks.

Some work like this is done in the models/filter.js file. We parse the string, then re-push it. Part of the issue is that we have special handling for the hash being there right now. We'd have to convert all that helper code. But maintain that first parse to handle the hash being either there or not there.

See Also: → 1042737

I'll do this as part of the prep work for bug 1643117.

Assignee: nobody → sclements
Status: NEW → ASSIGNED
Priority: -- → P1
Blocks: 1643117
Status: ASSIGNED → RESOLVED
Closed: 4 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: