Skip to content

PDF Nodes.. need to be part of the release#362

Merged
felix-schultz merged 4 commits intoalphafrom
dev
Oct 29, 2025
Merged

PDF Nodes.. need to be part of the release#362
felix-schultz merged 4 commits intoalphafrom
dev

Conversation

@felix-schultz
Copy link
Copy Markdown
Member

This pull request introduces a new PDF processing module to the image catalog, enabling PDF page counting and rendering capabilities, and also improves the user interface for boolean and date array/set variables. The main changes are the addition of new nodes for PDF manipulation using the hayro library, and significant UI/UX improvements to variable input components.

PDF Processing and Node Additions:

  • Added the hayro dependency to the catalog for PDF rendering and manipulation.
  • Introduced a new pdf module under image with helper functions and three new node types:
  • Registered the new PDF nodes in the image catalog's function registry. [1] [2]
  • Updated documentation to clarify types for images and files in node creation instructions.

UI/UX Improvements for Variable Components:

  • Refactored BoolArrayVariable and BoolSetVariable components:
    • Improved layout and styling for better clarity and usability.
    • Replaced trash icons with a more subtle "X" icon for removal actions.
    • Display boolean values as "True"/"False" instead of index numbers. [1] [2] [3] [4] [5] [6]
  • Enhanced the DateArrayVariable component:
    • Improved date/time picker UI and layout.
    • Used badges and better formatting for selected dates.
    • Updated to use the "X" icon for removal. [1] [2] [3]

Summary of Most Important Changes:

PDF Processing Features

  • Added new image/pdf module with helper functions and three node types: page count, single page render, and multi-page render, using the hayro PDF library. [1] [2] [3] [4]
  • Registered the new PDF-related nodes in the image catalog registry. [1] [2]
  • Added hayro as a dependency in Cargo.toml.
  • Updated documentation to clarify recommended types for images and files in node creation.

UI/UX Improvements

  • Refactored boolean array/set variable components for improved usability and modernized UI, including icon and label changes. [1] [2] [3] [4] [5] [6]
  • Improved date array variable component with better layout, badges, and iconography. [1] [2] [3]

felix-schultz and others added 4 commits October 28, 2025 17:53
…prove UI layout

- Updated date-array-variable.tsx and date-set-variable.tsx to use XIcon for delete actions.
- Enhanced layout and styling for date selection and existing date display.
- Refactored float-array-variable.tsx and float-set-variable.tsx to replace Trash2Icon with XIcon and improved item display.
- Modified integer-array-variable.tsx and integer-set-variable.tsx to use XIcon for item removal and adjusted layout.
- Changed pathbuf-array-variable.tsx and pathbuf-set-variable.tsx to utilize XIcon for delete actions and improved item presentation.
- Updated string-array-variable.tsx and string-set-variable.tsx to replace Trash2Icon with XIcon and refined the input and item display.
@felix-schultz felix-schultz merged commit 91dbc0b into alpha Oct 29, 2025
4 of 13 checks passed
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.

1 participant