Skip to content

Track and highlight similar queries, match DDT semantics, and more#26

Merged
amureki merged 5 commits intomainfrom
similar-queries
Jan 13, 2026
Merged

Track and highlight similar queries, match DDT semantics, and more#26
amureki merged 5 commits intomainfrom
similar-queries

Conversation

@amureki
Copy link
Copy Markdown
Owner

@amureki amureki commented Jan 12, 2026

  • Track and highlight similar queries
  • Deduplicate displayed queries, unify colors
  • Refactor query list styles and add similar queries tests
  • Fix duplicate flag to be per-query, not per-SQL
  • Match DDT semantics for similar/duplicate query counting
  • Bidirectionally backwards compatible with both old Python package and Chrome extension
CleanShot 2026-01-13 at 09 29 38@2x

- Similar: count all queries where SQL template appears 2+ times
- Duplicate: count all occurrences, not just extras after first
- Simplify tracker by computing stats in single pass
@amureki amureki self-assigned this Jan 12, 2026
@amureki amureki marked this pull request as ready for review January 13, 2026 08:25
@amureki amureki merged commit 9da89cc into main Jan 13, 2026
19 checks passed
@amureki amureki deleted the similar-queries branch January 13, 2026 08: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