Removable reference curves, audit fixes across pages, shaded Academy art
Test and deploy / test-and-deploy (push) Successful in 1m8s
Test and deploy / test-and-deploy (push) Successful in 1m8s
The planner's Artisan .alog drawer now shows what's attached with a "Remove reference curve" control (re-rendered per drawer open), so adding a reference curve is no longer a one-way door; /api/alog shares the 8 MB body cap so real-sized logs parse instead of failing with "bad_request". Deep-evaluation fixes: editing a brew of an archived bean no longer silently detaches the bean; the roasts pending-review poll no longer wipes in-progress after-roast edits; roasters gain an Edit (rename/model) action; the gear page refuses to autosave over a failed load; duplicating a plan carries its custom name; cupping sessions can attach a plan after creation (ownership-checked PUT + selector); admin user deletion also refreshes plans/audit; cupping cup-count subtitle stays live; roasts error-row colspan corrected. Regression tests cover the new cupping PUT and the /api/alog body cap. Academy scenes drop the flat paper-cutout look: shared defs provide radial-gradient shading on every bean/half-bean/particle, flame gradients with radiant halos, soft ground shadows, and a warm-lit stage background; fill-shift animations now ride a partial-opacity tint overlay so shading survives the color change. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { protectedFetch } from "./api.js?v=__ASSET_VERSION__";
|
||||
import { initSideNav, loadNavUser } from "./nav.js?v=__ASSET_VERSION__";
|
||||
import { ACADEMY_TRACKS } from "./academy-content.js?v=__ASSET_VERSION__";
|
||||
import { SCENES, sceneFallbackText } from "./academy-scenes.js?v=__ASSET_VERSION__";
|
||||
import { SCENES, sceneDefs, sceneFallbackText } from "./academy-scenes.js?v=__ASSET_VERSION__";
|
||||
|
||||
// ── Progress ───────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -119,7 +119,7 @@ function renderSlide() {
|
||||
|
||||
// Rebuilt per slide so CSS animations restart with it.
|
||||
const svg = $("player-scene");
|
||||
svg.replaceChildren();
|
||||
svg.replaceChildren(sceneDefs());
|
||||
try {
|
||||
svg.append(...SCENES[slide.scene[0]](slide.scene[1] ?? {}));
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user