Conversation
The arrow hint indicator (shown when pointing an arrow at a shape) was not displaying on tldraw.com because the custom `Overlays` component completely replaced `TldrawOverlays` with fairy-only components. This adds `TldrawOverlays` back to the custom `Overlays` component so arrow hints render alongside fairy overlays. ### Change type - [x] `bugfix` ### Test plan 1. Go to tldraw.com 2. Create a rectangle shape 3. Select the arrow tool and draw an arrow pointing at the rectangle 4. Verify the shape indicator (outline) appears around the rectangle when the arrow endpoint is near it ### Release notes - Fixed arrow hint indicator not appearing on tldraw.com when pointing an arrow at a shape <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Adds `TldrawOverlays` to the custom `Overlays` in `TlaEditor` so arrow hint indicators render alongside fairy overlays. > > - **Editor UI (dotcom)** > - **Overlays**: Add `TldrawOverlays` to `TlaEditor`'s custom `Overlays` so default overlay behaviors (e.g., arrow hint indicators) render with fairy overlays. > - Import `TldrawOverlays` in `apps/dotcom/client/src/tla/components/TlaEditor/TlaEditor.tsx`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 9c366c9. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
Looks like paddle loads profitwell, let's add it to csp. ### Change type - [x] `other` <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Adds `https://public.profitwell.com` to CSP `connect-src` and `script-src` to support Paddle-loaded ProfitWell. > > - **CSP updates** (`apps/dotcom/client/src/utils/csp.ts`): > - `connect-src`: add `https://public.profitwell.com`. > - `script-src`: add `https://public.profitwell.com`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 3d2c010. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
- Add file_fairy_messages table for append-only chat log - Add unique IDs to all chat messages (optional for legacy). We use this so that we override messages that change (streaming, messages wholes status changes) - Frontend filters incomplete actions, sends complete messages to DB - Backend truncates fairy state at 350kb → 300kb (full history in DB) - Increment timestamps to preserve insertion order - Strip diff field before storing (reduce size) ### Change type - [x] `other` <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Introduce append-only fairy chat storage with per-message IDs, client-side sending of completed messages, and server-side state truncation. > > - **Frontend**: > - Add per-message `id` to all chat history entries (`prompt`, `action`, `continuation`, `memory-transition`); generate via `uniqueId()`. > - Strip `diff` from `action` items before persisting; throttle-save fairy state and append only completed, unsent messages. > - New `TldrawApp.appendFairyChatMessages(fileId, messages)` and effect in `FairyApp` to batch-append. > - **Backend**: > - `file_state.updateFairies`: server truncates per-agent `chatHistory` (>350kb → ~300kb kept) before upsert. > - New `file_state.appendFairyChatMessage` mutator: batch upsert JSON messages with ordered timestamps. > - **DB/Schema**: > - Migration adds `file_fairy_messages` table (+ index) for append-only chat log. > - Extend shared types with `TlaFileFairyMessage`; wire into `DB` interface. > - **Types**: > - `ChatHistoryItem` subtypes accept optional `id` (legacy-compatible). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit c371a3b. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
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 : )