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