Skip to content

Conversation

@KevinBrack
Copy link
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Community Node Submission

Have you discussed this change with the InvokeAI team?

  • Yes
  • No, because:

Have you updated all relevant documentation?

  • Yes
  • No

Description

Add feature auto assign board on click. There is a new setting in the board menu. It is checked by default. When checked the auto assign board is changed whenever selecting a board. The auto assign board will not change during image generation. If the new feature is disabled in the settings the original method of assigning a board returns.

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

Open the board menu by clicking the dropdown with the selected board. Click the settings icon. Note that the new option Auto-Assign Board on Click is selected. When this option is enabled the auto assign board switches by changing the active board. When Auto-Assign Board on Click is not selected you get a dropdown to assign the active board. The board assignment should not change during image generation.

Screenshot 2023-07-28 103331
Screenshot 2023-07-28 103301

Added/updated tests?

  • Yes
  • No : I will add tests when I know which ones to use

[optional] Are there any post deployment tasks we need to perform?

No

Copy link
Contributor

@psychedelicious psychedelicious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Requesting 3 changes - 2 in the code comments, the other here:

There's a Board context menu that currently has an option to set the auto-add board (see invokeai/frontend/web/src/features/gallery/components/Boards/BoardContextMenu.tsx)

If you want to prevent changing the auto-add board during processing or when assign-on-click is enabled, that menu item would need to be marked disabled also.

@KevinBrack
Copy link
Contributor Author

I believe all requirements have been met now

@psychedelicious psychedelicious self-requested a review August 2, 2023 23:18
Copy link
Contributor

@psychedelicious psychedelicious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @KevinBrack !

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.

Send generated images to selected board by default

2 participants