GitXplorerGitXplorer
p

genui-panel

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
42c31019505a7ff1b811af7fa28e07cfd3250971

Update content.dart

ppolina-c committed 5 days ago
Unverified
e0d98f1b07d5f597b0871aff0580e0a797cea08e

-

ppolina-c committed 5 days ago
Unverified
f7078608d4d7db143daeb9b9dbe5df4ca7725c57

-

ppolina-c committed 5 days ago
Unverified
a25241be69a27cb020d520fac440ec64a031164d

Update sidebar.dart

ppolina-c committed 5 days ago
Unverified
3360c508d5c0af72f29a54d8fc3eb5ef1d857f66

-

ppolina-c committed 5 days ago
Unverified
32ed4a45d4c8d7de9f89ca4fcdf9eda87e553906

Update config.ts

ppolina-c committed 23 days ago

README

The README file for this repository.

Development Guidance

internal readme

Extension

All commands are for the directory extension

Rebuild packages

npm install

Start web

python3 -m http.server 50001 --directory assets/web

Rebuild code

npm install
npm run compile

Run locally

  1. 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) * Run flutter run -d chrome --web-port=8080

  2. To start recompilation on changes run:

    npm run watch
    
  3. In Run and Debug select extension and run (or press F5)

Test in IDX

  1. 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
    
  2. Open the tab "Extensions" in an IDX project.

  3. Drag and drop vsix file to IDX folder.

Read logs

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

UI

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

Deploy to Firebase

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

Authentication in Google

Using:

See internal details in http://go/genui-panel-readme

TODO before releasing

  1. Handle runtime errors
  2. Write readme for extension
  3. Cleanup dead code and test cover live code
  4. Dispose and shut down what is created and started