Skip to content

Feature/380 we should simplify registering nodes in a library#382

Merged
felix-schultz merged 2 commits intodevfrom
feature/380-we-should-simplify-registering-nodes-in-a-library
Nov 14, 2025
Merged

Feature/380 we should simplify registering nodes in a library#382
felix-schultz merged 2 commits intodevfrom
feature/380-we-should-simplify-registering-nodes-in-a-library

Conversation

@felix-schultz
Copy link
Copy Markdown
Member

This pull request introduces a new procedural macro package (catalog-macros) for automatic node registration in the catalog, and refactors the catalog and AI node registration codebase to leverage this macro. It also updates dependencies and simplifies catalog initialization by removing unnecessary async usage. Additionally, there are minor UI and content updates for the website.

Catalog System Improvements

  • Added new package flow-like-catalog-macros with a procedural macro (register_node) to automate node registration using the inventory crate. This reduces boilerplate and simplifies adding new nodes. [1] [2]
  • Updated flow-like-catalog to depend on flow-like-catalog-macros and inventory, and refactored AI node modules to use the new macro for node registration, removing manual/async registry code. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Initialization and Dependency Updates

  • Added packages/catalog-macros to workspace and dependencies in Cargo.toml, and updated all catalog initialization code to remove .await from get_catalog() calls, reflecting the new synchronous registration approach. [1] [2] [3] [4] [5] [6] [7]

Website and UI Fixes

  • Fixed CSS selector syntax and improved styling in hero and blog header components, including updating image references and client loading for the hero section. [1] [2] [3] [4] [5] [6]

@felix-schultz felix-schultz linked an issue Nov 14, 2025 that may be closed by this pull request
@felix-schultz felix-schultz moved this to Done in Flow-Like Nov 14, 2025
@felix-schultz felix-schultz merged commit 3cfbdfe into dev Nov 14, 2025
3 of 9 checks passed
@felix-schultz felix-schultz deleted the feature/380-we-should-simplify-registering-nodes-in-a-library branch November 14, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

We should simplify registering nodes in a Library

1 participant