mathuo eec2ae04f3
fix: constraints persistence and precedence issues
Resolves issue #869 where setConstraints calls would not persist after refresh
and could not override addPanel constraints.

Changes:
- Fix critical bug in DockviewGroupPanel constructor (minimumWidth was using maximumHeight)
- Restore setConstraints method to DockviewPanelApi by removing from Omit list
- Implement explicit constraint tracking to allow group constraints to override panel constraints
- Add constraint change listener to track when setConstraints is called explicitly
- Update constraint getter precedence: explicit setConstraints > panel constraints > defaults
- Update tests to reflect new behavior where group constraints can override panel constraints

The new constraint hierarchy ensures that:
1. Explicit setConstraints calls take highest priority
2. Panel constraints from addPanel are used when no explicit group constraints exist
3. Group defaults are used as fallback
4. Constraints persist properly after page refresh

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 22:16:11 +01:00
2024-11-15 21:18:09 +00:00
2024-03-11 21:54:30 +00:00
2024-07-09 21:16:59 +01:00
2021-10-04 20:22:05 +01:00
2020-11-15 16:05:51 +00:00
2021-10-04 20:22:05 +01:00
2023-10-01 21:53:59 +01:00
2020-09-20 20:00:31 +01:00
2020-09-20 21:52:26 +01:00
2023-10-22 15:48:28 +01:00
2023-10-22 15:48:28 +01:00
2025-07-17 20:42:31 +01:00
2021-03-14 16:27:18 +00:00
2025-04-08 18:22:33 +01:00
2025-01-27 22:35:43 +00:00
2023-05-16 21:28:02 +01:00
2024-07-09 21:16:59 +01:00
2020-09-24 23:01:48 +01:00
2025-04-08 18:22:33 +01:00

dockview

Zero dependency layout manager supporting tabs, groups, grids and splitviews. Supports React, Vue and Vanilla TypeScript


npm version npm CI Build Coverage Quality Gate Status Bundle Phobia

Please see the website: https://dockview.dev

Features

  • Serialization / deserialization with full layout management
  • Support for split-views, grid-views and 'dockable' views
  • Themeable and customizable
  • Tab and Group docking / Drag n' Drop
  • Popout Windows
  • Floating Groups
  • Extensive API
  • Supports Shadow DOMs
  • High test coverage
  • Documentation website with live examples
  • Transparent builds and Code Analysis
  • Security at mind - verifed publishing and builds through GitHub Actions

Want to verify our builds? Go here.

Description
[MIRROR] Zero dependency Docking Layout Manager. Supports Vanilla TypeScript, React and Vue.
Readme MIT 267 MiB
Languages
TypeScript 84.3%
MDX 5.1%
JavaScript 3.6%
HTML 3.1%
SCSS 3.1%
Other 0.8%