Closed
Bug 1128929
Opened 11 years ago
Closed 11 years ago
The similar jobs pagination is missing a 'previous jobs' link
Categories
(Tree Management :: Treeherder, defect, P4)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: mdoglio, Unassigned, Mentored)
Details
(Whiteboard: [good first bug][lang=js])
User Story
Thank you for helping out with Treeherder! You can find us on IRC at irc://irc.mozilla.org/treeherder Here's some links to help get you started. Project page: https://wiki.mozilla.org/Auto-tools/Projects/Treeherder Interacting with us, repo locations and links to set up a development version of the software: https://wiki.mozilla.org/Auto-tools/Projects/Treeherder#Contributing https://wiki.mozilla.org/Auto-tools/Projects/Treeherder#Source_and_Docs A-Team general reference, coding style guides: http://ateam-bootcamp.readthedocs.org
Attachments
(1 file)
|
71.80 KB,
image/jpeg
|
Details |
It only allows to load the next page, but not the previous one.
| Reporter | ||
Updated•11 years ago
|
Mentor: mdoglio
Whiteboard: [good first bug]
Comment 1•11 years ago
|
||
Hey, Can I take this up?
I set it up locally. Could you give me instructions to reproduce this? I couldn't find 'similar jobs' page.
Flags: needinfo?(mdoglio)
| Reporter | ||
Comment 2•11 years ago
|
||
The "similar jobs" tab is part of the bottom panel. This will show up when you click on a job button (one of those symbols in the main content area).
When you open that tab, the list of similar jobs is paginated, but there's no way to select the previous page when you are at page 2+.
The files to modify are in this folder:
https://github.com/mozilla/treeherder-ui/tree/master/webapp/app/plugins/similar_jobs
Feel free to ping me on irc (#treeherder) if you have any doubt
Flags: needinfo?(mdoglio)
Comment 3•11 years ago
|
||
Just adding a screen grab of what we have presently. I am guessing we want perhaps something like a "< prev" and "next >" or "< older" and "newer >" in the footer, when applicable.
Comment 4•11 years ago
|
||
I "removed" pagination in bug 1095100 and instead just append the next 20 jobs to the list, so if we want a concise user-experience to the main view we probably should go that route.
Updated•11 years ago
|
Priority: -- → P4
Updated•11 years ago
|
User Story: (updated)
Comment 5•11 years ago
|
||
(In reply to Johannes Pfrang [:johnp] from comment #4)
> I "removed" pagination in bug 1095100 and instead just append the next 20
> jobs to the list, so if we want a concise user-experience to the main view
> we probably should go that route.
I agree. We could probably have a next|20|50| on one side and prev|20|50| on the other side of the Similar Jobs panel footer. Maybe even the same visual style as our main resultset footer nav (square boxes), but perhaps minus the grey footer bar, and smaller.
Updated•11 years ago
|
Whiteboard: [good first bug] → [good first bug][lang=js]
Updated•11 years ago
|
User Story: (updated)
Comment 7•11 years ago
|
||
14.geevan, are you still interested in working on this per comment 1? Otherwise we'd like to probably reassign. Thanks!
Comment 8•11 years ago
|
||
(In reply to Jonathan French (:jfrench) from comment #7)
> 14.geevan, are you still interested in working on this per comment 1?
> Otherwise we'd like to probably reassign. Thanks!
Sorry, I had forgotten about this. You may reassign it to Gaurav. No problem.
Comment 9•11 years ago
|
||
No problems 14.geevan, feel free to drop by for another bug any time. I sent Gaurav another possible bug to look at also, so I will wait to see which one he prefers.
Comment 10•11 years ago
|
||
Gaurav prefers this one, so assigning :)
Assignee: nobody → deathping1994
Status: NEW → ASSIGNED
Comment 11•11 years ago
|
||
Just a head's up, we've unified our treeherder and treeherder-ui repos, so any change would need to occur in https://github.com/mozilla/treeherder, and a PR opened there.
Comment 12•11 years ago
|
||
Hi Gaurav, just checking are you still interested in fixing this? I can reassign the bug if needed.
Flags: needinfo?(deathping1994)
Comment 13•11 years ago
|
||
(In reply to Jonathan French (:jfrench) from comment #12)
> Hi Gaurav, just checking are you still interested in fixing this? I can
> reassign the bug if needed.
I could take this back if it's okay with Gaurav.
Comment 14•11 years ago
|
||
(In reply to Jeevan M R (:jee1mr) from comment #13)
> (In reply to Jonathan French (:jfrench) from comment #12)
>
> I could take this back if it's okay with Gaurav.
Hi Jeevan, we had another contributor in channel (moijes12) expressing interest in possibly this bug. Mostly that was my reason for asking, but if there's others you'd like to fix feel free to check out bugsahoy and our wiki bug tables. Thanks!
Comment 15•11 years ago
|
||
(In reply to Jonathan French (:jfrench) from comment #12)
> Hi Gaurav, just checking are you still interested in fixing this? I can
> reassign the bug if needed.
I completely forgot about it,Sorry for the late reply.
Yes you can assign it to anybody who is interested.
I solved it partially so if the someone needs help or wants to continue where I left,I am available between 7pm to 2 am (Indian time)
Flags: needinfo?(deathping1994)
Comment 16•11 years ago
|
||
Thanks Gaurav, setting to unassigned.
Assignee: deathping1994 → nobody
Status: ASSIGNED → NEW
Comment 17•11 years ago
|
||
It appears we now do additive loading of Similar Jobs. "Show previous jobs" loads more, and the existing ones don't fall off the panel. So the idea of 'next'(aka. previous) may no longer be required since everything is always present. Mauro can you confirm I'm not missing something? :)
Flags: needinfo?(mdoglio)
| Reporter | ||
Comment 18•11 years ago
|
||
Yeah that's correct.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(mdoglio)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•