Skip to content

[pull] main from tldraw:main#287

Merged
pull[bot] merged 2 commits intocode:mainfrom
tldraw:main
Nov 27, 2025
Merged

[pull] main from tldraw:main#287
pull[bot] merged 2 commits intocode:mainfrom
tldraw:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Nov 27, 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 : )

steveruizok and others added 2 commits November 26, 2025 21:26
Moves the FairyHUD and FairyHUDTeaser components to render in the
`InFrontOfTheCanvas` layer instead of `Overlays`. This positions the
fairy HUD above the canvas content but below other UI elements like
toolbars.

### Change type

- [x] `improvement`

### Test plan

1. Open a file in the editor
2. Verify the fairy HUD teaser appears above canvas shapes but below UI
elements

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

### Release notes

- Moved fairy HUD to render in front of canvas layer for better z-index
positioning.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Render FairyHUD in the in-front-of-canvas layer and tweak
z-index/animation so the HUD and cookie banner stack correctly.
> 
> - **Editor (`TlaEditor.tsx`)**
> - Move `FairyHUD` rendering from `Overlays` to `InFrontOfTheCanvas`
with fallback to `FairyHUDTeaser`.
> - Keep `Overlays` for `FairyVision`, `RemoteFairies`, and `Fairies`
only when `canShowFairies`.
> - Add default `components.InFrontOfTheCanvas` to always show
`FairyHUDTeaser` (outside instance-specific config).
> - **Styling**
> - Set `--tl-layer-canvas-in-front: 499` on `.tla .tl-container` to
control stacking.
> - Update cookie consent panel: adjust translate to `62%`, shorten
animation to `3s`, change timing to `ease-out`, and align `@keyframes`
start.
> - Raise `.cookieConsentWrapper` to `z-index:
var(--tl-layer-canvas-in-front)`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
d733d35. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Improves fairy button UX:
- Shows tooltip on hover for fairy toggle button
- Hides plus button until the fairy list is hovered (on devices with
hover support)

### Change type

- [x] `improvement`

### Test plan

1. Open a file in the editor with the fairy HUD visible
2. Hover over the fairy list to see the plus button appear
3. Hover over a fairy toggle button to see the tooltip

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

### Release notes

- Improved fairy button UX with hover states.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Show tooltip on hover for fairy toggle button and fade-in the plus
button only when the fairy list is hovered on hover-capable devices.
> 
> - **Styles (fairy.css)**:
> - **Toggle button**: Show `::after` on hover to enable tooltip
visibility.
> - **Plus button**: On `@media (hover: hover)`, default `opacity: 0`
with transition; reveal (`opacity: 1`) when `.fairy-list` is hovered.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
4bca1ce. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Nov 27, 2025
@pull pull Bot added the ⤵️ pull label Nov 27, 2025
@pull pull Bot requested a deployment to e2e-dotcom November 27, 2025 03:13 In progress
@pull pull Bot merged commit c19e70c into code:main Nov 27, 2025
@pull pull Bot had a problem deploying to deploy-staging November 27, 2025 03:13 Failure
@pull pull Bot had a problem deploying to deploy-production November 27, 2025 03:13 Failure
@pull pull Bot had a problem deploying to deploy-staging November 27, 2025 03: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