Add Ingestion Management under Operation section#1
Merged
bahattincinic merged 2 commits intomainfrom Mar 3, 2026
Merged
Conversation
Introduces a new Operation > Ingestion page for managing ingestion
settings across clients, brands, channels, and manual workflow triggers.
- Sidebar: new "Operation" nav group with Ingestion item
- Ingestion page with 4 tabs:
- Client Ingestion: searchable client dropdown, current status from DB,
toggle enabled/disabled + priority (proxies to Genesis PATCH)
- Brand Ingestion: searchable brand dropdown, toggle enabled/disabled
(proxies to Genesis PUT)
- Channel Schedule: current schedules table from DB, update start time
per channel (proxies to Hodor PATCH)
- Trigger Workflow: multi-select channels/entities/clients, branch IDs,
delay, with confirmation dialog (proxies to Hodor POST)
- API proxy routes for Genesis (auth-aware) and Hodor (internal)
- Dedicated /api/ingestion/status endpoint using raw SQL to read
ingestion columns managed by external services (not in Prisma schema)
- Reusable SearchableSelect component for typeahead dropdowns
- Client detail page shows read-only ingestion status badge
Env vars: GENESIS_API_URL, HODOR_API_URL
Co-authored-by: Cursor <cursoragent@cursor.com>
bahattincinic
approved these changes
Feb 26, 2026
burak-akk
approved these changes
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ingestions_enabled,ingestion_priority,ingestion_start_time). These columns exist in the DB but are not in the Prisma schema since they're managed by Genesis/Hodor.SearchableSelectcomponent replaces raw ID inputs with typeahead name-based dropdowns for better usability.client-form.tsx) now shows an Ingestion Status badge.New files
src/lib/external-apis.tssrc/components/searchable-select.tsxsrc/app/dashboard/ingestion/page.tsxsrc/app/api/ingestion/status/route.tssrc/app/api/ingestion/clients/[id]/route.tssrc/app/api/ingestion/brands/[id]/route.tssrc/app/api/ingestion/channel-schedules/route.tssrc/app/api/ingestion/trigger/route.tsEnv vars required
GENESIS_API_URL(defaults tohttps://genesis.growdash.xyz)HODOR_API_URL(defaults tohttps://hodor.growdash.xyz)Test plan
Made with Cursor