Closed
Bug 1202731
Opened 9 years ago
Closed 5 years ago
Add a way to link to a particular set of results in comparechooser UI
Categories
(Tree Management :: Perfherder, enhancement, P1)
Tree Management
Perfherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bgrins, Assigned: igoldan)
References
(Blocks 1 open bug)
Details
(Whiteboard: [lang=js])
Attachments
(2 files)
To make sharing results from a particular test easier, it'd be great to be able to link to the "sessionrestore opt" results by linking to a particular fragment in the URL. Something like: https://treeherder.mozilla.org/perf.html#/compare?originalProject=fx-team&originalRevision=65e92b72d584&newProject=try&newRevision=2b95b3d44786#sessionrestore-opt To get that to work there'd need to be a corresponding ID set on each table.compare-table on the page. And then maybe a '#' link could show up next to the test title on hover of the table.
Comment 1•9 years ago
|
||
I have something that is nearly working here: https://github.com/parkouss/treeherder/commit/df9facdc35a23b0e6e72889b7791c469ef5c850d But, it does not work for the first page load! I believe this is a ui-router *specificity* (bug?) - not sure how to work around this. I'm don't know much about about angular and ui-router though, maybe :wlach can help ?
Flags: needinfo?(wlachance)
Comment 2•9 years ago
|
||
Nothing jumps out offhand, but I'm far from being an angular expert either. I just dive into it where needed. :) Could you file a PR for the change and f? me on it? We can take it from there.
Flags: needinfo?(wlachance) → needinfo?(j.parkouss)
Comment 3•8 years ago
|
||
:bgrins, would the filter work for you: https://treeherder.mozilla.org/perf.html#/compare?originalProject=fx-team&originalRevision=65e92b72d584&newProject=try&newRevision=2b95b3d44786&framework=1&filter=session&showOnlyImportant=0
Flags: needinfo?(j.parkouss) → needinfo?(bgrinstead)
Reporter | ||
Comment 4•8 years ago
|
||
Yes that helps! However a couple of notes: 1) The "tests with no results" section is huge on that particular push, which means the filtered results aren't visible in the viewport when loading. Could that section be collapsed and/or moved to the bottom to the page so the relevant results are in the viewport on loading? 2) Partly because of (1) but also in general, it'd still be great to have IDs added to the DOM for each section heading so I can add it to the URL and have the page immediately point to that section. It wouldn't even necessarily need to be surfaced to the UI, I can manually find the ID with devtools and append it to the URL. And something I believe is unrelated to the 'filter' feature but I'll add anyway since I bumped into it: I am consistently getting slow script warnings when loading that page
Flags: needinfo?(bgrinstead)
Assignee | ||
Updated•7 years ago
|
Priority: -- → P5
Assignee | ||
Comment 5•5 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #4)
Yes that helps! However a couple of notes:
- The "tests with no results" section is huge on that particular push,
which means the filtered results aren't visible in the viewport when
loading. Could that section be collapsed and/or moved to the bottom to the
page so the relevant results are in the viewport on loading?
I believe I fixed this issue.
- Partly because of (1) but also in general, it'd still be great to have
IDs added to the DOM for each section heading so I can add it to the URL and
have the page immediately point to that section. It wouldn't even
necessarily need to be surfaced to the UI, I can manually find the ID with
devtools and append it to the URL.
This is something we're still lacking, but is a small useful feature.
And something I believe is unrelated to the 'filter' feature but I'll add
anyway since I bumped into it: I am consistently getting slow script
warnings when loading that page
This has been addressed, as we refactored the endpoints. They are now faster in response times.
Assignee | ||
Updated•5 years ago
|
Priority: P5 → P3
Assignee | ||
Updated•5 years ago
|
Type: enhancement → defect
Whiteboard: [lang=js]
Assignee | ||
Comment 6•5 years ago
•
|
||
Based on comment 4, the new requirements for this ticket are:
- provide id at test header level
- provide id at test signature level
- provide a paragraph anchor
- so developers can share the Compare view already focused on a particular test
Assignee | ||
Updated•5 years ago
|
Type: defect → enhancement
Comment 7•5 years ago
|
||
Comment 8•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → igoldan
Priority: P3 → P1
Assignee | ||
Comment 9•5 years ago
|
||
This just got merged to master.
Assignee | ||
Comment 10•5 years ago
|
||
This just got deployed to production.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•