InvokeAI/invokeai/frontend/web/src
Mary Hipp Rogers f68f8898c0
Workflow navigation & save-as (#5607)
* redo top panel of workflow editor

* add checkbox option to save to project, integrate save-as flow into first time saving workflow

* remove log

* remove workflowLibrary as a feature that can be disabled

* lint

* feat(ui): make SaveWorkflowAsDialog a singleton

Fixes an issue where the workflow name would erroneously be an empty string (which it should show the current workflow name).

Also makes it easier to interact with this component.

- Extract the dialog state to a hook
- Render the dialog once in `<NodeEditor />`
- Use the hook in the various buttons that should open the dialog
- Fix a few wonkily named components (pre-existing issue)

* fix(ui): when saving a never-before-saved workflow, do not append " (copy)" to the name

* fix(ui): do not obscure workflow library button with add node popover

This component is kinda janky :/ the popover content somehow renders invisibly over the button. I think it's related to the `<PopoverAnchor />.

Need to redo this in the future, but for now, making the popover render lazily fixes this.

---------

Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2024-01-31 13:32:31 +00:00
..
app Workflow navigation & save-as (#5607) 2024-01-31 13:32:31 +00:00
common chore(ui): format 2024-01-28 19:57:53 +11:00
features Workflow navigation & save-as (#5607) 2024-01-31 13:32:31 +00:00
services chore(ui): format 2024-01-28 19:57:53 +11:00
i18.d.ts fix(ui): improve IDE TS performance by not resolving JSON 2023-06-28 23:55:44 -04:00
i18n.ts feat(ui): handle proxy configs rewriting paths 2024-01-25 13:29:56 +11:00
index.ts tidy(ui): remove commented line 2024-01-22 09:37:26 +11:00
main.tsx chore(ui): format 2024-01-28 19:57:53 +11:00
vite-env.d.ts all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00