Skip to content

Conversation

@myabc
Copy link
Contributor

@myabc myabc commented Jan 5, 2026

Ticket

https://community.openproject.org/work_packages/70183

What are you trying to accomplish?

Fixes Work Package Export dialog resizing by changing size to medium_portrait.

Screenshots

BEFORE AFTER
CSV Screenshot 2026-01-05 at 13 36 53 Screenshot 2026-01-05 at 13 36 11
PDF Screenshot 2026-01-05 at 13 36 47 Screenshot 2026-01-05 at 13 36 18

What approach did you choose and why?

This PR makes the Export dialog portrait - which IMO looks better. An alternative strategy could be to add a minimum height, but I think that probably warrants discussion with UX/UI team first.

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@myabc myabc added this to the 17.0.x milestone Jan 5, 2026
@myabc myabc marked this pull request as ready for review January 5, 2026 16:41
Copilot AI review requested due to automatic review settings January 5, 2026 16:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the Work Package Export dialog resizing issue when switching between different export formats (CSV, PDF, XLS) by changing the dialog size from :xlarge to :medium_portrait.

Key changes:

  • Changed the Primer::Alpha::Dialog size parameter from :xlarge to :medium_portrait to prevent the dialog from resizing when users switch between export formats

@bsatarnejad
Copy link
Contributor

bsatarnejad commented Jan 6, 2026

Hi @myabc
With the new changes, the dialog height is not stable either.

Screen.Recording.2026-01-06.at.11.22.31.mov

But I think it should be discussed with designers. cc/ @psatyal , @marcalcobe
Codewise, it looks good to me, but I'm not sure about how it looks now. It can be merged after designers approve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants