Commits
Marek Vsechovsky committed f4c9d54a71f
Session 159, Step 5: Restrict story-session link checkbox to non-executed stories with executed label link - AIM-3042 Restrict story-session link checkbox to non-executed stories with executed label link - AIM-3043 Remove #wfStorySessionBtn from toolbar - AIM-3044 Fix #wfChkLinkSession session-step selection timing - AIM-3045 Double-click processing session step left tab to show original input prompt - AIM-3046 Fix 'detail is not defined' error in updateSessionBadgeFromData - AIM-3047 Do not reload Wf S1 list on tab focus without changes - AIM-3048 Delay the No-project-selected dialog until auto-select completes - AIM-3049 Keep the last selected Workflow step sub-tab when returning to the Workflow tab - AIM-3050 Fix TypeError: Dash.Iss.refreshIssueRows is not a function - AIM-3051 Fix Consolidate dialog selector error - AIM-3042 Conflict dialog when generating next step with cross-session linked story - AIM-3043 Linked stories prompt when no story selected or unlinked story selected - AIM-3053 Prompt for additional stories linked to the current session - AIM-3055 Link and switch the displayed linked session - AIM-3056 Toggle filtering by stories linked to the session Outcome: Implemented the executed-story label with related-step navigation (AIM-3037 family, issue -3639), removed `#wfStorySessionBtn` (-3640), and fixed the session-step selection timing by replacing the fixed 600 ms timeout with a render-poll (-3641). Rewrote the cross-session conflict dialog so its story list comes from the CURRENTLY SELECTED session and is a checkbox list with OK gating (-3643 / AIM-3042), simplified the linked-stories prompt for the single- and multi-story cases (AIM-3043), defined the new `suggestion` dialog type with sticky-note styling + lightbulb icon and made the other-linked-stories dialog use it (AIM-3053), fixed the story merge to update memory + editor so the merged prompt really contains the other stories' content, fixed the icon-only switch button semantics (AIM-3054), and rebuilt the linked-story filter as a clearly-ON toggle anchored to the selected story's own session (AIM-3055). Fixed the `detail` ReferenceError in `updateSessionBadgeFromData`, added the missing `Dash.Iss.refreshIssueRows`, gated the `No project selected` dialog until project restoration finished with auto-close on selection, kept the last selected workflow step sub-tab across session switches, stopped the full Wf S1 reload on mere tab focus, repaired the Consolidate dialog plain-text selector, and made the Wf S4 tab double-click show the original input prompt in S3. JavaScript diagnostics are clean; all four CSS outputs recompiled. Session 159, Step 6: Fix ReferenceError: tbar is not defined kills the whole story toolbar - AIM-3048 Fix ReferenceError: tbar is not defined kills the whole story toolbar - AIM-3049 Restore lost list shortcut and preview functions (Shift+Arrow, Ctrl+click, Space, ArrowLeft/Right) - AIM-3050 Fix note-save 400: unbalanced pasted-HTML rejected; toast hides the server error Outcome: Fixed the `tbar is not defined` ReferenceError so the whole Wf S2 story toolbar (Save/Cancel/Preview/Paste/Deselect/PROCESSING label) renders again (issue -3649, AIM-3043 regression). Restored all 15 list shortcut/preview functions lost in the AIM-3042-era rename — Shift+ArrowUp/Down extend-highlight, Shift+ArrowLeft/Right group jump, Ctrl+click row highlight, Space checkbox toggle, ArrowLeft/Right history preview with Enter-confirm/Esc-cancel — in all three list modules (Issues, AI sessions, Workflow stories), re-wired the Ctrl+click list-item handlers, and exported everything (issue -3650). Reproduced the note-save 400 (pasted `at <anonymous> (…)` produced an unclosed `<anonymous>` tag) and fixed `HtmlTextSanitizer` to auto-escape unbalanced markup instead of rejecting, while balanced input stays byte-identical; the failure toasts now show the actual server error (issue -3651). Proven via a compiled-standalone test: the previously-failing note now saves; the JS diagnostics are clean and the project builds with 0 errors.