mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
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>
This commit is contained in:
@ -1014,6 +1014,9 @@
|
||||
"newWorkflow": "New Workflow",
|
||||
"newWorkflowDesc": "Create a new workflow?",
|
||||
"newWorkflowDesc2": "Your current workflow has unsaved changes.",
|
||||
"clearWorkflow": "Clear Workflow",
|
||||
"clearWorkflowDesc": "Clear this workflow and start a new one?",
|
||||
"clearWorkflowDesc2": "Your current workflow has unsaved changes.",
|
||||
"scheduler": "Scheduler",
|
||||
"schedulerDescription": "TODO",
|
||||
"sDXLMainModelField": "SDXL Model",
|
||||
@ -1698,6 +1701,7 @@
|
||||
"downloadWorkflow": "Save to File",
|
||||
"saveWorkflow": "Save Workflow",
|
||||
"saveWorkflowAs": "Save Workflow As",
|
||||
"saveWorkflowToProject": "Save Workflow to Project",
|
||||
"savingWorkflow": "Saving Workflow...",
|
||||
"problemSavingWorkflow": "Problem Saving Workflow",
|
||||
"workflowSaved": "Workflow Saved",
|
||||
@ -1712,6 +1716,7 @@
|
||||
"clearWorkflowSearchFilter": "Clear Workflow Search Filter",
|
||||
"workflowName": "Workflow Name",
|
||||
"newWorkflowCreated": "New Workflow Created",
|
||||
"workflowCleared": "Workflow Cleared",
|
||||
"workflowEditorMenu": "Workflow Editor Menu",
|
||||
"workflowIsOpen": "Workflow is Open"
|
||||
},
|
||||
|
Reference in New Issue
Block a user