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