Skip to content

Conversation

csehatt741
Copy link

Summary

A new feature was implemented to remove input field from form

  • existing buildSelectWorkflowFormNodeExists selector was refactored into buildSelectWorkflowFormNodeElement in selectors.ts to return the selected workflow form node element
  • useAddNodeFieldToRoot custom hook was refactored into useAddRemoveFormElement in order to also define the removeNodeFieldFromRoot callback
  • InputFieldAddToFormRoot component was refactored into InputFieldAddRemoveFormRoot in order to handle both states when the node field has and when it has not been added to the form
  • new tanslation, removeFromForm, was added to en.json

Related Issues / Discussions

Closes #8444

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added the frontend PRs that change frontend files label Aug 22, 2025
@psychedelicious psychedelicious enabled auto-merge (rebase) August 25, 2025 06:30
@psychedelicious psychedelicious force-pushed the feat/remove-field-on-node branch from 6bd72d4 to 316fc27 Compare August 25, 2025 06:30
@psychedelicious psychedelicious merged commit 2496ac1 into invoke-ai:main Aug 25, 2025
13 checks passed
@csehatt741 csehatt741 deleted the feat/remove-field-on-node branch August 25, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[enhancement]:
2 participants