Closed
Bug 1234183
Opened 8 years ago
Closed 8 years ago
Auto resize panel height
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: RT, Assigned: dcritchley)
References
()
Details
User Story
Acceptance criteria: - Resize automatically the panel height if the list includes between 0 and 5 conversations - Resize automatically the panel height when the user is in a room and opens the panel - Set a fixed panel height if the panel includes 5 conversations or more See attached documents for details on panel height based on number of conversations.
Attachments
(4 files)
No description provided.
Reporter | ||
Comment 1•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
User Story: (updated)
Reporter | ||
Updated•8 years ago
|
Rank: 25
Priority: -- → P2
Comment 2•8 years ago
|
||
I would like to work on this item.
Reporter | ||
Comment 3•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
User Story: (updated)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → dcritchley
Reporter | ||
Updated•8 years ago
|
Rank: 25 → 15
Reporter | ||
Updated•8 years ago
|
Priority: P2 → P1
Updated•8 years ago
|
Rank: 15 → 11
Assignee | ||
Comment 4•8 years ago
|
||
There is a min-height on the panel built into the browser. So we can't go any smaller than 214px without changing that parameter in the browser, which may have an impact other panels. My recommendation would be to stick with the 214px min height within our app for now and pursue having the panel min height changed for a release down the road, if we want to continue down that route. Should we proceed with working around the min-height?
Flags: needinfo?(sfranks)
Comment 5•8 years ago
|
||
Are we sure it's not simple to override? The downloads panel can be smaller than 214px (http://i.sevaan.com/0A1G1R1s033G) If it's a real issue, I'm okay staying with 214px for the moment. It's still shorter than what the panel is now.
Flags: needinfo?(sfranks)
Comment 6•8 years ago
|
||
dcritch, where are you seeing the min-height being set by the browser?
Comment 7•8 years ago
|
||
I would guess: http://mxr.mozilla.org/mozilla-central/source/browser/modules/PanelFrame.jsm#19
Assignee | ||
Comment 8•8 years ago
|
||
Attachment #8712223 -
Flags: ui-review?(sfranks)
Comment 9•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Attachment #8712232 -
Flags: review?(standard8)
Attachment #8712232 -
Flags: review?(edilee)
Attachment #8712232 -
Flags: review?(dmose)
Updated•8 years ago
|
Attachment #8712223 -
Flags: ui-review?(sfranks) → ui-review+
Comment 10•8 years ago
|
||
Comment on attachment 8712232 [details] [review] [loop] daveccrit:1234183-resizePanel > mozilla:master I'm going to skip review on this and leave it to Dan/Ed.
Attachment #8712232 -
Flags: review?(standard8)
Comment 11•8 years ago
|
||
Comment on attachment 8712232 [details] [review] [loop] daveccrit:1234183-resizePanel > mozilla:master Ed's already doing review for the pointer sharing; I'll pick this up tomorrow.
Attachment #8712232 -
Flags: review?(edilee)
Comment 12•8 years ago
|
||
Comment on attachment 8712232 [details] [review] [loop] daveccrit:1234183-resizePanel > mozilla:master Looks great; thanks for the ui-showcase SVG icon cleanup as well as the auto-resizing code. r=dmose with the nits in the PR fixed if there are no mochitest changes required. If mochitest changes are required, I'd like to have one more look.
Attachment #8712232 -
Flags: review?(dmose) → review+
Comment 13•8 years ago
|
||
One issue I noticed while testing, and this may or may not be a problem on master too: when testing on a profile for the first time with no rooms, I could create the first room, and it would work, but not appear in the panel. All subsequent attempts (eg delete that room and create a new one) didn't have that problem. It's not obvious to me that this would be caused by this patch, but please check before landing.
Assignee | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•