Skip to content

fix: auto-refresh AI Summary and Gap Analysis when document processing com…#523

Draft
Shreyas-Microsoft wants to merge 1 commit intodevfrom
psl-fix-status-bug
Draft

fix: auto-refresh AI Summary and Gap Analysis when document processing com…#523
Shreyas-Microsoft wants to merge 1 commit intodevfrom
psl-fix-status-bug

Conversation

@Shreyas-Microsoft
Copy link
Copy Markdown
Collaborator

Purpose

This pull request improves the claim selection and data refresh logic in the content processor UI, ensuring better synchronization between the grid and detail panels, and introducing auto-refresh behavior for claims that are still processing.

Claim selection and synchronization:

  • The claim selection logic in ProcessQueueGrid.tsx now preserves the user's current selection on refresh and updates the selected claim with fresh data if available. If the selected claim is no longer present, it auto-selects the first available claim instead.
  • In PanelCenter.tsx, claim details are now re-fetched not only when a new claim is selected but also when the selected claim's status changes (e.g., from "Processing" to "Completed"), ensuring the details panel always shows the latest information.

Grid data polling and refresh:

  • PanelLeft.tsx now polls (auto-refreshes) the grid data every 10 seconds while any claim is still in a processing state, and stops polling when all claims are completed or errored. This ensures the UI stays up-to-date with claim statuses without requiring manual refreshes.
  • The grid items are now included in the Redux selector for PanelLeft, enabling the polling logic to react to changes in the grid data.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

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