fix: add missing </div> closing sec-cfg card — root cause of blank Analysis tab

The Alert Settings card (sec-cfg) was missing its outer closing </div>.
This caused the browser to nest view-analysis INSIDE view-dashboard.
When showView() set view-dashboard to display:none, view-analysis was
hidden too — making display:block on view-analysis itself useless since
a parent with display:none overrides all children.

Also retains the force-expand and loading-state improvements from prior
commits, and the diagnostic banner (to be removed once confirmed working).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Manohar 2026-06-24 10:43:07 +05:30
parent 1b5e6d6868
commit 0e335f9654

View file

@ -301,6 +301,7 @@
</div> </div>
</div> </div>
</div> </div>
</div><!-- end sec-cfg -->
</div><!-- end view-dashboard --> </div><!-- end view-dashboard -->
<div data-view="analysis" id="view-analysis" style="display:none"> <div data-view="analysis" id="view-analysis" style="display:none">
<div id="a-dbg" style="display:none;background:var(--coral);color:#fff;padding:10px 16px;border-radius:12px;margin-bottom:12px;font-size:.78rem;font-family:'Geist Mono',monospace"></div> <div id="a-dbg" style="display:none;background:var(--coral);color:#fff;padding:10px 16px;border-radius:12px;margin-bottom:12px;font-size:.78rem;font-family:'Geist Mono',monospace"></div>