Graphite/frontend/src/utility-functions
nat-rix f76b850b9c Fix Imaginate by porting its JS roundtrip code to graph-based async execution in Rust (#1250)
* Create asynchronous rust imaginate node

* Make a first imaginate request via rust

* Implement parsing of imaginate API result image

* Stop refresh timer from affecting imaginate progress requests

* Add cargo-about clarification for rustls-webpki

* Delete imaginate.ts and all uses of its functions

* Add imaginate img2img feature

* Fix imaginate random seed button

* Fix imaginate ui inferring non-custom resolutions

* Fix the imaginate progress indicator

* Remove ImaginatePreferences from being compiled into node graph

* Regenerate imaginate only when hitting button

* Add ability to terminate imaginate requests

* Add imaginate server check feature

* Do not compile wasm_bindgen bindings in graphite_editor for tests

* Address some review suggestions

- move wasm futures dependency in editor to the future-executor crate
- guard wasm-bindgen in editor behind a `wasm` feature flag
- dont make seed number input a slider
- remove poll_server_check from process_message function beginning
- guard wasm related code behind `cfg(target_arch = "wasm32")` instead
  of `cfg(test)`
- Call the imaginate idle states "Ready" and "Done" instead of "Nothing
  to do"
- Call the imaginate uploading state "Uploading Image" instead of
  "Uploading Input Image"
- Remove the EvalSyncNode

* Fix imaginate host name being restored between graphite instances

also change the progress status texts a bit.

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2023-06-09 09:03:15 +02:00
..
debounce.ts Replace the Vue frontend with Svelte 2023-03-10 03:54:39 -08:00
escape.ts Integrate Stable Diffusion with the Imaginate layer (#784) 2022-10-18 22:33:27 -07:00
files.ts Make Imaginate into a node (#878) 2022-12-20 22:51:38 +00:00
icons.ts Add color choices to the options bar of tools (#1199) 2023-05-08 18:00:10 +08:00
keyboard-entry.ts Fix logic bug in key internationalization for A-Z keys in alternate layouts 2022-08-14 13:57:01 -07:00
math.ts Vue initialization and FloatingMenu codebase refactoring and cleanup (#649) 2022-05-21 19:46:15 -07:00
network.ts Integrate Stable Diffusion with the Imaginate layer (#784) 2022-10-18 22:33:27 -07:00
panic-proxy.ts Fix compilation after upgrading TypeScript 2022-11-16 20:50:53 -08:00
platform.ts Replace the Vue frontend with Svelte 2023-03-10 03:54:39 -08:00
rasterization.ts Implement download/copy ImageFrame layer output (#1194) 2023-05-03 02:09:07 -07:00
strip-indents.ts Revamp key/code input processing which fixes Option key on Mac and other locales 2022-08-11 02:53:46 -07:00