-
Notifications
You must be signed in to change notification settings - Fork 44.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(frontend): Improve added block positioning logic to handle collisions and dynamic dimensions size #8406
feat(frontend): Improve added block positioning logic to handle collisions and dynamic dimensions size #8406
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
✅ Deploy Preview for auto-gpt-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really good! Thank you so much for this 👍
I left a few very minor code styling nits if you don't mind addressing it.
Otherwise, I'm happy to merge this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Background #8268
These changes enhance the placement algorithm for new blocks, ensuring they don’t overlap with existing ones despite varying dimensions. They dynamically adjust block positions and the viewing canvas to optimize layout and visibility.
Changes 🏗️
block.position.mp4