1
0
Fork 0
Commit Graph

297 Commits

Author SHA1 Message Date
Sean Sube a87dc451fd feat(gui): show mask brush preview (fixes #39) 2023-01-14 00:07:02 -06:00
Sean Sube e915ab5b8d feat(gui): show source behind mask with offscreen painting 2023-01-13 23:38:43 -06:00
Sean Sube f83499763a feat(gui): get API root from query string if available 2023-01-13 21:29:34 -06:00
Sean Sube 2e5c7867a4 fix(gui): load config relative to current page (fixes #43) 2023-01-13 21:29:34 -06:00
Sean Sube c0af709ab1 lint(gui): remove console logging 2023-01-13 21:29:34 -06:00
Sean Sube 4dc915d5c9 fix(gui): prevent mask canvas from going into a save loop 2023-01-13 21:29:34 -06:00
Sean Sube d5f8838ceb fix(gui): avoid saving mask while actively painting 2023-01-13 21:29:34 -06:00
Sean Sube 1183216a83 feat(gui): split mask canvas into its own component 2023-01-13 21:29:34 -06:00
Sean Sube 4e82241491 feat(gui): save source and mask images while changing tabs 2023-01-13 21:29:34 -06:00
Sean Sube fa639efff3 fix(gui): invalidate loading query after mutations 2023-01-13 10:14:18 -06:00
Sean Sube 64801a52e3 lint(gui): build API URLs consistently 2023-01-13 10:14:18 -06:00
Sean Sube eec44eb9fd lint(build): always run bundle target 2023-01-13 10:14:18 -06:00
Sean Sube b477a9937c feat: move API routes under prefix 2023-01-13 10:14:18 -06:00
Sean Sube 600ebae73a fix(gui): clear loading data after card leaves 2023-01-13 10:14:18 -06:00
Sean Sube c36daddf66 feat(gui): implement image polling on the client 2023-01-13 10:14:18 -06:00
Sean Sube 1bb0a3aed8 fix(gui): disable react profiling in default bundle 2023-01-12 18:18:51 -06:00
Sean Sube f9bcc5d4e4 lint(gui): move context into state module 2023-01-12 18:10:46 -06:00
Sean Sube 7885bbfbdd fix(gui): history is not iterable error when loading existing state 2023-01-12 17:57:43 -06:00
Sean Sube 68eb8eb9b2 fix(gui): restore delete image button 2023-01-12 17:51:34 -06:00
Sean Sube 689a6a183f fix(gui): break up state into slices for each tab 2023-01-12 17:49:51 -06:00
Sean Sube 35e2e1dda6 fix(gui): improve performance while using image controls 2023-01-12 00:11:05 -06:00
renovate[bot] c328ac3950 chore(deps): update dependency eslint-plugin-sonarjs to ^0.18.0 2023-01-11 22:24:13 -06:00
Sean Sube ef33301d6b fix(gui): send CFG to API as decimal 2023-01-11 21:46:04 -06:00
Sean Sube dcfce81fed fix(gui): do not persist loading flag 2023-01-11 21:45:47 -06:00
Sean Sube 25b64cc3b0 lint(gui): add component keys, remove some arrow fns 2023-01-11 21:45:31 -06:00
Sean Sube f2b2366c91 chore(release): 0.3.0 2023-01-11 20:50:57 -06:00
Sean Sube 662bf42454 feat(gui): share image history between tabs, add setting to adjust length of history (fixes #22) 2023-01-10 22:35:55 -06:00
Sean Sube 07fa81a66b feat(gui): persist image control state (fixes #11) 2023-01-10 20:43:14 -06:00
Sean Sube 63758b0e21 fix(gui): default mask brush to white/full replacement 2023-01-09 23:26:01 -06:00
Sean Sube 4a6458d8f6 fix(gui): consistently load image controls from server params 2023-01-09 23:16:28 -06:00
Sean Sube 37efd51341 feat(gui): load and merge server params with config 2023-01-09 22:59:08 -06:00
Sean Sube 6b3c0fea45 fix(gui): handle cancel from file input 2023-01-08 22:50:53 -06:00
Sean Sube 5a58a96a2a lint(gui): improve client request throttling 2023-01-08 22:49:49 -06:00
Sean Sube f49fc960c9 feat(gui): display source images after selection 2023-01-08 22:15:58 -06:00
Sean Sube 1e2321f843 lint(gui): clean up inpainting constants, styles 2023-01-08 21:14:24 -06:00
Sean Sube 5e712923db feat(gui): implement mask painting, flood fill 2023-01-08 20:54:52 -06:00
Sean Sube 2ff4aee887 fix(gui): allow decimal steps for CFG 2023-01-08 20:54:10 -06:00
Sean Sube 15ab44f2ad feat(gui): add inpaint call to API client 2023-01-08 18:11:07 -06:00
Sean Sube 11b9295efc feat(gui): add inpaint tab and basic image mask component 2023-01-08 17:56:00 -06:00
Sean Sube 1aa2181d90 fix(gui): move seed control onto same line with cfg and steps 2023-01-08 17:09:14 -06:00
Sean Sube 760b162a55 fix: bump package versions to 0.2.1 2023-01-08 15:26:43 -06:00
Sean Sube 477d89b6fc fix(gui): allow max safe seed constant 2023-01-08 15:02:59 -06:00
Sean Sube d1768b1bd1 chore(release): 0.2.0 2023-01-08 14:55:17 -06:00
Sean Sube 3dfbb0061b fix(gui): limit seed to safe values, prep for more settings 2023-01-08 14:25:25 -06:00
Sean Sube c5e0439aa5 feat(gui): add sliders to numeric inputs 2023-01-08 13:32:07 -06:00
Sean Sube d5c4040b07 fix(gui): handle decimal inputs correctly 2023-01-08 13:25:02 -06:00
Sean Sube 2328c5f46a feat(gui): add strength to img2img controls 2023-01-08 13:14:57 -06:00
Sean Sube f2e2b20f18 feat: implement negative prompts 2023-01-08 13:05:02 -06:00
Sean Sube fc988e4b5b fix(gui): bind dev server to localhost by default, open binding in containers 2023-01-08 09:46:13 -06:00
Sean Sube 33fd5f1b53 fix(gui): add strings for more stable diffusion models, nvidia GPUs 2023-01-08 09:07:30 -06:00
Sean Sube 93e53f6dc3 feat: make additional schedulers available in UI 2023-01-08 08:19:24 -06:00
Sean Sube 4894e0ddd6 fix(gui): send seed with img2img requests 2023-01-07 21:53:04 -06:00
Sean Sube e4542031c4 fix(gui): switch txt2img to post on client 2023-01-07 15:24:44 -06:00
Sean Sube 98a8db16a3 feat(gui): implement img2img tab 2023-01-07 15:10:52 -06:00
Sean Sube 090ad43845 lint(gui): fix a few name-only imports 2023-01-07 08:33:27 -06:00
Sean Sube 17e62fb8e3 fix(gui): key image history by order 2023-01-07 08:33:07 -06:00
Sean Sube e605c9f66b feat(gui): add download and delete buttons to image history 2023-01-06 22:20:14 -06:00
Sean Sube 4585792492 feat(gui): add seed to image controls with random button (fixes #16) 2023-01-06 20:03:00 -06:00
Sean Sube 3ec8f7c2fc feat(gui): put in a proper loading card 2023-01-06 17:35:20 -06:00
Sean Sube de48450730 fix(gui): disable img2img tab for now, consistent quotes in jsx 2023-01-06 17:20:34 -06:00
Sean Sube b59519cb7e fix(api): update serve app name, add module entrypoint 2023-01-06 16:18:53 -06:00
Sean Sube 599e0ee2d0 feat(api): switch to package structure 2023-01-06 16:11:41 -06:00
Sean Sube 8f7c1e705b fix(gui): add npm ignore 2023-01-06 15:46:27 -06:00
Sean Sube 225f5f15e2 fix(gui): copy bundle to correct path within nginx image 2023-01-06 15:13:37 -06:00
Sean Sube 7f2371163e fix(gui): correct paths in nginx image 2023-01-06 15:08:15 -06:00
Sean Sube ee6cf50df7 fix(gui): run dev server from node image 2023-01-06 15:07:31 -06:00
Sean Sube 5e9890fb82 feat(build): add nginx-based GUI images 2023-01-06 15:04:07 -06:00
Sean Sube 6d560afbae feat(build): add bundle to JS build, add API image jobs 2023-01-06 13:05:31 -06:00
Sean Sube 03362f323b fix(build): pull GUI images from hub 2023-01-06 12:55:54 -06:00
Sean Sube 7c08c4b400 fix(gui): make more space for scheduler in image card 2023-01-06 11:41:28 -06:00
Sean Sube 26e886b61b fix(gui): prevent dropdown border from overlapping with label 2023-01-06 11:28:24 -06:00
Sean Sube d3f460759a feat(gui): add labels to dropdowns 2023-01-06 11:17:00 -06:00
Sean Sube 45a097a56b feat(gui): move platform selector outside of mode tabs 2023-01-06 11:12:32 -06:00
Sean Sube 561fcb4d10 feat(gui): get default params and prompt from config 2023-01-06 10:52:42 -06:00
Sean Sube 29c49085ce fix(gui): switch default platform to AMD 2023-01-06 10:45:30 -06:00
Sean Sube a950343f1b fix(gui): show parameters in a grid in the image card 2023-01-06 10:45:18 -06:00
Sean Sube 764a097efd feat(gui): show recent image history 2023-01-06 10:20:43 -06:00
Sean Sube 0376499cc7 fix(gui): remove paragraph wrapping image details 2023-01-06 08:40:48 -06:00
Sean Sube b5d67b4886 feat(gui): make an image card component showing params 2023-01-06 00:22:36 -06:00
Sean Sube 1c9eed3a90 fix(gui): dedupe query lists into a component 2023-01-05 23:53:39 -06:00
Sean Sube f2ee2bb0e7 lint(gui): required tags for index page 2023-01-05 22:51:08 -06:00
Sean Sube 46e047bd0a feat(gui): load models from server 2023-01-05 22:33:06 -06:00
Sean Sube ce06837fbc feat(gui): get platforms and schedulers from server 2023-01-05 21:55:05 -06:00
Sean Sube b13d46cb5f feat(gui): set up react-query for better request handling 2023-01-05 21:01:18 -06:00
Sean Sube 466884113f feat: return json struct with output path instead of image data, load images from outputs endpoint 2023-01-05 20:32:46 -06:00
Sean Sube 5f1bb4ab56 fix(gui): switch default API host to localhost 2023-01-05 15:48:40 -06:00
Sean Sube 8f77bb89f2 feat(image): add preliminary container files 2023-01-05 15:03:53 -06:00
Sean Sube 9a10f52779 fix(build): correct output filename for JS ep 2023-01-05 13:47:43 -06:00
Sean Sube cd36172a3c fix(lint): style issues in gui 2023-01-05 13:42:52 -06:00
Sean Sube 6cb04fcbba load config from JSON, expand on setup instructions 2023-01-05 10:39:46 -06:00
Sean Sube 6c932e2ee8 add test script, screenshot to readme 2023-01-05 09:44:01 -06:00
Sean Sube 93a2f67e43 fix image size step 2023-01-05 01:26:34 -06:00
Sean Sube 75dde1dd75 add scheduler dropdown, wrap numeric input 2023-01-05 01:14:27 -06:00
Sean Sube 6b4545b3bf make image params a type, image controls a component 2023-01-05 00:44:52 -06:00
Sean Sube 8bbcdc175b stack txt2img inputs, read host/port for dev server 2023-01-04 23:25:39 -06:00
Sean Sube 85f117823c wire up basic API client 2023-01-04 22:54:31 -06:00
Sean Sube 8b0caf1925 add basic gui 2023-01-04 21:55:25 -06:00