Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/bokehforge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
assert files("bokehforge").joinpath("heatmaps.html").is_file()
assert files("bokehforge.data").joinpath("sources.json").is_file()
assert files("bokehforge.review").joinpath("static", "index.html").is_file()
assert files("bokehforge.review").joinpath("static", "view-state.js").is_file()
assert files("bokehforge.review").joinpath("static", "fonts", "SpaceGrotesk-Regular.ttf").is_file()
PY
- name: Run CPU scoring and parity tests
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/stackroom-web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Stackroom web

on:
pull_request:
paths:
- bokehforge/web/**
- bokehforge/src/bokehforge/review/static/view-state.js
- .github/workflows/stackroom-web.yml

permissions:
contents: read

defaults:
run:
shell: bash
working-directory: bokehforge

jobs:
stackroom-url:
name: Stackroom URL state
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "24"
- run: npm ci --ignore-scripts --prefix web
- run: npm --prefix web run check
- run: npm --prefix web test
6 changes: 6 additions & 0 deletions bokehforge/docs/review.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ Use **Heatmaps** in the output sidebar or the floating controls in the lightbox

The overlay, damage type, tile size, and opacity carry over when you switch outputs or move between the main viewer and the lightbox. Heatmaps use the leading placement and load on demand. The lightbox keeps the heatmap aligned during zoom and pan and confines it to the output side of a reference swipe. The full reference stays clear for comparison.

## Share a review view

Copy Stackroom’s URL to reopen the same scene, evaluation, source frame, reference, and stacker. It also preserves heatmap controls, score details, the open lightbox and its viewport, and open control panels, including an unsent evaluation configuration. Back and Forward restore previous selections. The destination Stackroom server needs the same dataset and saved evaluation for the link to resolve those images.

Ratings and comments stay in the Stackroom store. Hover previews and held-key comparisons are temporary. Existing links using `#dataset=…&scene=…&run=…` still open.

## Set up the stackers

Choose the stackers in **New evaluation**. When you start the run, Stackroom uses the available open-source stackers and prepares any others you selected before processing scenes. First-time setup may download dependencies. The run banner shows what is being installed, and setup failures include a log for the affected stacker. Other selected stackers can continue when one setup fails.
Expand Down
1 change: 1 addition & 0 deletions bokehforge/src/bokehforge/review/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
STATIC = Path(__file__).with_name("static")
ASSETS = {"/": ("index.html", "text/html; charset=utf-8"),
"/app.js": ("app.js", "text/javascript; charset=utf-8"),
"/view-state.js": ("view-state.js", "text/javascript; charset=utf-8"),
"/rail.js": ("rail.js", "text/javascript; charset=utf-8"),
"/rating-autosave.js": ("rating-autosave.js", "text/javascript; charset=utf-8"),
"/workspace-socket.js": ("workspace-socket.js", "text/javascript; charset=utf-8"),
Expand Down
Loading
Loading