-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui: redesign followups 9 #5460
ui: redesign followups 9 #5460
Commits on Jan 9, 2024
-
fix(ui): fix typing of usGalleryImages
For some reason `ReturnType<typeof useListImagesQuery>` isn't working correctly, and destructuring `queryResult` it results in `any`, when the hook is used. I've removed the explicit return typing so that consumers of the hook get correct types.
Configuration menu - View commit details
-
Copy full SHA for bee0c0d - Browse repository at this point
Copy the full SHA bee0c0dView commit details -
feat(ui): remove unnecessary tabChanged listener
This was needed when we didn't support SDXL on canvas.
Configuration menu - View commit details
-
Copy full SHA for 9be9b40 - Browse repository at this point
Copy the full SHA 9be9b40View commit details -
feat(ui): do not optimize size when changing between models with same…
… base model There's a challenge to accomplish this due to our slice structure - the model is stored in `generationSlice`, but `canvasSlice` also needs to have awareness of it. For example, when the model changes, the canvas slice doesn't know what the previous model was, so it doesn't know whether or not to optimize the size. This means we need to lift the "should we optimize size" information up. To do this, the `modelChanged` action creator accepts the previous model as an optional second arg. Now the canvas has access to both the previous model and new model selection, and can decide whether or not it should optimize its size setting in the same way that the generation slice does. Closes #5452
Configuration menu - View commit details
-
Copy full SHA for dc4e226 - Browse repository at this point
Copy the full SHA dc4e226View commit details -
fix(ui): canvas bbox number input wonky
It was rounding dimensions when it shouldn't. Closes #5453
Configuration menu - View commit details
-
Copy full SHA for dba7d19 - Browse repository at this point
Copy the full SHA dba7d19View commit details -
feat(ui): move canvas tool to nanostores
I was troubleshooting a hotkeys issue on canvas and thought I had broken the tool logic in a past change so I redid it moving it to nanostores. In the end, the issue was an upstream but with the hotkeys library, but I like having tool in nanostores so I'm leaving it. It's ephemeral interaction state anyways, doesn't need to be in redux.
Configuration menu - View commit details
-
Copy full SHA for 00b2373 - Browse repository at this point
Copy the full SHA 00b2373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2491fea - Browse repository at this point
Copy the full SHA 2491feaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5756bfe - Browse repository at this point
Copy the full SHA 5756bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38743c7 - Browse repository at this point
Copy the full SHA 38743c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c96960c - Browse repository at this point
Copy the full SHA c96960cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c37061e - Browse repository at this point
Copy the full SHA c37061eView commit details
Commits on Jan 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 028b404 - Browse repository at this point
Copy the full SHA 028b404View commit details