[go: up one dir, main page]

Fix layout of work item drawer when Panels view is off

What does this MR do and why?

Conditionally restore the viewport-based queries that control work item drawer width when the new paneled view is turned off.

References

Screenshots or screen recordings

Size Before After
xs (<576px) gdk.test_3000_flightjs_Flight_-_issues (17).png gdk.test_3000_flightjs_Flight_-_issues (12).png
sm (>=576px) gdk.test_3000_flightjs_Flight_-_issues (18).png gdk.test_3000_flightjs_Flight_-_issues (13).png
md (>=768px) gdk.test_3000_flightjs_Flight_-_issues (19).png gdk.test_3000_flightjs_Flight_-_issues (14).png
lg (>=992px) gdk.test_3000_flightjs_Flight_-_issues (20).png gdk.test_3000_flightjs_Flight_-_issues (15).png
xl (>=1200px) gdk.test_3000_flightjs_Flight_-_issues (21).png gdk.test_3000_flightjs_Flight_-_issues (22).png

How to set up and validate locally

  1. Check out this branch
  2. Ensure you have the new UI turned off
  3. Visit a work item that has either child work items or linked work items
  4. Click on a child item or linked item to open it in a drawer
  5. Ensure you have the left sidebar expanded
  6. resize your window to about 1200px
  7. The drawer will not be full-width underneath the left nav

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading