Skip to content

Fix legacy stack saved view comparison#2402

Merged
ejsmith merged 2 commits into
mainfrom
issue/fix-stack-saved-view-defaults
Jul 25, 2026
Merged

Fix legacy stack saved view comparison#2402
ejsmith merged 2 commits into
mainfrom
issue/fix-stack-saved-view-defaults

Conversation

@ejsmith

@ejsmith ejsmith commented Jul 25, 2026

Copy link
Copy Markdown
Member

Summary

  • pass stack column visibility defaults into saved-view comparison
  • normalize legacy saved column settings against the current default-hidden Project and Tags columns
  • add regression coverage for unchanged legacy records and real column customizations

Why

Follow-up to the post-merge review feedback on #2396: stack saved views created before Project and Tags columns existed omit those keys. The table hydrates both defaults as false, but the saved-view comparison previously did not receive the same defaults, so legacy views appeared modified immediately and Reset to Saved could not clear that state.

Review thread: #2396 (comment)

Verification

  • npx vitest run src/lib/features/saved-views/use-saved-views.test.ts (39 passed)
  • npm run validate

Breaking changes

None.

@ejsmith
ejsmith marked this pull request as ready for review July 25, 2026 21:56
@ejsmith
ejsmith merged commit 3835115 into main Jul 25, 2026
8 checks passed
@ejsmith
ejsmith deleted the issue/fix-stack-saved-view-defaults branch July 25, 2026 22:06
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.Core 73% 65% 9499
Exceptionless.AppHost 38% 40% 139
Exceptionless.Insulation 23% 23% 205
Exceptionless.Web 84% 67% 6933
Summary 76% (22521 / 29459) 65% (10356 / 15858) 16776

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant