Skip to content

PAY-364 Add coverages screen for TS example app#107

Open
AnmolGodiyal10 wants to merge 3 commits into
mainfrom
PAY-364
Open

PAY-364 Add coverages screen for TS example app#107
AnmolGodiyal10 wants to merge 3 commits into
mainfrom
PAY-364

Conversation

@AnmolGodiyal10

@AnmolGodiyal10 AnmolGodiyal10 commented Nov 4, 2025

Copy link
Copy Markdown

Copilot AI review requested due to automatic review settings November 4, 2025 08:12
@AnmolGodiyal10
AnmolGodiyal10 requested review from a team as code owners November 4, 2025 08:12
@AnmolGodiyal10 AnmolGodiyal10 added javascript Pull requests that update javascript code Minor Increment the Minor version labels Nov 4, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Coverage support to the application, enabling users to view their insurance coverage information in both table and JSON formats. It updates the SDK dependency to include the new Coverage endpoints and follows the established pattern for health data components.

  • Added Coverage slice, reducer, page component, and column definitions
  • Integrated Coverage into the router and health reducer
  • Updated SDK dependency to version with Coverage support

Reviewed Changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
bwell-typescript-react/src/store/healthData/coveragesSlice.ts New Redux slice for fetching coverage data using SDK's financial.getCoverages endpoint
bwell-typescript-react/src/store/healthData/healthReducer.ts Registered coverages reducer in the combined health reducer
bwell-typescript-react/src/pages/Coverages.tsx New page component to display coverage data with table/JSON toggle
bwell-typescript-react/src/column-defs.ts Added COVERAGE_COLUMNS definitions and reformatted existing code with consistent styling
bwell-typescript-react/src/Router.tsx Added /coverages route
bwell-typescript-react/package.json Updated SDK version to 2.0.0-beta-rc.1762237318
bwell-typescript-react/package-lock.json Updated lockfile with new SDK version
.gitignore Added .npmrc to ignored files
Files not reviewed (1)
  • bwell-typescript-react/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread bwell-typescript-react/package.json Outdated
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@icanbwell/bwell-sdk-ts": "^2.0.0-beta-rc.1762170538",
"@icanbwell/bwell-sdk-ts": "2.0.0-beta-rc.1762237318",

Copilot AI Nov 4, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SDK version should use a caret (^) prefix for consistent dependency management, matching the pattern used by other dependencies in the file. This was removed from the original version ^2.0.0-beta-rc.1762170538. Change to ^2.0.0-beta-rc.1762237318 to allow compatible minor/patch updates.

Suggested change
"@icanbwell/bwell-sdk-ts": "2.0.0-beta-rc.1762237318",
"@icanbwell/bwell-sdk-ts": "^2.0.0-beta-rc.1762237318",

Copilot uses AI. Check for mistakes.
@AnmolGodiyal10 AnmolGodiyal10 self-assigned this Nov 4, 2025
@shawn-bwell

Copy link
Copy Markdown
Contributor

Hello, doing some clean up here. @AnmolGodiyal10, can you address the comments from the bots and resolve the conflicts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code Minor Increment the Minor version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants