Skip to content

feat(GAT-9202): Typesense search and superadmin panel - #1575

Merged
philreekshdr merged 8 commits into
devfrom
feat/GAT-9202
Jul 24, 2026
Merged

feat(GAT-9202): Typesense search and superadmin panel#1575
philreekshdr merged 8 commits into
devfrom
feat/GAT-9202

Conversation

@philreekshdr

@philreekshdr philreekshdr commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

AI disclaimer - CLAUDE was used for this. The main plan and scaffolding (the feature-flag search-routing strategy and the admin panel structure) were done manually; the bulk of the component implementation — forms, dialogs, the entities monitor and the unit tests — was implemented by CLAUDE.

Screenshots / videos (if relevant)

Screen.Recording.2026-07-20.at.17.11.19.mov

Describe your changes

Introduces a TypesenseSearch feature flag that routes non-dataset search through the v2 aggregation endpoint (Typesense-backed) — publications on the Gateway source, data custodians, and the related data custodian network widget — while leaving datasets and external sources on their existing paths. Replaces the bare Feature Flags page with a proper superadmin Admin Panel with three tabs: feature flags (now behind an explicit "enable editing" guard to stop accidental toggles), a search-entities monitor showing indexed-vs-eligible-vs-DB counts with a per-collection reindex action, and full CRUD management for data custodian networks. The old /account/profile/features route moves to /account/profile/search-admin, and everything remains gated to HDR UK superadmins.

Issue ticket link

https://hdruk.atlassian.net/browse/GAT-9202

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have added appropriate unit tests / e2e tests (where relevant)
  • I have created mocks for api endpoints (where appropriate)
  • The interface is responsive (where ticket is relevant)
  • The interface is at least AA (where ticket is relevant)
  • Commits are described as "(chore|fix|feature|test|maintenance): description"

@gh-actions-pipelines-app

Copy link
Copy Markdown

🎉 Great job! Your PR title follows the correct format. 🚀

…sense monitoring page and adds data custodian network management
@philreekshdr philreekshdr changed the title feat(GAT-9202): WIP Use typesense on data custodian networks feat(GAT-9202): Use typesense on all search entites Jul 23, 2026
@philreekshdr philreekshdr changed the title feat(GAT-9202): Use typesense on all search entites feat(GAT-9202): Typesense search and superadmin panel Jul 23, 2026
Comment thread src/app/[locale]/account/profile/search-admin/DataCustodianNetworksTab.tsx Outdated
Comment thread src/app/[locale]/account/profile/search-admin/DataCustodianNetworksTab.tsx Outdated
Comment thread src/app/[locale]/account/profile/search-admin/SearchEntitiesTab.tsx
Comment thread src/app/[locale]/account/profile/search-admin/FeatureFlagsTable.tsx
@philreekshdr
philreekshdr merged commit 19b201e into dev Jul 24, 2026
4 checks passed
@philreekshdr
philreekshdr deleted the feat/GAT-9202 branch July 24, 2026 15:02
gh-actions-pipelines-app Bot pushed a commit that referenced this pull request Jul 28, 2026
## [2.41.0](v2.40.0...v2.41.0) (2026-07-28)

### ✨ Features

* **GAT-9190:** add History tab to integration detail page ([e4e964f](e4e964f)), closes [GAT-9190](undefinedGAT-9190)
* **GAT-9202:** Typesense search and superadmin panel (#1575) ([19b201e](19b201e)), closes [GAT-9202](undefinedGAT-9202)
* **GAT-9287:** copy update (#1586) ([d630ba0](d630ba0)), closes [GAT-9287](undefinedGAT-9287)
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.

4 participants