Commits
Marek Vsechovsky committed f03135e9399
ds-000-018-03 — AI session panel bug-fixes, tab restructure, IssueSelected and filtering
Back/Forward buttons: fixed selector scope (button[data-view]) + explicit bindings;
added updateIssueNavButtons() call in selectIssue().
Children tab re-render: cache guard in wireIssueDetailHandlers — skip if _tabData already set.
Outcome tab badge: replaced tick with dynamic char-count badge (#outcomeBadge) updated
by renderIssueOutcomeContent.
Step sub-tab → session tab bug: session tab strip now has class aim-session-level-tabs;
handler scoped to .aim-session-level-tabs > .aim-detail-tab.
Per-step mode: replaced global S.stepTabMode with S.stepModes{} dict; each step toggle
only flips its own entry.
sessionDescToggle overflow: post-render scrollHeight/clientHeight check — hides button
when content fits.
Split renderSessionDetail → buildSessionHeaderHtml, buildSessionProgressHtml,
buildSessionTabStripHtml, buildSessionStepsHtml, wireSessionDetailHandlers.
Lazy step issues: removed loadStepIssues from accordion open; loads only when
'Issues created' stab clicked or was pre-selected.
aim-detail-tab-pane structure: all issue panes now have aim-detail-tab-pane-title
(hidden classic, sticky continuous) + aim-detail-tab-pane-content wrappers.
Step tab reorder: Description → Outcomes → Issues created → Original input text.
sessionStepDescription → desc tab; sessionStepInputText → input tab.
Added SessionStepInputText to SessionsController step DTO.
Session Back/Forward: S.sessionNavStack/FwdStack, navigateSessionBack/Forward,
updateSessionNavButtons, pushNav param in selectSession; HTML buttons in Index.cshtml.
Filter-to-Issues: filterIssuesByIds(), .aim-filter-to-issues button in all
Issues created headers (session + step level).
IssueSelected checkbox: .aim-issue-select under type icon in buildIssueListItem,
S.issueSelectedDirty Set, saveIssueSelectedChanges() on tab leave.
POST /api/issues/bulk-selected endpoint + BulkSelectedDto, IssueSelected on Issue model,
007_IssueSelected.sql migration.
Workflow step 1: renderWfIssues filters to issueSelected=true by default;
#wfShowAll checkbox shows all unresolved; S.wfShowAll state; .aim-wf-show-all SCSS.
dashboard.scss: aim-detail-tab-pane-title/content, aim-list-item-icon-col,
aim-issue-select, aim-btn-icon, aim-filter-to-issues, aim-created-list-header,
aim-wf-show-all.