Refactor(2D): Modularize Floor2D, add Move tool, context menu actions, and UX improvements#51
Open
Abdo-Eid wants to merge 4 commits into2listic:mainfrom
Open
Refactor(2D): Modularize Floor2D, add Move tool, context menu actions, and UX improvements#51Abdo-Eid wants to merge 4 commits into2listic:mainfrom
Abdo-Eid wants to merge 4 commits into2listic:mainfrom
Conversation
- Added close button to hints for better UX - Improved context menu handling and grid resizing - Prevented default browser context menu interference
- Added move tool with Alt modifier for vertex dragging - Implemented infinite grid (GPU-accelerated via Paper.js) - Fixed canvas resize issues when toggling 2D/3D modes
- Split monolithic code into modules - Improved panning stability and performance
- Added 'Delete Line' and 'Clear Canvas' options to context menu - Improved user workflow for canvas management
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
src/js/2d/floor2d.jswith modular files to improve maintainability and performance.Testing checklist (please run before merging)
Notes for reviewers
@pcolt @mfranzon