Skip to content

Initial CircuitPython Installer Coding#1137

Merged
makermelissa merged 17 commits into
adafruit:mainfrom
makermelissa:esptool
Jan 31, 2023
Merged

Initial CircuitPython Installer Coding#1137
makermelissa merged 17 commits into
adafruit:mainfrom
makermelissa:esptool

Conversation

@makermelissa
Copy link
Copy Markdown
Collaborator

I need to put this in place like this for now. Right now it will show the button, but when clicked it should show an empty menu with the message "Coming soon. Check back later.". Adding #mode=test to the URL and refreshing will show the different menu items. It's currently not completely functional which is why it's disabled by default, but this will allow me to test CORS from the real domain. Once I verify what needs to be done with CORS, I can make those changes and push subsequent updates to show the working install flows as I finish them.

@makermelissa makermelissa requested a review from a team January 30, 2023 22:03
tannewt
tannewt previously approved these changes Jan 31, 2023
Copy link
Copy Markdown
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to have this available for testing. One weirdness is the three files named cpinstaller.js, installer.js and wsinstaller.js. Could they be renamed to be clearer?

@makermelissa
Copy link
Copy Markdown
Collaborator Author

Oh, wsinstaller.js shouldn't have been included, so I'll delete that. installer.js is the base installer (so it can eventually be reused for wippersnapper) which I can rename, and cpinstaller.js is the CircuitPython specific stuff. I'd like to have the installer eventually live in its own repo, so it will eventually go away from here and possibly the cpinstaller.js may move as well so it could be reused on other sites.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants