Commits
Marek Vsechovsky committed 27810202720
Session 182, Step 2: Record the selected session in the recently-viewed history on L/Alt+L and Wf S4 Review results - AIM-3505 Record the selected session in the recently-viewed history on L/Alt+L and Wf S4 Review results - AIM-3508 Auto-switch to the Session steps tab when a highlighted issue is clicked in Session issues - AIM-3526 Render the session avatar badge as a plain count when all unresolved issues are ready - AIM-3527 Color the /X part of the session avatar badge with --aim-indigo-light when all unresolved issues are ready or postponed - AIM-3528 Clear the full-text results groups and Workflow tab badges when switching projects - AIM-3529 Turn the AI sessions count badge gray when all unresolved issues are Postponed and refresh the badges of all affected sessions - AIM-3530 Fix the Create issue dialog failing with a 500 error on POST /api/issues - AIM-3531 Document the + Add issues button behavior in the Session issues tab Outcome: Implemented all 8 issues. **AIM-3505**: the `L` shortcut no longer re-records a session that is already on top of the "Recently viewed sessions" history. **AIM-3508**: after the Session steps tab opens for a clicked issue, the first step containing that issue is scrolled to the top of its parent viewport. **issue -4184**: the session avatar badge now renders a plain count (`Y`) when all unresolved issues are ready. **issue -4185**: when every unresolved issue is Ready or Postponed, the `/X` badge part is wrapped in a `SPAN` colored `--aim-indigo-light` (new `.aim-indigo-light` style). **issue -4186**: switching projects clears the full-text search results groups of all three main lists and re-renders the Workflow step badges according to the new project's data. **issue -4187**: status changes now report the affected session ids and refresh every linked session badge, including the gray all-Postponed state and its reverse transitions. **issue -4188**: `POST /api/issues` fixed and hardened — the issue-number collision retry re-syncs `ProjectIssues` from `MAX(IssueNumber)` (the old non-removed COUNT corrupted the counter), usage counters can no longer fail the request, and the period counter increment is cast correctly. **issue -4189**: the "+ Add issues" button behavior is now documented in the in-app help and the sessions reference page.