Skip to content
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

image boards #3534

Merged
merged 69 commits into from
Jun 22, 2023
Merged

image boards #3534

merged 69 commits into from
Jun 22, 2023

Conversation

maryhipp
Copy link
Collaborator

No description provided.

@psychedelicious
Copy link
Collaborator

I've rebased this on #3537

@psychedelicious psychedelicious marked this pull request as ready for review June 21, 2023 12:00
@psychedelicious
Copy link
Collaborator

I forgot to add a way to remove an image from a board, but I'd like to get the merged and then continue to iterate.

Copy link
Collaborator Author

@maryhipp maryhipp left a comment

Choose a reason for hiding this comment

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

A few things aren't working for me locally:

  • add board - I can't see the new board until I refresh. this seems to only happen when i am going from 0 to 1 boards 🤔 was able to reproduce reliably by deleting all boards and then adding one
  • deleting a board that had images on it causes them to be in a bad state where they can't be added to other boards (maybe need a cascade delete on board delete?) (this may have actually been left over from my previous state a few days ago bc it seems to work fine on fresh DB)
  • (probably unrelated?) saving selection of canvas image to gallery is not honoring selection again

invokeai/app/services/board_record_storage.py Show resolved Hide resolved
@psychedelicious
Copy link
Collaborator

@maryhipp

add board - I can't see the new board until I refresh. this seems to only happen when i am going from 0 to 1 boards 🤔 was able to reproduce reliably by deleting all boards and then adding one

Fixed

deleting a board that had images on it causes them to be in a bad state where they can't be added to other boards (maybe need a cascade delete on board delete?) (this may have actually been left over from my previous state a few days ago bc it seems to work fine on fresh DB)

Can't recreate this

(probably unrelated?) saving selection of canvas image to gallery is not honoring selection again

Also cannot recreate this, if I enable Save Box Region Only it saves the selection correctly

@psychedelicious
Copy link
Collaborator

@maryhipp I've added the ability to remove images from boards (in the context menu).

I'd like to merge if you're happy, and then in a later PR, do a sweep of the board related services and their methods - I think there is room for cleanup. But the hard-to-change part (the db) is good I believe.

@psychedelicious psychedelicious merged commit 2d889e1 into main Jun 22, 2023
@psychedelicious psychedelicious deleted the feat/api/image-boards branch June 22, 2023 06:25
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.

3 participants