Skip to content

[Manager] Fix "total nodes" count when selecting multiple packs #4228

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

Merged
merged 1 commit into from
Jun 20, 2025

Conversation

christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Jun 20, 2025

Fixes the displayed "total nodes" count in the info panel when selecting multiple nodes at once.

Selection_1541

api.comfy.org/nodes/{node_id}/comfy_nodes has paginated responses. When not setting limit in request, it defaults to 10. The component therefore always displayed packs with more than 10 individual nodes as having only 10. Fix by setting limit to high value for now.

In followup, we will display concatenated preview of all nodes with lazy loading and infinite scroll. For determining length we will use the totalNumberOfPages field in the response. Task

┆Issue is synchronized with this Notion page by Unito

@christian-byrne christian-byrne requested a review from a team as a code owner June 20, 2025 21:45
@christian-byrne christian-byrne merged commit 429ab6c into main Jun 20, 2025
10 checks passed
@christian-byrne christian-byrne deleted the manager/fix-total-nodes-calc branch June 20, 2025 22:20
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