Skip to content

feat: add cursor pagination in recon engine transformed entries#5155

Open
susrithasabbini wants to merge 3 commits into
mainfrom
feat/recon-transformed-entries-cursor-pagination
Open

feat: add cursor pagination in recon engine transformed entries#5155
susrithasabbini wants to merge 3 commits into
mainfrom
feat/recon-transformed-entries-cursor-pagination

Conversation

@susrithasabbini

@susrithasabbini susrithasabbini commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Reworks the Recon Engine → Transformed Entries screen to use the cursor-paginated V2 API and adds field-specific search, rule tabs, and server-side date sorting.

Motivation and Context

How did you test it?

Locally

Where to test it?

  • INTEG
  • SANDBOX
  • PROD

Backend Dependency

  • Yes
  • No

Depends on the recon-engine POST /staging_entries/v2/list cursor endpoint (juspay/hyperswitch-recon), including the microsecond-precision cursor fix described above.

Backend PR URL:

Feature Flag

  • New feature flag added
  • Existing feature flag updated
  • No feature flag changes

Feature flag name(s):

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

🤖 Generated with Claude Code

@susrithasabbini susrithasabbini requested review from a team as code owners July 10, 2026 12:33
@semanticdiff-com

Copy link
Copy Markdown

Review changes with  SemanticDiff

@XyneSpaces

Copy link
Copy Markdown
Collaborator

[should-fix] fetchAccounts in src/ReconEngine/ReconEngineScreens/ReconEngineData/ReconEngineDataTransformedEntries/ReconEngineDataTransformedEntries.res silently swallows account-fetch failures (catch { | _ => () }). If the accounts list call fails, the filter dropdown stays empty and the user gets no error indication.

Surface the failure through screenState or at least log it, instead of discarding the exception.

let fetchAccounts = async () => {
  try {
    let accounts = await getAccounts()
    setAccountData(_ => accounts)
  } catch {
  | err =>
    Console.error2("Failed to fetch accounts: ", err)
    setScreenState(_ => PageLoaderWrapper.Error("Failed to fetch accounts"))
  }
}

@susrithasabbini susrithasabbini changed the title feat: cursor-paginated transformed entries with server-side search and sort feat: add cursor pagination in recon engine transformed entries Jul 10, 2026
@susrithasabbini susrithasabbini self-assigned this Jul 10, 2026
@susrithasabbini susrithasabbini linked an issue Jul 10, 2026 that may be closed by this pull request
@susrithasabbini susrithasabbini added S-waiting-on-review Status: This PR has been implemented and needs to be reviewed S-Recon Status: Issue Related to Recon C-enhancement Category: Improvement or upgrade to an existing feature labels Jul 10, 2026
@github-actions github-actions Bot added the R-ready-for-review PR is ready for reviewing label Jul 10, 2026
@github-actions github-actions Bot added R-ready-for-review PR is ready for reviewing and removed R-ready-for-review PR is ready for reviewing labels Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement Category: Improvement or upgrade to an existing feature R-ready-for-review PR is ready for reviewing S-Recon Status: Issue Related to Recon S-waiting-on-review Status: This PR has been implemented and needs to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cursor Pagination in Recon Data Transformed Entries

2 participants