Skip to content

Conversation

@MaxBrooks114
Copy link
Contributor

No description provided.

maxcompyl and others added 10 commits April 24, 2025 11:11
Updated `GetFlowchart` method in `ActivityExtensions.cs` to handle various activity types, including a new fallback for synthetic flowcharts. Modified `VisitAndMapAsync` in `ActivityVisitorExtensions.cs` to prevent node duplication. Improved `LoadFlowchartAsync` in `FlowchartDesignerWrapper.razor.cs` to unwrap flowcharts and optimize loading by checking for previously loaded charts. Updated using directives to include necessary namespaces.
- Updated `GetFlowchart` to return a nullable `JsonObject?` and added `FindActivitiesContainer` for better activity container retrieval.
- Refactored `LoadFlowchartAsync` in `FlowchartDesigner.razor.cs` to utilize the new method, improving flowchart loading flexibility.
- Added `CreateSyntheticContainer` helper to wrap single activities in an activities array.
- Enhanced `AutoLayoutAsync` to check for null flowcharts before processing.
- Modified flowchart unwrapping logic in `FlowchartDesignerWrapper.razor.cs` to support both flowcharts and activities containers.
- Improved robustness in `InvokeDesignerActionAsync` with a null check for the action parameter.
- Refactored `SelectActivityAsync` in `DiagramDesignerWrapper.razor.cs` to use an activity node lookup dictionary for more efficient activity selection.
…to MethodNotSupportedOnJournalEntrySelect
Refactor code for better readability by adding line breaks and consistent indentation.
Reformat properties marked with the `[Parameter]` attribute without changing functionality.
Service injections are now listed on separate lines for clarity.
Adjustments made to method logic for improved clarity in conditional checks and assignments.
These changes enhance maintainability while preserving existing functionality.
sfmskywalker
sfmskywalker previously approved these changes May 16, 2025
Copy link
Member

@sfmskywalker sfmskywalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like some parts have been merged already by your previous PR. Let mek now if you need help fixing the merge conflicts 👍🏻

@sfmskywalker sfmskywalker force-pushed the main branch 2 times, most recently from a948a9e to 0e54668 Compare December 10, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants