Skip to content

[pull] main from tldraw:main#267

Merged
pull[bot] merged 1 commit intocode:mainfrom
tldraw:main
Nov 14, 2025
Merged

[pull] main from tldraw:main#267
pull[bot] merged 1 commit intocode:mainfrom
tldraw:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Nov 14, 2025

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 : )

Describe what your pull request does. If you can, add GIFs or images
showing the before and after of your change.

### Change type

- [ ] `bugfix`
- [ ] `improvement`
- [ ] `feature`
- [ ] `api`
- [x] `other`

### Test plan

1. Create a shape...
2.

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

### Release notes

- Fixed a bug with…

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Introduce groups-based sidebar UI with file/group DnD, group
management and invites, plus server/client mutations and routes to
support group workflows.
> 
> - **UI/Sidebar (groups frontend)**:
> - New grouped sidebar with "My files" and per-group sections, inline
renaming, pin indicators, and context menus.
> - Drag-and-drop: reorder pinned files, move files between groups, and
reorder groups (visual drop cursor).
> - New dialogs: `CreateGroupDialog`, `GroupSettingsDialog` (invite
link, member roles, leave/delete), `AddFileLinkDialog`.
> - File menu: “Move to” group, pin/unpin per-group, duplicate-to-group,
delete/forget with group context.
> - **Invites & Routing**:
> - Add route `GET /invite/:token` (client + worker) and accept flow
`POST /invite/:token/accept`.
> - `TlaInviteDialog` and handling on `/invite/:token` and in file/local
pages; copy invite links from sidebar/menu.
> - **Client App/State**:
> - `TldrawApp` enhancements: group memberships, stable ordering,
ensure-visible helpers, upload/import to specific group, new drag state,
toasts, navigation, and `hasFlag` utilities.
> - Hooks/utilities for flags, drag tracking, isDragging; updated
ownership check (`useHasFileAdminRights`).
> - **Server/Mutators**:
> - New group mutations: create/update/delete, leave, set member role,
regenerate invite secret, move file to group, add file link, handle file
DnD, group reordering; max groups limit.
> - Add `MAX_NUMBER_OF_GROUPS`, `ZErrorCode.max_groups_reached`, flag
helpers (`parseFlags`, `userHasFlag`).
> - Worker endpoints and DO/replicator tweaks to support groups and
invites.
> - **Assets/i18n**:
> - Add folder icons (`icon-folder`, `-open`, `-new`) and extensive
locale strings for groups/invites.
> - **Misc**:
> - Menu item supports right-side icon; CTA/button tweaks; tests
snapshot updated.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
67b22c8. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Mitja Bezenšek <mitja.bezensek@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Nov 14, 2025
@pull pull Bot added the ⤵️ pull label Nov 14, 2025
@pull pull Bot had a problem deploying to deploy-staging November 14, 2025 09:13 Failure
@pull pull Bot merged commit 647b156 into code:main Nov 14, 2025
1 of 7 checks passed
@pull pull Bot requested a deployment to e2e-dotcom November 14, 2025 09:13 In progress
@pull pull Bot had a problem deploying to deploy-production November 14, 2025 09:13 Error
@pull pull Bot had a problem deploying to deploy-staging November 14, 2025 09:13 Failure
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.

1 participant