• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

medplum / medplum / 21969915900
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: asynchronous-encounters-doc-updates
DEFAULT BRANCH: main
Ran 13 Feb 2026 12:42AM UTC
Jobs 1
Files 730
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Feb 2026 12:35AM UTC coverage: 92.303%. Remained the same
21969915900

push

github

web-flow
docs: Add lifecycle hooks documentation to useSubscription (#8422)

* Add lifecycle hooks documentation to useSubscription

Document the four lifecycle hooks (onWebSocketOpen, onWebSocketClose,
onSubscriptionConnect, onSubscriptionDisconnect) available in the
useSubscription hook. Includes explanation of when to use them for
handling reconnection scenarios and catching up on missed events,
particularly useful for mobile applications.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Rahul Agarwal <rahul@medplum.com>

* docs: Simplify lifecycle hooks example and add WebSocket clarification

- Simplified code example to focus on core use cases (connection indicator + search refresh)
- Added clarification about two separate concepts: WebSocket connection (one per client) vs Subscriptions (multiple per connection)
- Converted to .mdx and switched to MedplumCodeBlock component
- Updated wording to be more concise

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Signed-off-by: Rahul Agarwal <rahul@medplum.com>

* docs: Use compilable example code for useSubscription lifecycle hooks

Move the lifecycle hooks example to packages/examples/src/react/use-subscription.tsx
so the code is compiled and validated during build. This ensures the example
stays in sync with the actual API.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Rahul Agarwal <rahul@medplum.com>

* fix: Remove JSX.Element type annotation to fix build

The JSX namespace is not available without importing React in the new
JSX transform. Removing the return type annotation allows TypeScript
to infer the correct type.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Rahul Agarwal <rahul@medplum.com>

* fix: Add return type to LiveChatComponent and fix broken doc link

- Add ReactNode return type to LiveChatComponent to satisfy linting rules
- Fix broken markdown link from .md to .mdx extension
- Ensures CI linting and... (continued)

17140 of 19435 branches covered (88.19%)

Branch coverage included in aggregate %.

31272 of 33014 relevant lines covered (94.72%)

13742.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21969915900.1 13 Feb 2026 12:42AM UTC 730
92.3
GitHub Action Run
Source Files on build 21969915900
  • Tree
  • List 730
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 519efaa9 on github
  • Prev Build on gh-readonly-queue/main/pr-8205-134f36814795ded36be42d64aec7b3eb900c552e (#21953225879)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc