Skip to content

feat(stoptb): Nikshay sync screens and results CSV upload - #460

Merged
vishwab1 merged 3 commits into
release-3.6.3from
sn/stoptb
Aug 26, 2026
Merged

feat(stoptb): Nikshay sync screens and results CSV upload#460
vishwab1 merged 3 commits into
release-3.6.3from
sn/stoptb

Conversation

@snehar-nd

Copy link
Copy Markdown
Contributor

Summary

Front end for the Nikshay ID Generator CSV round trip, in two halves:

  • Nikshay sync screens — new lazy-loaded nikshay-sync module (component, routing, styles) reachable from the app header, for exporting pending Stop TB camp beneficiaries as a CSV for the Nikshay ID Generator desktop app.
  • Results upload tab — a new tab in the Camp Hub dialog where camp staff pick the visit date and the app's results CSV, post it to MMU-API's importResultsCsv, and see how many Nikshay IDs were written back versus how many rows need manual review or failed — with beneficiary names, so staff know exactly who to check.

Changes

File
nikshay-sync/ (5 files) new module: component, routing, module, styles
camp-hub-qr-code.component.html / .css results CSV upload tab
app-header.component.html entry point to Nikshay sync
app-routing.module.ts route registration
environment.*.ts (5 files) nikshayBeneficiaryCsvUrl, nikshayImportResultsCsvUrl

2 commits, 14 files, +699 / −60.

Notes

Testing

Not yet exercised end-to-end against the Nikshay ID Generator app — please confirm the CSV column contract lines up on that side before merge.

🤖 Generated with Claude Code

Sneha and others added 2 commits August 14, 2026 14:18
Adds the upload half of the Nikshay ID Generator round trip: a new
tab lets camp staff pick the visit date and the app's results CSV,
posts it to MMU-API's importResultsCsv endpoint, and shows how many
Nikshay IDs were written back versus how many rows need manual
review or failed, with beneficiary names so staff know who to check.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

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: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3cc0377b-4c01-48f0-b6a4-69099b663485

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

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.

Hides the Nikshay Sync header tab outside Stop TB deployments by
reusing environment.isMMUOfflineQRCode, the same flag that gates the
Camp Hub QR code button on the login page. The Camp Hub results
upload tab needed no change: that dialog is only reachable through
openQrDialog(), already behind the same flag.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@snehar-nd
snehar-nd changed the base branch from release-3.6.3 to release-3.6.2 August 26, 2026 06:40
@snehar-nd
snehar-nd changed the base branch from release-3.6.2 to release-3.6.3 August 26, 2026 06:43
@vishwab1
vishwab1 merged commit 2310ccb into release-3.6.3 Aug 26, 2026
2 of 3 checks passed
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.

2 participants