Skip to content

Add CollectionTime and NtUserName to trace pattern drill-down (#663)#664

Merged
erikdarlingdata merged 1 commit into
devfrom
feature/663-trace-pattern-audit
Mar 20, 2026
Merged

Add CollectionTime and NtUserName to trace pattern drill-down (#663)#664
erikdarlingdata merged 1 commit into
devfrom
feature/663-trace-pattern-audit

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

  • CollectionTime column added to the trace pattern history DataGrid — was fetched from SQL but never displayed
  • NtUserName (nt_user_name) added to the SQL query, model, and DataGrid for the drill-down window
  • Date columns reordered to the front: End Time → Collection Time → Start Time
  • NT User placed after Login for logical grouping
  • Main patterns grid intentionally unchanged — nt_user_name excluded there to avoid breaking GROUP BY aggregation

Closes #663

Test plan

  • Open Dashboard, navigate to Query Trace Patterns tab
  • Double-click a pattern to open the drill-down history window
  • Verify Collection Time, Start Time, and NT User columns are visible
  • Verify date columns appear at the front of the grid
  • Verify column filters work on new columns
  • Verify chart and summary stats still function correctly

🤖 Generated with Claude Code

Audit of Query Trace Patterns tab found CollectionTime was fetched but
not displayed, and nt_user_name was not exposed at all in the drill-down
history window.

Changes:
- Add CollectionTime column to TracePatternHistoryWindow DataGrid
- Add NtUserName (nt_user_name) to SQL query, model, and DataGrid
- Reorder date columns to front: End Time, Collection Time, Start Time
- NT User column placed after Login for logical grouping

Main patterns grid unchanged — nt_user_name excluded there to avoid
breaking the GROUP BY aggregation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 0d162d1 into dev Mar 20, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/663-trace-pattern-audit branch March 20, 2026 23:26
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