Merged
Conversation
feat: add LayerInnerNode component with context menu and editing capa…
- Integrated LayerEditMenu into LayerNode for improved pin management. - Removed unused functions and types from LayerNode to streamline code. - Updated Variable component to use ValueTypeIcon instead of VariableIcon for better clarity.
…lity and performance - Removed unused imports and cleaned up code in layer-inner-node.tsx and layer-node.tsx. - Simplified the rendering logic in LayerInnerNode by removing the ContextMenu and directly rendering the node structure. - Enhanced the handling of pin types and connections in flow-board-utils.tsx. - Updated viewport-db.ts and index.ts to ensure consistent export structure. - Improved the parsing logic in parseBoard function to streamline node and edge creation.
This was referenced Aug 16, 2025
Closed
Closed
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.
This pull request refactors conditional logic throughout the codebase to use Rust's new
if let ... && ...syntax, simplifying nested conditionals and improving readability. The changes touch multiple files across backend, desktop, API, and catalog modules, and also include some minor code cleanups and documentation updates.Refactoring conditional logic for improved readability
if letandifstatements with singleif let ... && ...expressions in S3 bucket setup logic (apps/backend/aws/api/src/main.rs,apps/backend/local/api/src/main.rs). [1] [2]apps/desktop/src-tauri/src/functions/ai/invoke.rs,apps/desktop/src-tauri/src/functions/bit.rs,apps/desktop/src-tauri/src/functions/flow/run.rs). [1] [2] [3]packages/api/src/middleware/jwt.rs). [1] [2] [3] [4]packages/api/src/routes/user/info.rs,packages/api/src/routes/user/upsert_info.rs,apps/desktop/src-tauri/src/functions/app/sharing.rs,apps/desktop/src-tauri/src/functions/app.rs,apps/desktop/src-tauri/src/functions/flow/template.rs). [1] [2] [3] [4] [5] [6] [7] [8]packages/catalog/src/ai/ml/onnx/load.rs,packages/catalog/src/ai/processing/docling.rs,packages/catalog/src/ai/generative/llm/history/set_response_format.rs). [1] [2] [3]Minor code cleanups and documentation improvements
apps/desktop/src-tauri/src/functions/file.rs. [1] [2]apps/website/src/content/blog/2025-08-10-alpha-0-0-2.mdx).packages/catalog/src/control/par_execution.rs.packages/api/src/routes/app/template/get_templates.rs).apps/desktop/src-tauri/src/lib.rs). [1] [2]