-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use bokeh_fastapi through panel #503
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
21bd72e
use bokeh_fastapi through panel
pmeier d3c589b
update
pmeier b1541ba
more
pmeier 7cc6791
move chat-interface location to fix center alignment of text
kcpevey 824be57
update panel to 1.5.4
pmeier 2d59794
fix document pill check
pmeier 8dbe84d
Merge branch 'deploy-dev-alpha' of github.com:Quansight/ragna into de…
pmeier 173f214
remove dev install from CI
pmeier b259097
style filedropper
kcpevey 8341f09
restrict filetypes on filedropper
kcpevey 18419d2
switch back to FileInput
kcpevey 96fa9b0
disable mambaforge in CI
pmeier b66af87
format
pmeier 9835198
cleanup
pmeier 5239942
disable UI tests
pmeier 69474f5
mypy
pmeier 50253c8
update docker requirements
pmeier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,9 +38,7 @@ jobs: | |
matrix: | ||
os: | ||
- ubuntu-latest | ||
# FIXME | ||
# Building panel from source on Windows does not work through pip | ||
# - windows-latest | ||
- windows-latest | ||
- macos-latest | ||
python-version: ["3.10"] | ||
include: | ||
|
@@ -81,65 +79,64 @@ jobs: | |
uses: pmeier/[email protected] | ||
with: | ||
path: test-results.xml | ||
|
||
pytest-ui: | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
- macos-latest | ||
browser: | ||
- chromium | ||
- firefox | ||
python-version: | ||
- "3.10" | ||
- "3.10" | ||
- "3.12" | ||
exclude: | ||
- python-version: "3.11" | ||
os: windows-latest | ||
- python-version: "3.12" | ||
os: windows-latest | ||
- python-version: "3.11" | ||
os: macos-latest | ||
- python-version: "3.12" | ||
os: macos-latest | ||
include: | ||
- browser: webkit | ||
os: macos-latest | ||
python-version: "3.10" | ||
|
||
fail-fast: false | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup environment | ||
uses: ./.github/actions/setup-env | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Run unit tests | ||
id: tests | ||
run: | | ||
pytest tests/deploy/ui \ | ||
--browser ${{ matrix.browser }} \ | ||
--video=retain-on-failure | ||
|
||
- name: Upload playwright video | ||
if: failure() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: | ||
playwright-${{ matrix.os }}-${{ matrix.python-version}}-${{ github.run_id }} | ||
path: test-results | ||
# pytest-ui: | ||
# strategy: | ||
# matrix: | ||
# os: | ||
# - ubuntu-latest | ||
# - windows-latest | ||
# - macos-latest | ||
# browser: | ||
# - chromium | ||
# - firefox | ||
# python-version: | ||
# - "3.10" | ||
# - "3.10" | ||
# - "3.12" | ||
# exclude: | ||
# - python-version: "3.11" | ||
# os: windows-latest | ||
# - python-version: "3.12" | ||
# os: windows-latest | ||
# - python-version: "3.11" | ||
# os: macos-latest | ||
# - python-version: "3.12" | ||
# os: macos-latest | ||
# include: | ||
# - browser: webkit | ||
# os: macos-latest | ||
# python-version: "3.10" | ||
# | ||
# fail-fast: false | ||
# | ||
# runs-on: ${{ matrix.os }} | ||
# | ||
# defaults: | ||
# run: | ||
# shell: bash -el {0} | ||
# | ||
# steps: | ||
# - name: Checkout repository | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
# | ||
# - name: Setup environment | ||
# uses: ./.github/actions/setup-env | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# | ||
# - name: Run unit tests | ||
# id: tests | ||
# run: | | ||
# pytest tests/deploy/ui \ | ||
# --browser ${{ matrix.browser }} \ | ||
# --video=retain-on-failure | ||
# | ||
# - name: Upload playwright video | ||
# if: failure() | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: | ||
# playwright-${{ matrix.os }}-${{ matrix.python-version}}-${{ github.run_id }} | ||
# path: test-results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:host(.file-input) .bk-input { | ||
height: 80px; | ||
border: var(--accent-color) dashed 2px; | ||
border-radius: 10px; | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably go into
BokehFastapi
under astatic_dirs
keyword similar to whatpn.serve
does.