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

ui: fix initial image buttons, uploader functionality #3576

Merged
merged 6 commits into from
Jun 24, 2023

Conversation

psychedelicious
Copy link
Collaborator

@psychedelicious psychedelicious commented Jun 24, 2023

this PR is based on #3572

fix(ui): fix init image display buttons

  • Reset and Upload buttons along top of initial image
  • Also had to mess around with the control net & DnD image stuff after changing the styles
  • Abstract image upload logic into hook - does not handle native HTML drag and drop upload - only the button click upload

fix(ui): fix image fetching query string

  • I don't understand what changed but suddenly the API didn't accept the format of query params for arrays. Added a query-string, a well-established lib, to serialize the query strings.

- Reset and Upload buttons along top of initial image
- Also had to mess around with the control net & DnD image stuff after changing the styles
- Abstract image upload logic into hook - does not handle native HTML drag and drop upload - only the button click upload
@psychedelicious psychedelicious merged commit 3ae996e into main Jun 24, 2023
@psychedelicious psychedelicious deleted the fix/ui/image-buttons-display branch June 24, 2023 08:15
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.

2 participants