Commits
Marek Vsechovsky committed f1444419a17
Direct session 18, Step 2: Architecture improvements: incremental cache updates, controller simplification, render refactoring:
- Architecture improvements: incremental cache updates, controller simplification, render refactoring
- Strengthen step.inputText FULL rule in instructions template with explicit anti-truncation warning
- updateTrianglePointer: replace setTimeout with scroll event listener
- Cache project data in AimCache; resolve parent project acronym from client cache
- IssuesController GET/{id}: return only counts for Notes, LinksFrom, LinksTo in tabBadgeInfo
- Create _status_and_enums.js: load all enum/lookup data at startup; add to dashboard bundle
- Simplify all controllers: remove joins on lookup tables and Project table
- New GET /api/issues/{id}/tab-data endpoint accepting ?tabs= list
- Refactor renderIssueDetail: decompose commented sections into named sub-functions
- processOutputFiles: incremental cache upsert — add new records instead of clearing
- addNoteUI: incremental note add to cache + UI via renderNote helper
- openChildIssueModal: incremental child add to cached list + UI; no parent invalidation
- wfProcessOutput: mark affected lists dirty incrementally; no full clearAll
- Create atomic render helpers: renderNote, renderIssueListItem, renderSessionListItem