Skip to content

[backport cloud/1.37] refactor: restructure BaseModalLayout from flexbox to CSS Grid#8239

Merged
DrJKL merged 1 commit intocloud/1.37from
backport-8211-to-cloud-1.37
Jan 22, 2026
Merged

[backport cloud/1.37] refactor: restructure BaseModalLayout from flexbox to CSS Grid#8239
DrJKL merged 1 commit intocloud/1.37from
backport-8211-to-cloud-1.37

Conversation

@DrJKL
Copy link
Contributor

@DrJKL DrJKL commented Jan 22, 2026

Backport of #8211 to cloud/1.37.

Cherry-picked merge commit 2db246f494b42bb65bd034571c2388b8d6c7e11f.

Resolved conflicts:

  • src/components/widget/layout/BaseModalLayout.vue - Accepted PR version (complete refactor from flexbox to CSS Grid)

┆Issue is synchronized with this Notion page by Unito

Refactors `BaseModalLayout` from a flexbox-based layout to CSS Grid,
enabling smoother panel transitions and improved layout control.

- **Flexbox → CSS Grid**: Replaced nested flexbox with a 3-column CSS
Grid (`nav | main | aside`)
- **Smooth panel transitions**: Panel show/hide now animates via
`grid-template-columns` instead of Vue `<Transition>` with `translateX`
- **Removed transition CSS**: Deleted `.slide-panel-*` and `.fade-*`
transition styles (no longer needed with grid approach)

- **Dedicated header**: Added header with close button, right panel
toggle, and customizable title slot (`rightPanelHeaderTitle`,
`rightPanelHeaderActions`)
- **New prop**: Added `rightPanelTitle` prop for simple text title in
right panel header

- **ESC key handling**: Pressing Escape closes the right panel (if open)
before closing the dialog
- **Accessibility**: Added `aria-label` attributes to all panel toggle
and close buttons
- **i18n**: Added translation keys: `showLeftPanel`, `hideLeftPanel`,
`showRightPanel`, `hideRightPanel`, `closeDialog`

---------

Co-authored-by: Amp <amp@ampcode.com>
@DrJKL DrJKL added the backport Backporting a PR onto a release candidate label Jan 22, 2026
@DrJKL DrJKL requested review from a team, KarryCharon, Yorha4D and shinshin86 as code owners January 22, 2026 03:49
@DrJKL DrJKL added the backport Backporting a PR onto a release candidate label Jan 22, 2026
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jan 22, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 22, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • backport

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Jan 22, 2026

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 01/22/2026, 03:51:37 AM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link

github-actions bot commented Jan 22, 2026

🎭 Playwright Tests: ⚠️ Passed with flaky tests

Results: 500 passed, 0 failed, 3 flaky, 8 skipped (Total: 511)

❌ Failed Tests

📊 Browser Reports
  • chromium: View Report (✅ 490 / ❌ 0 / ⚠️ 2 / ⏭️ 8)
  • chromium-2x: View Report (✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • chromium-0.5x: View Report (✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • mobile-chrome: View Report (✅ 7 / ❌ 0 / ⚠️ 1 / ⏭️ 0)

@DrJKL DrJKL merged commit 2d0f3d6 into cloud/1.37 Jan 22, 2026
38 checks passed
@DrJKL DrJKL deleted the backport-8211-to-cloud-1.37 branch January 22, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Backporting a PR onto a release candidate size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant