mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-14 03:44:02 +08:00
Migrate to viser viewer (#2515)
* fix jittering in markdown in viewer beta
* Revert "fix jittering in markdown in viewer beta"
This reverts commit 70ade42e46.
* Migrate to viser viewer
* Fix docs
* print correctly formatted url in banner for viewer beta
* add deprecation warnings to viewer_elements.py
* fix export string scientific notation bug, change .5 to 2.0 sec transition time
---------
Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
This commit is contained in:
1 parent
ca9e6c1294
commit
451a70c1f3
92 files changed
+133
-124
No files matched your search
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./nerfstudio/viewer/app
|
||||
working-directory: ./nerfstudio/viewer_legacy/app
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
with:
|
||||
node-version: 17.8.0
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: ./nerfstudio/viewer/app/yarn.lock
|
||||
cache-dependency-path: ./nerfstudio/viewer_legacy/app/yarn.lock
|
||||
|
||||
- name: Install packages
|
||||
run: yarn install
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: production-files
|
||||
path: ./nerfstudio/viewer/app/build
|
||||
path: ./nerfstudio/viewer_legacy/app/build
|
||||
|
||||
deploy:
|
||||
name: Deploy
|
||||
@@ -53,13 +53,13 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -r ./nerfstudio/viewer/app/requirements.txt
|
||||
pip install -r ./nerfstudio/viewer_legacy/app/requirements.txt
|
||||
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: production-files
|
||||
path: ./nerfstudio/viewer/app/build
|
||||
path: ./nerfstudio/viewer_legacy/app/build
|
||||
|
||||
- name: Get branch name (merge)
|
||||
if: github.event_name != 'pull_request'
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
shell: bash
|
||||
run: echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF} | tr / -)" >> $GITHUB_ENV
|
||||
|
||||
# TODO: detect file or scheme changes of the viewer and only
|
||||
# TODO: detect file or scheme changes of the viewer_legacy and only
|
||||
# increment the version.txt file when there is a change.
|
||||
# Update the version.txt code and push to master when things change.
|
||||
# https://github.com/marketplace/actions/changed-files
|
||||
@@ -79,7 +79,7 @@ jobs:
|
||||
# id: changed-files-for-dir1
|
||||
# uses: tj-actions/changed-files@v29.0.3
|
||||
# with:
|
||||
# path: nerfstudio/viewer/app
|
||||
# path: nerfstudio/viewer_legacy/app
|
||||
|
||||
# - name: List all added files in dir1
|
||||
# run: |
|
||||
@@ -88,10 +88,10 @@ jobs:
|
||||
# done
|
||||
|
||||
- run: |
|
||||
python ./nerfstudio/viewer/app/run_deploy.py \
|
||||
python ./nerfstudio/viewer_legacy/app/run_deploy.py \
|
||||
--branch-name ${{ env.BRANCH_NAME }} \
|
||||
--ssh-key-string "$SSH_KEY" \
|
||||
--local-folder ./nerfstudio/viewer/app/build \
|
||||
--package-json-filename ./nerfstudio/viewer/app/package.json \
|
||||
--local-folder ./nerfstudio/viewer_legacy/app/build \
|
||||
--package-json-filename ./nerfstudio/viewer_legacy/app/package.json \
|
||||
--increment-version "False"
|
||||
- run: cat ~/.ssh/config
|
||||
Reference in new issue
Block a user