Skip to content

feat(dock-panel): Improve Resize Limits And Minimized Panels #1040 - #1041

Merged
mart-sessman merged 2 commits into
TEDI-Design-System:rcfrom
kristjan-prints-industry62:feat/1040-dock-panel-update
Nov 2, 2026
Merged

mart-sessman merged 2 commits into
TEDI-Design-System:rcfrom
kristjan-prints-industry62:feat/1040-dock-panel-update

Conversation

@kristjan-prints-industry62

Copy link
Copy Markdown
Contributor

Closes #1040

  • Add numeric minimum and maximum dimensions.
  • Use an 8%–92% default resize range. Cap custom maximums at workspace size; maximum wins when minimum exceeds it.
  • Keep the resize handle and visible panel aligned at their limits.
  • Make minimized side bars fill the workspace height, including short panels.
  • Restore by clicking the minimized heading or bar; keep Close independently clickable.
  • Keep header controls usable in very small panels.
  • Update documentation, Storybook examples and tests.

Validation

  • ✅ npm run lint:ci
  • ✅ npm run build
  • ⚠️ Full test suite: 2,599 passed, 1 failed. The existing Calendar test expects Jul 2025 but receives juuli 2025. No DockPanel tests failed.
  • ✅ npm run build:sb
  • ✅ Checked the updated behaviour in Storybook.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@codecov

codecov Bot commented Oct 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mart-sessman
mart-sessman merged commit 19d1d2f into TEDI-Design-System:rc Nov 2, 2026
7 checks passed
github-actions Bot pushed a commit that referenced this pull request Nov 2, 2026
# [20.1.0-rc.1](react-20.0.0...react-20.1.0-rc.1) (2026-11-02)

### Features

* **dock-panel:** Improve Resize Limits And Minimized Panels [#1040](#1040) ([#1041](#1041)) ([19d1d2f](19d1d2f))
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

🎨 Chromatic

28 visual change(s) were detected on rc after this pull request merged.

Review and accept them

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DockPanel]: Improve resize limits and minimized panels

2 participants