fix(central-ui): FlowStepDetail keeps a still-valid tab across steps; refresh-persistence tests (Task 12 review)
This commit is contained in:
@@ -122,7 +122,7 @@
|
||||
{
|
||||
<tr data-level="@line.Level">
|
||||
<td class="font-monospace text-nowrap">@line.OccurredAtUtc.ToUniversalTime().ToString("HH:mm:ss.fff", CultureInfo.InvariantCulture)</td>
|
||||
<td><span class="fsd-lvl fsd-lvl-@line.Level">@line.Level</span></td>
|
||||
<td><span class="fsd-lvl fsd-lvl-@line.Level.ToLowerInvariant()">@line.Level</span></td>
|
||||
<td class="text-muted text-nowrap">@line.Source</td>
|
||||
<td class="text-break">
|
||||
@line.Message
|
||||
@@ -449,9 +449,10 @@
|
||||
{
|
||||
if (Step?.EventId != _tabStepId)
|
||||
{
|
||||
// A different step: open on Log when it threw (D8), and start over on All.
|
||||
// A different step: open on Log when it threw (D8), otherwise keep the operator's current
|
||||
// tab when the new step still has it, and start the level filter over on All.
|
||||
_tabStepId = Step?.EventId;
|
||||
_tab = HasException ? "Log" : "Input";
|
||||
_tab = HasException ? "Log" : (VisibleTabs.Contains(_tab) ? _tab : "Input");
|
||||
_warnOnly = false;
|
||||
}
|
||||
else if (!VisibleTabs.Contains(_tab))
|
||||
|
||||
Reference in New Issue
Block a user