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: redesign followups 2 #5374

Merged
merged 18 commits into from
Jan 2, 2024
Merged

ui: redesign followups 2 #5374

merged 18 commits into from
Jan 2, 2024

Conversation

psychedelicious
Copy link
Collaborator

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: n/a

Description

Misc fixes:

  • Fix missing denoise strength (again)
  • Increase font size for badges
  • Use larger icons for number input stepper buttons
  • Control adapter UX
  • Fix constraints and validation for controlnet/ip adapter/t2i adapter invocations - noticed this was very wrong while doing the control adapter UX
  • Disable scan models tab pending it being fixed

Canvas fixes:

  • Make ImageSize generic to support canvas aspect ratio
  • Support grid size of 8 on canvas
  • Fix canvas bbox interactions

Dynamic prompts UX:

  • Prompt must have an open curly brace followed by a close curly brace to enable dynamic prompts processing
  • If a the given prompt already had a dynamic prompt cached, do not re-process
  • If processing is not needed, user may invoke immediately
  • Invoke button shows loading state when dynamic prompts are processing, tooltip says generating
  • Dynamic prompts preview icon in prompt box shows loading state when processing, tooltip says generating

QA Instructions, Screenshots, Recordings

Try out canvas and dynamic prompts interactions.

Merge Plan

This can be merged when approved.

Added/updated tests?

  • Yes
  • No : n/a

accidentally hid it from everywhere
- Fix `weight` and `begin_step_percent`, the constraints were mixed up
- Add model validatort to ensure `begin_step_percent < end_step_percent`
- Bump version
Required some rejiggering of the InvControl and InvSlider styles.
Canvas and non-canvas have separate width and height and need their own separate aspect ratios. In order to not duplicate a lot of aspect ratio logic, the components relating to image size have been modularized.
- Support grid size of 8 on canvas
- Internal canvas math works on 8
- Update gridlines rendering to show 64 spaced lines and 32/16/8 when zoomed in
- Bbox manipulation defaults to grid of 64 - hold shift to get grid of 8

Besides being something we support internally, supporting 8 on canvas avoids a lot of hacky logic needed to work well with aspect ratios.
Making the math match the previous implementation
- Prompt must have an open curly brace followed by a close curly brace to enable dynamic prompts processing
- If a the given prompt already had a dynamic prompt cached, do not re-process
- If processing is not needed, user may invoke immediately
- Invoke button shows loading state when dynamic prompts are processing, tooltip says generating
- Dynamic prompts preview icon in prompt box shows loading state when processing, tooltip says generating
@hipsterusername hipsterusername merged commit 4cffe28 into main Jan 2, 2024
7 checks passed
@hipsterusername hipsterusername deleted the fix/ui/redesign-followups-2 branch January 2, 2024 12:28
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.

None yet

2 participants