Skip to content

[pull] main from tldraw:main#559

Merged
pull[bot] merged 3 commits into
code:mainfrom
tldraw:main
May 26, 2026
Merged

[pull] main from tldraw:main#559
pull[bot] merged 3 commits into
code:mainfrom
tldraw:main

Conversation

@pull

@pull pull Bot commented May 26, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

steveruizok and others added 3 commits May 25, 2026 21:16
In order to make the page menu fit its rows without extra trailing space
and surface the max-pages limit in the UI, this PR auto-fits the list to
the row stack, lowers the resize minimum to one row, refactors the
resize handle into a flush 1px divider with a separate hit-test area,
and always renders the create button (disabled with a "Maximum pages
reached" tooltip when the page count hits `editor.options.maxPages`).
Closes #8862.

### Change type

- [x] `bugfix`

### Test plan

1. Open the page menu with multiple pages and confirm the list fits the
row stack with no trailing space.
2. Drag the resize handle upward and confirm it stops at a one-row
height.
3. Drag the resize handle downward, then double-click it and confirm the
list resets to the auto-fit height.
4. Create pages up to `maxPages` and confirm the create button stays
visible, becomes disabled, drops its `+` icon, and shows the "Maximum
pages reached" tooltip.

- [ ] Unit tests
- [x] End to end tests

### Release notes

- Fix the page menu list height so it no longer leaves extra trailing
space when opened, resized, or reset.
- Keep the create-page button visible when the page limit is reached,
disabled with a "Maximum pages reached" tooltip.

### API changes

- Added `'page-menu.max-pages-reached'` to `TLUiTranslationKey` and
`DEFAULT_TRANSLATION`.

### Code changes

| Section         | LOC change |
| --------------- | ---------- |
| Core code       | +53 / -33  |
| Tests           | +54 / -0   |
| Automated files | +1 / -1    |
In order to avoid leaving the user stuck on a file they no longer have
access to, this PR makes `handleLeaveGroup` mirror `handleDeleteGroup`
in `GroupSettingsDialog`: if the user is viewing a file owned by the
group they just left, navigate them to `/`. Previously the sidebar
updated but the file stayed open until the next server-side access check
failed with `FORBIDDEN`.

Closes #8340

### Change type

- [x] `bugfix`

### Test plan

1. Be a member of a group that owns files.
2. Open a file belonging to that group.
3. Open group settings and leave the group.
4. You should be redirected away from the file instead of remaining on
it.

### Release notes

- Fix: redirect away from a group file when leaving the group.
In order to drop the Context7 docs integration from the repo, this PR
removes the `context7.json` registration file (which pointed the repo at
context7.com with a public key) and deletes the two `mcp__Context7__*`
permission entries from `.claude/settings.json`. These were the only
references to Context7 in the repository.

### Change type

- [x] `other`

### Test plan

- No user-facing behavior; nothing to test manually.

### Release notes

- Omit — internal tooling change with no user-facing impact.
@pull pull Bot locked and limited conversation to collaborators May 26, 2026
@pull pull Bot added the ⤵️ pull label May 26, 2026
@pull pull Bot merged commit 86a8713 into code:main May 26, 2026
@pull pull Bot had a problem deploying to bemo-canary May 26, 2026 03:13 Failure
@pull pull Bot had a problem deploying to deploy-production May 26, 2026 03:13 Failure
@pull pull Bot had a problem deploying to npm deploy May 26, 2026 03:13 Failure
@pull pull Bot had a problem deploying to vsce publish May 26, 2026 03:13 Failure
@pull pull Bot had a problem deploying to deploy-staging May 26, 2026 03:13 Failure
@pull pull Bot had a problem deploying to npm deploy May 26, 2026 03:13 Failure
@pull pull Bot had a problem deploying to bemo-canary May 26, 2026 03:13 Failure
@pull pull Bot had a problem deploying to deploy-staging May 26, 2026 03:13 Error
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants