InvokeAI/invokeai/frontend/web/public/locales
Mary Hipp Rogers 9d6e4ff1fb
workflow tab (#5680)
* new workflow tab UI - still using shared state with workflow editor tab

* polish workflow details

* remove workflow tab, add edit/view mode to workflow slice and get that working to switch between within editor tab

* UI updates for view/edit mode

* cleanup

* add warning to view mode

* lint

* start with isTouched false

* working on styling mode toggle

* more UX iteration

* lint

* cleanup

* save original field values to state, add indicator if they have been changed and give user choice to reset

* lint

* fix import and commit translation

* dont switch to view mode when loading a workflow

* warns before clearing editor

* use folder icon

* fix(ui): track do not erase value when resetting field value

- When adding an exposed field, we need to add it to originalExposedFieldValues
- When removing an exposed field, we need to remove it from originalExposedFieldValues
- add `useFieldValue` and `useOriginalFieldValue` hooks to encapsulate related logic

* feat(ui): use IconButton for workflow view/edit button

* feat(ui): change icon for new workflow

It was the same as the workflow tab icon, confusing bc you think it's going to somehow take you to the tab.

* feat(ui): use render props for NewWorkflowConfirmationAlertDialog

There was a lot of potentially sensitive logic shared between the new workflow button and menu items. Also, two instances of ConfirmationAlertDialog.

Using a render prop deduplicates the logic & components

* fix(ui): do not mark workflow touched when loading workflow

This was occurring because the `nodesChanged` action is called by reactflow when loading a workflow. Specifically, it calculates and sets the node dimensions as it loads.

The existing logic set `isTouched` whenever this action was called.

The changes reactflow emits have types, and we can use the change types and data to determine if a change should result in the workflow being marked as touched.

* chore(ui): lint

* chore(ui): lint

* delete empty file

---------

Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2024-02-14 09:02:07 -05:00
..
ar.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00
az.json translationBot(ui): update translation (Azerbaijani) 2024-02-05 08:31:44 +11:00
de.json translationBot(ui): update translation files 2024-02-13 13:20:30 +11:00
en.json workflow tab (#5680) 2024-02-14 09:02:07 -05:00
es.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00
fi.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00
fr.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00
he.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00
hu.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00
it.json translationBot(ui): update translation files 2024-02-13 13:20:30 +11:00
ja.json translationBot(ui): update translation files 2024-02-13 13:20:30 +11:00
ko.json translationBot(ui): update translation files 2024-02-13 13:20:30 +11:00
mn.json translationBot(ui): added translation (Mongolian) 2023-04-24 16:05:16 +10:00
nl.json translationBot(ui): update translation files 2024-02-13 13:20:30 +11:00
pl.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00
pt_BR.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00
pt.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00
ro.json all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
ru.json translationBot(ui): update translation files 2024-02-13 13:20:30 +11:00
sv.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00
tr.json translationBot(ui): update translation files 2024-02-13 13:20:30 +11:00
uk.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00
vi.json translationBot(ui): added translation (Vietnamese) 2023-04-24 16:05:16 +10:00
zh_CN.json translationBot(ui): update translation files 2024-02-13 13:20:30 +11:00
zh_Hant.json translationBot(ui): update translation files 2024-02-05 11:16:38 +11:00