Skip to content

fix: changes made for outbound worklist navigation issue#76

Open
RoshiniND wants to merge 1 commit intorelease-3.7.0from
nd/roshini/videocallnavigation
Open

fix: changes made for outbound worklist navigation issue#76
RoshiniND wants to merge 1 commit intorelease-3.7.0from
nd/roshini/videocallnavigation

Conversation

@RoshiniND
Copy link
Copy Markdown

📋 Description

JIRA ID:

After clicking the call icon in the Outbound Worklist, the app was not navigating to the Beneficiary Registration screen consistently. The navigation depended on the Czentrix CTI system sending an "Accept" event, which only fires after the Czentrix SDK fully loads. On slow networks, this took 30+ seconds or never happened at all, causing the page to stay on the Outbound Worklist.

Fix: Instead of waiting for the Czentrix Accept event, we now poll our own getAgentState API every 15 seconds. When the agent status transitions to INCALL after a call is initiated, navigation to Beneficiary Registration is triggered immediately without depending on Czentrix SDK timing.

✅ Type of Change

  • 🐞 Bug fix (non-breaking change which resolves an issue)
  • New feature (non-breaking change which adds functionality)
  • 🔥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🛠 Refactor (change that is neither a fix nor a new feature)
  • ⚙️ Config change (configuration file or build script updates)
  • 📚 Documentation (updates to docs or readme)
  • 🧪 Tests (adding new or updating existing tests)
  • 🎨 UI/UX (changes that affect the user interface)
  • 🚀 Performance (improves performance)
  • 🧹 Chore (miscellaneous changes that don't modify src or test files)

ℹ️ Additional Information

Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.

@RoshiniND RoshiniND requested a review from snehar-nd April 29, 2026 05:56
@RoshiniND RoshiniND self-assigned this Apr 29, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 29, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0194be4c-b9de-4386-8740-9e3050ff4246

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch nd/roshini/videocallnavigation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud
Copy link
Copy Markdown

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