Commit Graph

1608 Commits

Author SHA1 Message Date
aedhcarrick
5ef64a20ac moved more cross module calls to main(flet ui) 2022-12-26 14:21:29 -06:00
aedh carrick
092d35e527 started to move all module calls to main(flet ui) 2022-12-25 18:42:15 -06:00
aedh carrick
5b71cbd5df replaced canvas_preview with window for faster rendering(flet ui) 2022-12-25 16:47:55 -06:00
aedhcarrick
784840c50e adding canvas tools(flet ui) 2022-12-22 14:17:29 -06:00
aedh carrick
b110e31bd2
Merge branch 'Sygil-Dev:dev' into dev 2022-12-21 16:38:54 -06:00
aedhcarrick
71730853ea re-enabled draggable layers(flet ui) 2022-12-21 15:47:16 -06:00
aedhcarrick
6163597469 more tweaks to property panel (flet ui) 2022-12-21 14:15:18 -06:00
Alejandro Gil
84225f995d
More updates to flet ui. (#1720)
# Description
finished de-spagetti-fication.(mostly)
all elements are now in their own modules.
elements can call one another's functions via
self.page.<module>.<function>
changed messages window to list_view for smoother scrolling.
changed gallery to grid view. <-- just looks nicer, also smoother
scrolling.
added uploads. can add images as layers, from both uploads and gallery.
added preview to properties panel.
working canvas. <-- only pan/zoom functions work for now.
To Do:
-compose proper config, to give main access to needed settings. then
integrate them.
    -add needed tools to toolbar, add functions to tools in canvas.
    -add properties to property panel
-add multi-user support? in case someone wants multiple clients
connecting to same server.
    -add more comments/docs to code. 

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [ ] I have commented my code in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
2022-12-21 06:58:24 -08:00
aedhcarrick
028cd2c603 fixed bug in 'flet_gallery_window.py'(flet ui) 2022-12-20 14:20:58 -06:00
aedhcarrick
46e1cf680c minor tweak to property panel(flet ui) 2022-12-20 14:09:28 -06:00
aedhcarrick
16176b3492 changed gallery from row to grid view, updated property panel(flet ui) 2022-12-20 13:54:32 -06:00
aedhcarrick
6368d1edfe added preview to properties 2022-12-19 15:08:45 -06:00
aedh carrick
eefb4de6ce squashed bug in canvas(flet ui) 2022-12-18 18:19:41 -06:00
aedhcarrick
3f8ab89d7c bug in canvas.update() 2022-12-18 16:22:38 -06:00
aedh carrick
942e0c3ed6 trying to fix canvas bug(flet ui) 2022-12-17 18:32:00 -06:00
aedh carrick
a71cf1b1de added canvas scaling(flet ui) 2022-12-16 18:24:35 -06:00
aedh carrick
c8405378ff
Merge branch 'Sygil-Dev:dev' into dev 2022-12-15 16:44:47 -06:00
aedhcarrick
2cc91e3d07 more work on canvas(flet ui) 2022-12-15 15:49:41 -06:00
aedhcarrick
58db3ffe02 renamed appbar to titlebar, because we don't want 'page.appbar'(flet ui) 2022-12-15 13:08:51 -06:00
Alejandro Gil
3d916e4042
Added option to the Settings page to enable and disable the suggestion box. (#1718) 2022-12-14 18:36:34 -08:00
ZeroCool940711
1ff426782a
Merge remote-tracking branch 'origin/dev' into dev 2022-12-14 19:35:29 -07:00
ZeroCool940711
3868b79b07
Added option to the Settings page to enable and disable the suggestion box. 2022-12-14 19:35:14 -07:00
aedhcarrick
3df54f3645 moved messages to 'flet_messages.py' 2022-12-14 15:08:27 -06:00
aedhcarrick
08070a5c0f moved app_panel to 'flet_appbar.py' 2022-12-14 14:03:49 -06:00
aedhcarrick
90a7a5d6cf more refactoring (flet ui) 2022-12-13 16:31:44 -06:00
aedh carrick
c0565ff5ae added flet_file_manager.py (flet ui) 2022-12-12 17:43:36 -06:00
aedh carrick
a2a147c742 moved settings and gallery completely into helper files. (flet ui) 2022-12-12 10:27:49 -06:00
aedhcarrick
79ac1b785f more refactoring on flet webui(WIP) 2022-12-11 16:06:09 -06:00
aedhcarrick
ae7b33279b moved toolbar to 'flet_tool_manager.py' 2022-12-11 14:47:08 -06:00
aedh carrick
1e71614b63
Merge branch 'Sygil-Dev:dev' into dev 2022-12-11 10:13:02 -06:00
aedh carrick
732aed430f (webui_flet.py:WIP) tied more controls to settings 2022-12-10 19:08:56 -06:00
Alejandro Gil
d3f9d054e8
Added option to show the progress percent value during a generation as part of the title on the tab on the browser. This should be useful for when doing a generation but you need to do something on another tab but still want to keep track of the progress. (#1711) 2022-12-08 14:09:56 -08:00
ZeroCool940711
3e87802c9f
Added option to show the progress percent value during a generation as part of the title on the tab on the browser. This should be useful for when doing a generation but you need to do something on another tab but still want to keep track of the progress. 2022-12-08 15:09:10 -07:00
Alejandro Gil
42d6b5d7b1
more updates to 'webui_flet.py' (WIP) (#1710)
# Description
continued de-spagettification.
moved gallery window to 'scripts/flet_gallery_window.py'
started storing settings in page then tying control attributes to them.
added 'import base64' and 'from io import BytesIO' to flet_utils.py

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
2022-12-08 12:31:39 -08:00
Aedh Carrick
be0eb6bf1a more updates to 'webui_flet.py' 2022-12-08 14:17:58 -06:00
Aedh Carrick
73a96e5d76 added tools, cropped images to canvas size. 2022-12-07 15:17:40 -06:00
Aedh Carrick
b950d83ce5 moved canvas to 'flet_canvas.p' 2022-12-07 12:41:34 -06:00
Alejandro Gil
0d03e899e5
more updates to flet webui (WIP) (#1709)
# Description
moved settings page and layer manager to separate files.
moved flet and helper scripts to 'webui/flet' folder.
edited '.gitignore' to avoid committing test files and logs.
made naive image viewer for gallery.
added image uploader. auto-magically adds uploaded images as new layers.
made layers drag and drop-able, started work on canvas.
added dragbars to panels for resizing.
added 'messasages()' for events to call. messages are printed in
messages tab in bottom panel
    -also printed to dated session log in 'log/webui/flet'
other assorted minor fixes. <--see commit msgs

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
2022-12-06 14:27:53 -08:00
Aedh Carrick
8f89bd869a added dragbars to resize panels 2022-12-06 15:49:32 -06:00
Aedh Carrick
0440929dcd added image for empty gallery 2022-12-06 11:23:59 -06:00
aedh carrick
fd7af4288d
Merge branch 'Sygil-Dev:dev' into dev 2022-12-06 05:41:23 -06:00
aedh carrick
e5a3a1b047 more work on flet gallery 2022-12-05 22:16:52 -06:00
Aedh Carrick
46ea2be0db add gallery window 2022-12-05 16:36:40 -06:00
Aedh Carrick
064a7e9554 add uploaded images as layers 2022-12-05 11:47:59 -06:00
Alejandro Gil
6f2986817d
Added support on txt2img and img2img for the k_dpmpp_2m sampler from k-diffusion. (#1707) 2022-12-05 08:20:01 -08:00
ZeroCool940711
4cba48f7c6
Merge remote-tracking branch 'origin/dev' into dev 2022-12-05 09:17:45 -07:00
ZeroCool940711
5490ebbb11
Merge remote-tracking branch 'origin/dev' into dev 2022-12-05 09:17:21 -07:00
ZeroCool940711
f8a9d9169c
Added support on txt2img and img2img for the k_dpmpp_2m sampler from k-diffusion. 2022-12-05 09:17:10 -07:00
Alejandro Gil
7cfe911d52
master to dev (#1706) 2022-12-05 06:39:54 -08:00
Alejandro Gil
5291437085
The Merge (#1705) 2022-12-05 06:34:05 -08:00