Skip to content

[pull] main from tldraw:main#295

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

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

Conversation

@pull
Copy link
Copy Markdown

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

…7238)

This PR adds zodiac sign support for fairies, implements viewport
movement controls for agents, and includes comprehensive code quality
improvements through refactoring.

**Key changes:**
- Added zodiac sign generation for fairies with all 12 signs (aquarius,
aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius,
capricorn, pisces)
- Implemented MovePositionAction to allow agents to control their
viewport position
- Enhanced fairy project view and task management
- Added fairy manual panel with improved UI labels and content
- Improved max shapes handling on document
- Refactored sprite system to use modular components
(FairyHatSpritePart, FairyBodySpritePart, FairyWingsSpritePart)
- Updated sprite poses and animations with refined timing and visual
polish
- Improved fairy manager initialization and lifecycle
- Standardized module naming: moved files to `fairy-*` namespace
convention
- Refactored FairyListSidebar to use hook-based entry logic
- Replaced useReactor with useQuickReactor in Fairy components for
better performance
- Added escape key handling to close context menus
- Refactored fairy interaction layer with updated rules section

### Change type

- [x] `feature`
- [x] `improvement`

### Test plan

1. Create a fairy and verify it has a zodiac sign assigned
2. Test agent viewport movement with MovePositionAction
3. Verify fairy project management workflows
4. Test max shapes handling
5. Verify sprite animations and poses render correctly
6. Check that all fairy module imports work correctly after file renames
7. Test escape key handling in context menus
8. Verify performance improvements from useQuickReactor changes

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

### Release notes

- Added zodiac sign support for fairies
- Added agent viewport movement controls
- Improved fairy sprite component modularity and animations
- Enhanced fairy manual UI and content
- Improved fairy component performance
- Standardized fairy module file naming conventions

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Add zodiac signs, agent viewport movement, and a major modular
refactor of fairies with new UI/manual, sprites, and performance
improvements.
> 
> - **Core/Architecture**
> - Introduce manager-based `fairy-agent` (chat, request, mode,
position, wait, usage, todo, gesture) and global atoms in
`fairy-globals`.
> - Replace legacy HUD/menus/sidebar with new `fairy-ui` (hooks, menus,
project, manual, chat history).
>   - Standardize paths to `fairy-*`; remove deprecated components.
> - **Actions/Schema**
> - Add `MovePositionAction` (move viewport center) and wire to manager.
>   - Extend focused shapes; disallow image creation via `create`.
>   - Update mode parts: add `sign` part; tweak prompt flags/rules.
> - **Features**
>   - Add zodiac sign support (`getRandomFairySign`, sign prompt part).
> - Feature flag to enable/disable fairies; hide watermark accordingly.
> - **UI/UX**
> - New Fairy Manual panel; refined labels (“Guide”, “Select/Deselect”,
“Go to”, etc.).
> - Rebuilt sidebar with hook-based grouping; improved
HUD/header/menu/context menu.
>   - Close context menus on Escape; follow/summon/select-all actions.
> - **Sprites/Animations**
> - Modular sprite parts (hat/body/wings); new poses (reviewing,
panicking) and wing cycles; timing polish.
> - **Performance/Behavior**
> - Use `useQuickReactor` for position updates; improved pointer
interaction and long-press feedback.
> - Handle max shapes by interrupting agents; refined wait/notify flows.
> - **Tooling/i18n**
> - ESLint rule exempts fairy files and blocks `fairy-shared` imports
outside.
>   - Update/enrich locales; add concise menu strings.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
d150dbe. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Kostya Farber <kostya.farber@gmail.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
Co-authored-by: Mime Čuvalo <mimecuvalo@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Nov 30, 2025
@pull pull Bot added the ⤵️ pull label Nov 30, 2025
@pull pull Bot had a problem deploying to deploy-staging November 30, 2025 03:13 Failure
@pull pull Bot merged commit 910cbd9 into code:main Nov 30, 2025
@pull pull Bot had a problem deploying to deploy-production November 30, 2025 03:13 Failure
@pull pull Bot had a problem deploying to deploy-staging November 30, 2025 03:13 Failure
@pull pull Bot had a problem deploying to deploy-staging December 1, 2025 00:28 Failure
@pull pull Bot temporarily deployed to e2e-dotcom December 1, 2025 02:34 Inactive
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