All commands are for the directory extension
npm install
python3 -m http.server 50001 --directory assets/web
npm install
npm run compile
-
If you want to use local UI: a. Temporarily update config.ts to have isLocal = true d. Run UI via one of options: * In Run and Debug select
ui
and run (or press F5) * Runflutter run -d chrome --web-port=8080
-
To start recompilation on changes run:
npm run watch
-
In Run and Debug select
extension
and run (or press F5)
-
Create vsix file:
NOTE: before compiling and sharing the build do not forget to:
- switch 'local' to false in config.ts
-
firebase deploy
ui
vsce package --allow-missing-repository
-
Open the tab "Extensions" in an IDX project.
-
Drag and drop vsix file to IDX folder.
In IDX: chrome console (open it with Chrome > menu > more tools > developer tools) In host vscode: debug console (select 'right' thing at top right) In child vscode: command Open Webview Developer Tools
All commands here are for the directory ui
.
Basic commands:
flutter build web
flutter run -d chrome --web-port=8080
flutter run -d web-server --web-port=8080
flutter run -d web-server --web-port=8080 --release
Demo version is hosted on polina's account: https://genui-panel.web.app/
To deploy ask @polinach to give you permissions or to run:
firebase deploy
Using:
- https://pub.dev/packages/google_sign_in
- https://pub.dev/packages/google_sign_in_web
- To generate client ID: https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid
See internal details in http://go/genui-panel-readme
- Handle runtime errors
- Write readme for extension
- Cleanup dead code and test cover live code
- Dispose and shut down what is created and started