Conversation
cc @derekcicerone ### Change type - [ ] `bugfix` - [x] `improvement` - [ ] `feature` - [ ] `api` - [ ] `other` ### Release notes - cross-realm: adapt `useCanvasEvents` <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Scopes the canvas pointermove listener to the editor container’s ownerDocument to support cross-realm contexts. > > - **Editor**: > - `useCanvasEvents`: > - Derives `ownerDocument` from `editor.getContainer().ownerDocument`. > - Attaches/removes `pointermove` listener on `ownerDocument.body` instead of `document.body`. > - Updates effect dependencies to include `ownerDocument`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit bccc226. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
made it hard to do rich text for custom shapes downstream ### Change type - [x] `bugfix` - [ ] `improvement` - [ ] `feature` - [ ] `api` - [ ] `other` ### Release notes - add export for `DefaultLabelColorStyle`, used with `labelColor` which is necessary for rich text in custom shapes ### API changes - add export for `DefaultLabelColorStyle`, used with `labelColor` which is necessary for rich text in custom shapes <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Export `DefaultLabelColorStyle` from `@tldraw/tlschema` and update the API report accordingly. > > - **Exports**: > - Add `DefaultLabelColorStyle` to `packages/tlschema/src/index.ts` from `styles/TLColorStyle`. > - **API**: > - Include `DefaultLabelColorStyle` in `packages/tlschema/api-report.api.md`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 4689e57. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
this is work that was in the fairy branch, landing this parent tweak ahead of the SDK release ### Change type - [ ] `bugfix` - [ ] `improvement` - [ ] `feature` - [ ] `api` - [x] `other` ### Release notes - examples: dynamic tools <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Adds a new example that dynamically adds/removes a custom Heart tool and updates the toolbar using setTool/removeTool. > > - **Examples**: > - **New example** `apps/examples/src/examples/dynamic-tools/DynamicToolsExample.tsx`: > - Implements `HeartTool` (`StateNode`) creating a heart emoji on click. > - Uses `editor.setTool` / `editor.removeTool` to dynamically register/unregister the tool. > - Adds UI overrides to expose `tools.heart` with custom icon and toolbar item. > - Integrates a toggle button (in `InFrontOfTheCanvas`) to add/remove the tool at runtime. > - Supplies `customAssetUrls` for `heart-icon`. > - **Docs**: > - Adds `README.md` describing dynamic tool addition/removal. > - **Styles**: > - Adds `dynamic-tools.css` for the toggle button positioning. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 3e218db. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
This PR updates the i18n strings. ### Change type - [x] `other` <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Refreshes i18n across many locales, adding translations for groups/invites, file‑linking, auth/terms/privacy prompts, and related UI; removes/renames a few deprecated keys. > > - **i18n/localization**: > - Add new strings across `apps/dotcom/client/public/tla/locales*/**.json` for: `groups` (create/delete/leave, settings, members/roles), `invites` (copy, accept/join, invalid link), `file links` (add/paste URL), `auth` flows (continue with email, Google sign-in, verification code, guest), `legal/cookies` (accept analytics, terms of use, privacy policy), and various UI prompts (save, show more/less, danger zone, room limits). > - Adjust/rename some keys (e.g., pin/unpin/upload strings removed or replaced) and add richer status/tooltip texts (rate limiting, errors, read‑only, publish/unpublish). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit dd016a8. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: huppy-bot[bot] <128400622+huppy-bot[bot]@users.noreply.github.com> Co-authored-by: Mime Čuvalo <mimecuvalo@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )