* Update Lite E2E test setup to measure the performance of the initial app loading
* [TMP] Run test-functional on this branch
* Update CI to read the perf result
* add changeset
* Comment the performance result
* [TMP] hardcode the PR number to test posting the comment
* Revert "[TMP] hardcode the PR number to test posting the comment"
This reverts commit 4270dac77c.
* Revert "Comment the performance result"
This reverts commit df4c29fcda.
* Add debug echo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix client in node
* run all client tests in ci
* add changeset
* fix types
* add changeset
* format
* types
* add changeset
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Add `pull_request.branches.main` as a trigger of the `publish` workflow
* [WIP] Comment out the publish steps
* Package and upload the NPM package for debug
* Skip the copy_frontend.py hook in the Lite build
* add changeset
* [WIP] Show gradio files
* [WIP] Show gradio files
* Comment out installing the gradio and gradio_client libraries
* Restore installing gradio_client because it's used by `python js/_website/generate_jsons/generate.py` that follows
* Restore installing gradio because it's used by `python js/_website/generate_jsons/generate.py` that follows
* Add code
* Revert "[WIP] Show gradio files"
This reverts commit e15fef29bd14671576e64d94d3b844786ebe7e83.
* Build the gradio wheel with the custom lite target
* add changeset
* Revert "[WIP] Show gradio files"
This reverts commit aef053f9caad203c7e1bbfa15e9f9e536f77442a.
* Revert "Skip the copy_frontend.py hook in the Lite build"
This reverts commit ca296d0e4e169adbb6af3705561869aa8c9037b7.
* Update .github/actions/install-frontend-deps/action.yml for hatch installation
* [WIP] Fix test-functional.yml and .github/actions/install-all-deps/action.yml to call the setup actions in this branch
* Revert "[WIP] Fix test-functional.yml and .github/actions/install-all-deps/action.yml to call the setup actions in this branch"
This reverts commit 571823b4a05f7e41e0b3731d51c5bd86b2e17ddc.
* Comment-in lines in publish.yml
* Move Lite build from publish.yml to deploy-spaces.yml
* Use the build_lite option of install-all-deps instead of running the build command
* [TMP] Change the branch of action files
* Fix the hatch Lite build setting
* Return pnpm pack to deploy-space
* Revert "[TMP] Change the branch of action files"
This reverts commit fe4e1c8f210eb21ac7ee1bd4b219d35e1ae84c85.
* Remove dependencies for lite build
* [TMP] Change the branch of action files
* Revert "Remove dependencies for lite build"
This reverts commit 856a858c1f49d736bfeb056ba0ec7e9bc35af29c.
* Install packaging>=23.2
* [TMP] Show packaging version
* Fix pip install
* Fix
* Uninstall packaging once
* Use `pip install -U` instead of uninstalling the exiting version
* Revert "[TMP] Show packaging version"
This reverts commit 910b6bbde3dc8777c051bd5576813913d57959f7.
* Add `-U` flag
* Set packaging version as >=23.2
* Revert the changes on pip install
* Set packaging version as >=23.2 in requirements.txt
* Revert "Set packaging version as >=23.2"
This reverts commit 8aa77c8930815e69d7256886cad88b6da8361069.
* Fix hook name
* Revert "Set packaging version as >=23.2 in requirements.txt"
This reverts commit fbd605cbfb5d06706eacc0648a2e9d7816c9de1f.
* Revert "Revert the changes on pip install"
This reverts commit 81ff38a660635fce9cb17862a2072e4d169c3466.
* Add comments
* Revert "[TMP] Change the branch of action files"
This reverts commit 0d6aa48d75a842db9b3987212deffedb0c0ca51d.
* Revert the trigger of .github/workflows/deploy-spaces.yml
* Remove unused `node_auth_token` and `npm_token` inputs from the `install-all-deps` action
* [TMP] Trigger CI based on this PR
* Remove packging installation
* Revert "Remove packging installation"
This reverts commit 4a4f18de3a.
* Revert "[TMP] Trigger CI based on this PR"
This reverts commit 6cea830c8e.
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
* fix-tests
* [tmp] Comment-out
* Fix the URL constructor calls in `resolve_wasm_src()`, `should_proxy_wasm_src()`, and `<DownloadLink />` to handle relative URLs
* Remove a circular dependency between lite/index.ts and lite/custom-element/index.ts to solve a bug that the dev app is mounted twice sometimes
* Fix js/app/test/image_component_events.spec.ts
* Set the `testIgnore` in `.config/playwright.config.js`
* Fix the Lite dev mode only to create an app and expose the controller for Playwright, without editors etc.
* add changeset
* Set the mocked ruff version as 0.2.2
* Extend timeout
* Fix to use the built lite files instead of the dev server
* add changeset
* comment out failed tests
* Revert "comment out failed tests"
This reverts commit 3580d79887.
* Fix the Gellery component to work in Wasm
* Fix js/app/test/file_explorer_component_events.spec.ts to run on Wasm
* Ignore queue_full_e2e_test.spec.ts
* Revert "[tmp] Comment-out"
This reverts commit c775c0cc29.
* Revert "Extend timeout"
This reverts commit 742d1e1e83.
* Remove a commented out line
* Refactor file_explorer_component_events.spec.ts
* Revert "fix-tests", restoring the original test-functional.yml content
This reverts commit 9ff2a7ddc5.
* Set CI step names
* [tmp] Revert "Revert "fix-tests", restoring the original test-functional.yml content"
This reverts commit de2dbe3317.
* Revert "[tmp] Revert "Revert "fix-tests", restoring the original test-functional.yml content""
This reverts commit 32154f3bb1.
* [tmp] Revert "Revert "[tmp] Revert "Revert "fix-tests", restoring the original test-functional.yml content"""
This reverts commit 204075e190.
* Fix vite.config.js removing unnecessary code
* Revert "Set the `testIgnore` in `.config/playwright.config.js`"
This reverts commit 98dccc5be9.
* Add gallery_component_events.spec.ts
* Revert js/app/test
* tweak
* tweak
* revert workflow changes
* add changeset
---------
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* remove unnecessary condition for deployment workflow
* remove unnecessary echo statements in GitHub Actions workflows
* fix website ci
* add condition to only run comment-spaces-start workflow if changes workflow outputs 'should_run' as 'true'
* Set up E2E test config for lite
* Use the same Page instance for all the tests in the case of lite
* Fix reading demo files
* Fix config
* Install requirements based on `requirements.txt`
* Add the "loaded" event dispatched from the main component to make a promise wait for the compoonent to be loaded
* Refactor js/tootils/src/index.ts
* Add testIgnore for lite
* Fix chatbot_multimodal.spec.ts
* Stop raising an exception when trying to cache examples but just show warning
* Update comment
* Mark the test slow when the page is initialized in it
* Add logs
* Set timeout
* add changeset
* Add the CI file .github/workflows/test-lite.yml
* Add E2E testing for Lite to the test-functional job
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>