diff --git a/.github/workflows/build-vizro-whl.yml b/.github/workflows/build-vizro-whl.yml index af9fb86ce..4b1b00f6b 100644 --- a/.github/workflows/build-vizro-whl.yml +++ b/.github/workflows/build-vizro-whl.yml @@ -36,3 +36,19 @@ jobs: name: pip path: vizro-core/dist/*.whl retention-days: 14 + # The below can be commented out in order to dry run the test creation of the PyCafe links + # Once satisfied, comment them again, because the actual links will be created by the pycafe-dashboards.yml workflow + # which is run from the main branch + ############### Start of PyCafe links creation ############### + # - name: Print PR Number + # run: | + # echo "Pull Request Number: ${{ github.event.workflow_run.pull_requests[0].number }}" + # - name: Create PyCafe links + # run: | + # PR_NUMBER=${{ github.event.workflow_run.pull_requests[0].number || '' }} + # if [ -n "$PR_NUMBER" ]; then + # hatch run python ../tools/pycafe/create_pycafe_links.py --github-token ${{ github.token }} --repo-name ${{ github.repository }} --pr-number $PR_NUMBER --run-id ${{ github.run_id }} --commit-sha ${{ github.sha }} + # else + # hatch run python ../tools/pycafe/create_pycafe_links.py --github-token ${{ github.token }} --repo-name ${{ github.repository }} --run-id ${{ github.run_id }} --commit-sha ${{ github.sha }} + # fi + ############### End of PyCafe links creation ############### diff --git a/tools/pycafe/create_pycafe_links.py b/tools/pycafe/create_pycafe_links.py index 68c94e798..87ac4d928 100644 --- a/tools/pycafe/create_pycafe_links.py +++ b/tools/pycafe/create_pycafe_links.py @@ -147,6 +147,17 @@ def post_comment(urls: dict[str, str]): "isort==5.13.2", "plotly==5.24.1", ], + "vizro-ai/examples/dashboard_ui/": [ + "vizro-ai>=0.3.0", + "black", + "openpyxl", + "langchain_anthropic", + "langchain_mistralai", + "greenlet # mock", + "tiktoken @ https://py.cafe/files/maartenbreddels/tiktoken-demo/tiktoken-0.7.0-cp312-cp312-pyodide_2024_0_wasm32.whl", + "https://py.cafe/files/maartenbreddels/jiter-demo/jiter-0.6.1-cp312-cp312-pyodide_2024_0_wasm32.whl", + "https://py.cafe/files/maartenbreddels/tokenizers-demo/tokenizers-0.20.2.dev0-cp312-cp312-pyodide_2024_0_wasm32.whl", + ], } urls = { directory: generate_link(directory, extra_requirements) diff --git a/vizro-core/examples/scratch_dev/app.py b/vizro-core/examples/scratch_dev/app.py index db0b4bb68..84e70e6aa 100644 --- a/vizro-core/examples/scratch_dev/app.py +++ b/vizro-core/examples/scratch_dev/app.py @@ -28,7 +28,7 @@ page = vm.Page( - title="Test New ZZZZZZZ", + title="Charts UI", components=[ vm.Graph( figure=px.bar(