Skip to content

Conversation

@blessedcoolant
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

Description

Making the prompt area styling match across all tabs / models and move all prompt related components into a parent components for quick add.

Cherry picked stuff from the Styles PR coz we ain't gonna merge that.

Related Tickets & Documents

  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

Added/updated tests?

  • Yes
  • No : please replace this line with details on why tests
    have not been included

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

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.

The concat toggle switch is in a really crowded space, and the box around the prompts adds more visual noise to the UI hierarchy.

I'd rather add a small link icon to the style prompt boxes that acts a toggle for concat prompt - like the TI button. It should be accent colored when enabled so you can't miss it.

This make this additional feature visually minimal and keeps with our established prompt UI/UX, and is just as functional. Then there's no need for an extra box around the prompts

I'm undecided on whether or not it should be independent for positive & negative or linked

psychedelicious and others added 9 commits July 28, 2023 04:34
`ControlNetModelConfig` was split into `ControlNetModelCheckpointConfig` and `ControlNetModelDiffusersConfig`, need to update the UI types
This reverts commit f057d5c.
Might remove the lines. Just pushing to save changes for now.
- make the `SDXLConcatLink` icon match existing colors in light mode
- make the link toggle button accent color when active (its not super obvious but at least there is *some* visual difference for the button)
@psychedelicious psychedelicious self-requested a review July 28, 2023 09:59
@blessedcoolant blessedcoolant merged commit 062a369 into invoke-ai:main Jul 28, 2023
@blessedcoolant blessedcoolant deleted the unify-prompt branch July 28, 2023 10:10
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