Closed
Bug 1075222
Opened 10 years ago
Closed 7 years ago
Prevent orphan opening/closing parens on new job rows
Categories
(Tree Management :: Treeherder, defect, P4)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: jfrench, Assigned: davidwalsh)
References
()
Details
(Keywords: outreachy)
Attachments
(3 files)
This was raised in channel by kwierso, it might be nice if there was a way to wrap the job row elements so that we wouldn't have orphan parens on new job rows.
I will upload a couple of screen grabs to illustrate the current (occasional) appearance, vs. the requested appearance.
I think it may result in slightly higher line/space consumption when wraps are triggered earlier, but perhaps not much, even over large result sets.
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
See above for the current behavior, and requested behavior.
Updated•10 years ago
|
Blocks: treeherder-dev-transition
Updated•10 years ago
|
Priority: P5 → P3
Updated•10 years ago
|
No longer blocks: treeherder-dev-transition
Updated•10 years ago
|
Priority: P3 → P4
Updated•8 years ago
|
Assignee: nobody → dibartolomeo.sara
Comment 3•8 years ago
|
||
The fix for this would likely be in CSS, but one of these areas could be related:
https://github.com/mozilla/treeherder/blob/master/ui/index.html#L191-L222
https://github.com/mozilla/treeherder/blob/master/ui/js/directives/treeherder/clonejobs.js#L633-L659
https://github.com/mozilla/treeherder/blob/master/ui/js/directives/treeherder/clonejobs.js#L542-L576
Thanks!
Comment 4•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Attachment #8820834 -
Flags: review?(cdawson)
Reporter | ||
Comment 5•8 years ago
|
||
I've added some comments on the PR. Should Sara no longer be the assignee for this bug?
Status: NEW → ASSIGNED
Comment 6•8 years ago
|
||
Yeah, Sara was an Outreachy applicant, but she's moved to other things now, afaik.
Updated•8 years ago
|
Assignee: dibartolomeo.sara → dwalsh
Comment 7•8 years ago
|
||
Comment on attachment 8820834 [details] [review]
[treeherder] darkwing:1075222-orphan-parens > mozilla:master
Yeah, Jon is totally right. I just tested it. We'll need to try another approach for this. I think this is one that's much harder than it seems it should be. :)
Attachment #8820834 -
Flags: review?(cdawson) → review-
Reporter | ||
Comment 8•8 years ago
|
||
I had wondered in the past if an ng-class like 'job-group-expanded' could conditionally be applied when a user clicks to expand a specific job group, and a css wrap rule then applied which overrides the global nowrap (in the current PR). That might prevent the expanded jobs flying offscreen.
I'm not sure about the performance hit applying that class on every job group doing a global expand though. Maybe we could listen to a 2nd scope variable for global expand like 'global-job-groups-expanded' as high up as we can in a parent element, and do some css child targeting for that.
It might still be the case when locally expanding a job group, overriding its nowrap will result in it bouncing around on the page, not sure.
Updated•8 years ago
|
Flags: needinfo?(cdawson)
Comment 9•8 years ago
|
||
David-- did you want to take another crack at this? It's not a huge deal by any means, but if you have some other cool CSS tricks, it'd be neat to have it working cleanly. On the other hand: I'm fine if we "wontfix" this, since it's really just cosmetic.
Flags: needinfo?(cdawson) → needinfo?(dwalsh)
Assignee | ||
Comment 10•8 years ago
|
||
The latest PR was the last trick in my playbook, I believe. :/ I'll let you decide if you consider this a WONTFIX.
Flags: needinfo?(dwalsh)
Comment 11•7 years ago
|
||
Let's punt for now :-)
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•