Commit History

Adding header for Cross-Origin-Opener-Policy instructions to flask as possible solution to oepning a tab or pop up when deployed to huggingface
f552fc6

drakosfire commited on

removed the godforsaken .pngs again
9b7c117

drakosfire commited on

Set storeUI.html css back to original print settings
20bbe50

drakosfire commited on

Merge branch 'main' of github.com:Drakosfire/StoreGenerator
f1cc591

drakosfire commited on

added offset to adjustTextareaHeight for title block and description-textarea, made sure description-textarea height is adjusted correctly
ac9f06d

drakosfire commited on

added div floatingToolbar and moved buttons and description field into it
13f10a1

drakosfire commited on

storeUI.css added floating toolbar css, tinkered with print rules without much success, removed the page break rules
573e988

drakosfire commited on

replaced block-content class with block-page to make clearer this is a block on the page,updated css to match, rewrote system prompt in store_helper.py to generate more targeted image prompts, adjuste template_update.html wit h newer prompting
9999d91

drakosfire commited on

Added autofill function, event listener, and button
2d281eb

drakosfire commited on

Merge branch 'main' of github.com:Drakosfire/StoreGenerator
9cb5d54

drakosfire commited on

Fixed reset, blockContainerPage needed to be reinitialized, renamed image textareas ids to sdprompt- in template
ff44a96

drakosfire commited on

added addPage and removePage function, eventlistener and buttons, remove checks for blocks on page and gives an error popup
624bb19

drakosfire commited on

added button to toggle visibility of image text and generate button while on page-container
5c516ee

drakosfire commited on

add css for image-textarea and generate-image-button to set display:none when in page-container, updated block_builder.py and template_update.html to include image-textarea
c0550ce

drakosfire commited on

moved initializeTextareaResizing into the extracBlocks function to ensure it fires after the extract at page load
e1d03aa

drakosfire commited on

Fixing merge conflicts
01f4554

drakosfire commited on

created event listener for button that connects button to call to open window, might work? Works locally.
3a05b59

drakosfire commited on

Trying to simplify and open to tab
67ba65c

drakosfire commited on

adding a delay for window to popup on print
cf5c57c

drakosfire commited on

checking if the printWindow check is triggering before the window has a chance to open
eba7f1d

drakosfire commited on

Updated script.js with error logging for print.window null issue when deployed
4ecf1fd

drakosfire commited on

commented out add page and remove page Event Listeners
3217d1f

drakosfire commited on

Merge branch 'main' of github.com:Drakosfire/StoreGenerator
fb1b4a4

drakosfire commited on

Merge branch 'feature/docker'
627c8bf

drakosfire commited on

Merge branch 'main' of github.com:Drakosfire/StoreGenerator
c11a3c4

drakosfire commited on

prepping for merge to main. Added storeUI.css with @media and some cleanup in store_helper
cd77173

drakosfire commited on

updated fetch function generateImage to fetch a relative URL, could fix the CORS issue.
4805bda

drakosfire commited on

updated app.py flask app launch to point to host 0.0.0.0 and port 7860 to match huggingface, hoping this resolves CORS issue
5794b1c

drakosfire commited on

added requirements.txt
79c5e02

drakosfire commited on

Got up to docker build ready again, was importing things in block-builder like torch and utilities that weren't needed
a3dba5f

drakosfire commited on

Troubleshooting README, changed name, could be issue
4dd1198

drakosfire commited on

Fixed print function having weird blank pages. @media print added to pop up print window
4ba412e

drakosfire commited on

print now function is a popup to prevent disruption of main page
3bf0a70

drakosfire commited on

simplified handleColumnOverflow to only detect and act during second column overflow, trusting page css to handle two column balancing, works pretty good
26d1f1c

drakosfire commited on

refactored, call unlockTextareas one time at end of handleDragEnd
b5f325d

drakosfire commited on

added unlock textareas to handleTrashDrop
234b455

drakosfire commited on

fixed bug where descriptionTextarea in unlock textareas wasn't trageting globablly. Function targets entire document now
cf0d79c

drakosfire commited on

Pretty sure that all textareas lock during drag events, no more dropping html into textareas or content editable areas
b1fa4de

drakosfire commited on

added update_template.html which is same architecture as storeUI.html page-container, so testing will be more accurate. Updated extractBlocks function to target block-items
9efcf1c

drakosfire commited on

Rolling back to commit from this morning
93c4c52

drakosfire commited on

Reverting to hash d4b9975 and keeping README and Dockerfile changes
c9deeac

drakosfire commited on

README.md format error
ebf910c

drakosfire commited on

README.md format error
f757b08

drakosfire commited on

modified docker file to create user and set ENV path to HOME, ensure dockerfile points to expected port 7860
624a711

drakosfire commited on

updated readme.md with additiona details of fixes needed and future expansion. Added metadata and pointed flask app to port 7860
75e4552

drakosfire commited on

Removed some white spaces, added functions to lock textares during drop events, and unlock at end of drop events, added check for 'description-textarea' while handling drop
f434b03

drakosfire commited on

Resolved blocks not sorting correctly after trash event by always reordering by block-id which is static
d4b9975

drakosfire commited on

Modified padding on .page width from 1.9cm to 1.2 cm, set classTable.frame width to 95%, set columnWrapper width to 100%, in storeUI.html moved buttons out of brewRenderer and to top layer of page-container
dcc8bc7

drakosfire commited on

merging with script and storeUI.css
454d813

drakosfire commited on

Track images using Git LFS
6b59dc7

drakosfire commited on