-
Notifications
You must be signed in to change notification settings - Fork 0
chore: prepare release 0.3.1-alpha with version update and code style fixes #197
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
Conversation
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
…t were too separate
…ding to the inputs of the target component
…ow positions of components
…relative to the most top-left
…t grid for the new ghtidyup component
…elect button such as ghget and ghtidyup
… the ghjson format
…f components, ensure connected components stay together and use barycenter heuristic algorithm for initial layer ordering
… more (#193) ## Description This PR is a huge change in the Tidy Up component. The algorithm sorting and organizing components has been totally rewritten to handle more cases: - Now returns original pivots relative to the most top-left component to ensure relative positioning - Uses a more human-like layout with column widths based on actual component widths - Uses horizontal margin of 50 and vertical spacing of 80 - Centers Params from their actual center instead of the top-left position - Improved by detecting islands of components, ensure connected components stay together, and use barycenter heuristic algorithm for initial layer ordering - Minimizes connection length - Aligns parents with children Additionally, this PR also includes: - New `SelectingComponentBase` for components that need the button to select other components. - New `GHJsonAnalyzer` and `GHJsonFixer` classes for analyzing and fixing GHJSON formats. - Reorganization of JSON models for clearer structure. - Migrated the `GhPut` tool from the `GhPutComponent` to the `GhPutTools` class, using the `AIToolManager`. - `DeserializeJSON` now fixes invalid InstanceGuids in Grasshopper JSON documents when deserializing. - Improved `MoveInstance`: - Added a nice animation so that components move smoothly to their new position. - Skip movement if initial and target positions are the same. ## Breaking Changes None reported. ## Testing Done RH8.18 on windows. ## Checklist - [ ] This PR is focused on a single feature or bug fix - [x] Version in Solution.props was updated, if necessary, and follows semantic versioning - [x] CHANGELOG.md has been updated - [x] PR title follows [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) format - [x] PR description follows [Pull Request Description Template](#pull-request-description-template)
This PR updates the version badge in the README.md to match the current version in Solution.props. This is an automated PR created by the Update Version Badge workflow.
… fixes (#196) This PR prepares the release for version 0.3.1-alpha with version update and code style fixes:\n\n- Fixed header code style\n- Sorted usings\n- Removed trailing whitespace\n- Updated version in Solution.props\n- Updated changelog with closed-solved issues\n- Updated README badges\n\nMILESTONE DESCRIPTION:\n
marc-romu
approved these changes
May 7, 2025
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.
This PR prepares the release for version 0.3.1-alpha with version update and code style fixes:\n\n- Fixed header code style\n- Sorted usings\n- Removed trailing whitespace\n- Updated version in Solution.props\n- Updated changelog with closed-solved issues\n- Updated README badges\n\nMILESTONE DESCRIPTION:\n