Closed Bug 1468623 Opened 6 years ago Closed 6 years ago

Resizing job details / pinboard panel no longer works

Categories

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

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ghickman, Assigned: camd)

References

Details

Attachments

(2 files)

When moving your mouse over the top of the tab bar/pinboard it switches to the resize icon but clicking and dragging has no effect.
Flags: needinfo?(cdawson)
Priority: -- → P2
Assignee: nobody → cdawson
Flags: needinfo?(cdawson)
I must have broken this in the React transition.  But this is slightly lower priority than other things.  I'll get to it as soon as I can, though.
Summary: Resizing tab bar no longer works → Resizing job details / pinboard panel no longer works
(In reply to Cameron Dawson [:camd] from comment #1)
> I must have broken this in the React transition.  But this is slightly lower
> priority than other things.

The available vertical space in the pinboard panel, especially after pressing the spacebar, is very low. I find I almost always have to increase the vertical height to be able to scroll through the list of failures in a job with anything resembling comfort.

Perhaps, as a temporary measure, we could increase the default height of the panel (perhaps even just after you've pressed the spacebar)?
Priority: P2 → P1
Fwiw during the React conversion the angular mcResizer was removed but it doesn't appear a React equivalent was added.
https://github.com/mozilla/treeherder/pull/3621/files#diff-5199a75957e6fd7bba294d1418e0e1bc
Attachment #8987987 - Flags: review?(emorley)
Comment on attachment 8987987 [details] [review]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3718

Removing the review for now.  I'm hitting issues with window resizing and wrapping that are making this challenging.  I'll re-add when I've got them resolved.
Attachment #8987987 - Flags: review?(emorley)
Attachment #8987987 - Flags: review+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
There was an updated to react-split-pane that appears to have broken this again.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Cameron Dawson [:camd] from comment #8)
> There was an updated to react-split-pane that appears to have broken this
> again.

The update was a patch version, so any breakage would be a bug - so good to report upstream. Checking their issue tracker it seems like it might be the same as:
https://github.com/tomkp/react-split-pane/issues/285

Could you comment there?
Yeah, I agree, it's that issue.  I commented in that issue as to the error I was getting.  But switching to ``onChange`` on their component fixes it.  I had originally used the ``onDragFinished`` because it felt a bit faster (since it didn't update in real-time).  But now that I switched, I don't think it's THAT much slower.  :)
Attachment #8990171 - Flags: review?(emorley)
Comment on attachment 8990171 [details] [review]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3765

:-)
Attachment #8990171 - Flags: review?(emorley) → review+
Status: REOPENED → RESOLVED
Closed: 6 years ago6 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: