Closed Bug 2061194 Opened 1 month ago Closed 15 days ago

Implement dialog sizing, body scrolling, and sticky header/footer

Categories

(Calendar :: Calendar Frontend, enhancement, P2)

enhancement
Points:
3

Tracking

(thunderbird158 fixed)

RESOLVED FIXED
158 Branch
Tracking Status
thunderbird158 --- fixed

People

(Reporter: arschmitz, Assigned: klamping, NeedInfo)

References

(Depends on 1 open bug, Blocks 4 open bugs)

Details

(Whiteboard: [calendar-ui-create-edit])

Attachments

(1 file)

Summary:
Match the Zeplin container behavior: fit to contents, resize on row expansion, and scroll body rows only when content exceeds available height.

Links:

Blocks: 2061586
Blocks: 2062012
Blocks: 2061197

Remove

  • Create/edit dialog width can grow up to the interaction-guide maximum of 1292px before any takeover/expanded-mode decision applies.
  • See Read dialog tests for sizing/constraints without content
Points: --- → 3
Priority: -- → P2
Assignee: nobody → klamping
Status: NEW → ASSIGNED

In https://docs.google.com/document/d/15OpMthOHmBGyPpDBNRW8vp6uCxeoitBp8n7Fti3LD10/edit?tab=t.ca06q18w3qfr, the guidelines for height have been updated to say "height defined by contents", and there's no longer a minimum height.

Alex, can you confirm I'm correct on this change, and if so, update the description of "Dialog respects the interaction-guide minimum size of 424px wide by 476px tall unless constrained by product-supported small viewport behavior" to match that?

Flags: needinfo?(arschmitz)

Adds styles and tests to validate the visual behavior of the dialog element.

Attachment #9636914 - Attachment description: WIP: Bug 2061194 - Calendar create/edit dialog: sizing, body scrolling, and sticky header/footer. r=#thunderbird-front-end-reviewers → Bug 2061194 - Calendar create/edit dialog: sizing, body scrolling, and sticky header/footer. r=#thunderbird-front-end-reviewers
Blocks: 2070402
No longer blocks: 2070402
Blocks: 2070402
No longer blocks: 2070402
Blocks: 2070402

@Kevin That is a question for laurel as these documents are both design documents. I believe the interaction guide still is the only source for most of the size and position rules for the dialog and these were written by Laurel so i would want to check with her on this. Reality though is i don't think it will matter i think even with everything that can be hidden or collapsed it will still hit that height. we should get clarification from design on this though.

Flags: needinfo?(arschmitz) → needinfo?(laurel)
No longer blocks: 2070402
Blocks: 2072248
No longer blocks: 2072248
Blocks: 2072248
Target Milestone: --- → 158 Branch

Pushed by sking@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/2936b3173789
Calendar create/edit dialog: sizing, body scrolling, and sticky header/footer. r=arschmitz

Status: ASSIGNED → RESOLVED
Closed: 15 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: