Commits
Marek Vsechovsky committed f9b3847455f
Direct session 42, Step 1: Unified dashboard init, settings fix, redirect, workflow session display and issue filter
- Create DashboardController with GET /api/dashboard/init returning settings, lookups, org info and members in one call; replace 5+ separate startup API calls in dashboard.js IIFE
- Fix S.org.current.users references → S.org.selected.users (property never existed)
- Fix SettingsController GetAll and GetGroupsWithSettings: null-coalesce UserSettingValue ?? s.SettingValue so per-user settings fall back to Setting default
- Create Pages/Home/Index.cshtml.cs: redirect to Dashboard only on direct external navigation (Referer absent or from different host); in-app Home navigation is not redirected
- Add #wfSessionBar div and .aim-wf-session-bar SCSS; add updateWfSessionBar() to dashboard.js showing session name or '(No existing session. A new one will be created.)'
- Rewrite loadWfIssues(): existing session → GET /api/workflow/unfinished/{id}?sessionId=; new session → client-side filter of issueSelected issues
- Update WorkflowController.GetUnfinishedIssues: filter by SessionIssue table when sessionId query param provided
- Fix loadWfInstructions to use S.settings.all instead of making a server call on every step 2 entry