Commits
Marek Vsechovsky committed 08d1bc29dd9
Session 163, Step 1: New session buttons for non-linked stories on #wfNextStep2 - AIM-3082 New session buttons for non-linked stories on #wfNextStep2 Outcome: Implemented the two-button replacement for `#wfNextStep2` in Case 2 of the click handler in `dashboard-workflow.js`. When a story is selected but not linked to any session and no stories are linked to the current session, the Next step button is temporarily hidden and replaced by "Continue current session" (primary) and "Start new session" (success) buttons. Continue restores the button and calls `_doActualNextStep()` normally. Start new session auto-creates a session via `POST /api/sessions` with the default `Session X` placeholder name (auto-renamed to `Session N` where N is the server-assigned number), switches to it, resets session-scoped workflow state, links the current story to it, and then advances to Step 3.