feat: Recon Engine Self-Serve Setup UI#4588
Closed
hs-control-center-bot wants to merge 3 commits intomainfrom
Closed
feat: Recon Engine Self-Serve Setup UI#4588hs-control-center-bot wants to merge 3 commits intomainfrom
hs-control-center-bot wants to merge 3 commits intomainfrom
Conversation
Adds a complete self-serve onboarding flow for the Recon Engine that allows users to set up reconciliation without dev/support help. The UI guides users through creating accounts, configuring ingestion sources, defining transformation schemas (CSV column mapping), and building recon rules. Key components: - Dual-path entry: "Guide me through setup" (wizard) and "I know what I'm doing" (tabbed expert mode) - ReScript types mirroring all backend API request structs with exact serde tag/flatten/rename handling - JSON encoders producing payloads verified against api-sheet.yaml - API hooks for 4 create operations (accounts, ingestion config, transformation config v2, recon rules v2) - Step-by-step wizard with progress indicator and validation - Strategy builder supporting all OneToOne variants (SingleSingle, SingleMany, ManySingle, ManyMany) and OneToMany - Transformation schema builder with required field mapping, metadata fields, unique constraints, and processing mode - Route at /v1/recon-engine/setup with sidebar entry Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…disclosure Landing page: - Pipeline visualization with numbered steps, connecting gradient line, and per-step descriptions - "RECOMMENDED" badge on guided setup card - Feature checklists on both mode cards Step indicator: - Connecting lines between steps with color progression - Ring highlight on active step - Live summary panel at bottom showing created entity counts Account step: - Info box explaining credit vs debit with visual examples - Arrow icons on account type buttons - Helper text under each input Rule step (major overhaul): - Visual strategy diagrams showing source/target with arrows for each matching pattern (1:1, 1:N, N:1, N:N) - "How recon rules work" explainer box - HelpTooltip component for inline contextual help on every concept (trigger, search identifier, match rules, priority, aging) - Numbered sections (1-5) with clear visual hierarchy - SRC/TGT labels on field selectors - Collapsible "Advanced Settings" section for aging config - Color-coded source (blue) and target (green) account selectors Transformation step: - Info box explaining what transformations are - Numbered sections (1-4) with consistent visual hierarchy - Indented content under section headers - Section for unique constraint with inline help text Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix unmatched </div> in TransformationStep caused by restructuring sections into numbered blocks while leaving a stale closing tag - Remove unused `open ReconEngineSelfServeUtils` in IngestionStep - Wrap submit button in proper div with padding Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
hs-control-center-bot
pushed a commit
that referenced
this pull request
Mar 28, 2026
Incorporates the better visual design from the previous PR attempt: - Add StrategyDiagram component showing Source→Target visual boxes - Replace dropdown with clickable cards for One-to-One vs One-to-Many - Add 1:1, 1:N, N:1, N:N pattern badge grid for matching selection - Unify all sections into one bordered container with dividers - Remove static strategy explainer grid (replaced by dynamic diagram) - One-to-Many card shows "Coming soon" (not yet implemented) Preserves all existing functionality: validation, isGuidedMode, swap button, metadata field options, auto-scroll, aging config.
hs-control-center-bot
pushed a commit
that referenced
this pull request
Mar 28, 2026
Merges the better visual design from the previous PR: - Numbered pipeline steps (1-4) with connecting gradient line and descriptions - RECOMMENDED badge on guided card - Bullet-list features instead of pipe-separated - "Start guided setup →" / "Open configuration →" CTAs at bottom of cards - Better descriptions and copy - Uses nd_gray tokens and Icon component (not emojis)
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
/v1/recon-engine/setupWhat's included
Types & Encoders (
ReconEngineSelfServeTypes.res,ReconEngineSelfServeUtils.res)#[serde(tag = "...")]internally tagged enums (strategy types flatten tags to same level)#[serde(flatten)]onAmountSchemaConfig.unit_configandMetadataFieldSchemaConfig.field_config#[serde(rename_all = "snake_case")]/#[serde(rename_all = "lowercase")]IngestionConfigData({"manual": null},{"adyen": {...}})EntryFieldserialization ("metadata.xxx"strings)api-sheet.yamlexamplesAPI Layer (
ReconEngineSelfServeHooks.res,APIUtils.res,APIUtilsTypes.res)useCreateAccount,useCreateIngestionConfig,useCreateTransformationConfig,useCreateReconRulehyperswitchReconTypevariants with URL mappingscreate_ingestion_configcurrently requiresAdminApiAuthon backend - pending backend change to accept JWTUI Components (11 files)
Routing & Navigation
/v1/recon-engine/setupDesign decisions
Test plan
🤖 Generated with Claude Code