Skip to content

Add resizable saved-view columns - #2421

Open
ejsmith wants to merge 5 commits into
mainfrom
issue/saved-view-column-settings
Open

Add resizable saved-view columns#2421
ejsmith wants to merge 5 commits into
mainfrom
issue/saved-view-column-settings

Conversation

@ejsmith

@ejsmith ejsmith commented Jul 29, 2026

Copy link
Copy Markdown
Member

Summary

  • Add mouse, touch, and keyboard column resizing to the Events, Stacks, and Stream tables, with a wider 240px default for Project.
  • Store all per-column state under the existing columns property, keyed by column ID with { visible, position, width } settings.
  • Remove column_order and avoid introducing a parallel column_settings property.
  • Add versioned, resumable migration 4 to convert boolean columns values, fold in column_order, and remove the legacy field.
  • Preserve predefined-view update behavior: pristine hashes move to the migrated baseline while customized views remain protected.
  • Update OpenAPI, generated TypeScript contracts, validation, and saved-view/predefined-view coverage.

Why

Project names are commonly truncated, and column width customizations should follow the saved view. Keeping one extensible columns map also gives future column settings a stable place without adding more top-level fields.

Migration and rollout

This intentionally changes the persisted and API shape of columns from boolean values to settings objects and removes column_order. There are no older clients to support, but existing saved-view documents must be migrated.

The Migration job runs version 4 before predefined saved views are seeded. The migration is resumable, uses optimistic concurrency to protect edits made while it runs, and can be retried safely after a conflict. The updated web application may return brief saved-view errors until the migration completes.

Validation

  • dotnet build tests/Exceptionless.Tests/Exceptionless.Tests.csproj --no-restore -m:1 — 0 warnings, 0 errors
  • affected saved-view API, OpenAPI, mapping, serialization, predefined-hash, migration, and job-option suites against Elasticsearch 8.19.15 — 136 passed
  • focused frontend column/saved-view/table tests — 50 passed
  • npm run validate — formatting, Svelte diagnostics, and lint passed
  • git diff --check — clean

@ejsmith
ejsmith marked this pull request as ready for review July 29, 2026 04:13
@ejsmith
ejsmith force-pushed the issue/saved-view-column-settings branch from 9d9adb1 to 9eb09f6 Compare July 29, 2026 04:59
@ejsmith ejsmith changed the title Add saved view column sizing Add resizable saved-view columns Jul 29, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9eb09f6ab6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Core/Models/SavedView.cs
Comment thread src/Exceptionless.Web/Models/SavedView/NewSavedView.cs
Comment thread src/Exceptionless.Core/Migrations/003_MigrateSavedViewColumns.cs Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 16bbb8a14a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 028da3feea

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Core/Migrations/003_MigrateSavedViewColumns.cs Outdated
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.Core 74% 66% 9741
Exceptionless.AppHost 38% 40% 139
Exceptionless.Insulation 37% 35% 286
Exceptionless.Web 85% 68% 6921
Summary 77% (23051 / 29853) 66% (10704 / 16172) 17087

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