Skip to content

fix(frontend): reset match selection when source changes in Explorer#63

Merged
erincon01 merged 2 commits into
developfrom
fix/060-explorer-source-switch
Apr 21, 2026
Merged

fix(frontend): reset match selection when source changes in Explorer#63
erincon01 merged 2 commits into
developfrom
fix/060-explorer-source-switch

Conversation

@erincon01

Copy link
Copy Markdown
Owner

Summary

Explorer page kept stale data when switching source (PostgreSQL ↔ SQL Server). The match selector and tab data didn't refresh because selectedMatchId wasn't reset on source change.

Fix: add useEffect that resets selectedMatchId to null when source changes, forcing all dependent queries to refetch.

Test plan

  • E2E: explorer + cross-cutting — 7/7 passed
  • Visual: switch source dropdown on /explorer, verify Tables tab updates

Explorer page kept stale match selection and cached tab data when
switching between PostgreSQL and SQL Server. Add useEffect to reset
selectedMatchId on source change so all tabs refetch correctly.
@erincon01 erincon01 force-pushed the fix/060-explorer-source-switch branch from ba68c27 to c42d7c3 Compare April 21, 2026 20:38
…code and tests

Complete the column cleanup started in PR #62:
- Remove ada-002 and t3-large from SQL INSERT statements, column mappings,
  embeddings status queries, repository search maps, API model validators
- Remove deprecated entity fields from domain EventDetail
- Update 7 test files to use only t3-small
- Add source-switch E2E test for Tables Info tab
- 530 backend tests + 26 E2E tests passing
@erincon01 erincon01 merged commit 3466c57 into develop Apr 21, 2026
5 checks passed
@erincon01 erincon01 deleted the fix/060-explorer-source-switch branch April 21, 2026 20:53
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