Bump react-resizable-panels from 2.1.9 to 4.12.2 in /chess-client - #241
Bump react-resizable-panels from 2.1.9 to 4.12.2 in /chess-client#241dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [react-resizable-panels](https://github.com/bvaughn/react-resizable-panels) from 2.1.9 to 4.12.2. - [Release notes](https://github.com/bvaughn/react-resizable-panels/releases) - [Changelog](https://github.com/bvaughn/react-resizable-panels/blob/main/CHANGELOG.md) - [Commits](bvaughn/react-resizable-panels@2.1.9...4.12.2) --- updated-dependencies: - dependency-name: react-resizable-panels dependency-version: 4.12.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…only its neighbours (#269) Supersedes #241, which could not be merged: v4 renames the public API, so both panelled pages failed to compile. PanelGroup direction= → Group orientation= PanelResizeHandle → Separator autoSaveId → useDefaultLayout({ id, storage }) onLayout(number[]) → onLayoutChange(Layout), keyed by panel id Panel order= → gone; ids alone identify conditional panels Sizes changed meaning: a number is pixels and a string is a percentage, so every size prop becomes a string. Three defects came with it, each found only in the packaged app: · Dividers highlighted but would not drag. The neighbour-only rule was applied on pointer-down, and changing a panel's constraints mid-drag aborts that drag — hence "click first, then drag works". It is applied on hover now. It also locked min == max; a spill can only shrink a far panel, so a floor suffices, and locking the last panel made v4 refuse to resize at all. · The Analysis move text could not be resized, because the "board" panel was a board area that absorbed every change plus a fixed-width move list. The move text is a panel now: rail | board | move text | tabs. GameBoard keeps its state and portals the move list into a host the view owns, so the PGNs viewer keeps its inline sidebar. · PGNs and Prep had no panels at all, and PGNs had its own collapse idiom. Both are panelled, with the « header button and » strip used elsewhere. PGNs keeps its panels mounted while collapsed — the browser would forget its directory and the game list reports the file's game count — and needs an explicit starting layout, because that view is always mounted and merely hidden, so its group measures zero on mount and ignores every defaultSize. Measured on every multi-panel group, each divider in both directions: the pair trades, the third panel reports 0, and a drag that would overrun a neighbour's minimum stops there. With the floors disabled at runtime the same drag spills 254px, so the rule is doing real work. Exercised in the packaged app across drafts 0.15.9 to 0.15.12. Known rough edges: expanding a collapsed rail restores it to its minimum width rather than its previous one; the PGNs games panel (multi-game files only) was not exercised at runtime; and v4 persists layouts in a new format, so saved panel sizes reset once.
|
Superseded by #269, which is merged. That PR does the same 2.1.9 → 4.12.2 bump plus the port it needs: v4 renames the public API ( Closing in favour of #269. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps react-resizable-panels from 2.1.9 to 4.12.2.
Release notes
Sourced from react-resizable-panels's releases.
... (truncated)
Changelog
Sourced from react-resizable-panels's changelog.
... (truncated)
Commits
a1eeb7a4.12.1 -> 4.12.23e877a14.12.0 -> 4.12.1039d167fix #723: Ending a drag with a right-click results in panels incorrectly swal...554645aUpdate README8b0ffa94.11.2 -> 4.12.0c1d818ffeat(Group): pass isUserInteraction flag to onLayoutChanged (closes #716) (#721)335d7f2Remove temp did-mount state from e2e test harnessab519b7Add a more visible warning message to server-rendering persisted layouts7bf5dadAdded a warning to docsb2276184.11.1 -> 4.11.2You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)