Conversation
[WEB-4323] - Sort 'Meeting Targets' section in TIDE Dashboard by TIR Descending
[WEB-4330] - Missing Pump Settings in PDF
Release 1.93.0 to develop
Implements conditional inclusion of CPT-99445 data column for reports starting on or after 2026-01-01, with corresponding eligibility calculation logic. Updates test fixtures and adds comprehensive test coverage for new functionality and edge cases.
lintfix, more robust date handling, consistency for unit test coverage
This reverts commit 6af5a91.
This reverts commit cbc0660.
[WEB-4388] - Update TIDE Dashboard category default ordering
WEB-3627 - Patient Counts
[WEB-4384] - Date Range Header lines up with Copy-as-Text
Release 1.93.1 to develop
[WEB-4239] Adds CPT-99445 support to RPM report export
There was a problem hiding this comment.
Pull request overview
This pull request is a release candidate (1.94.0-rc.1) that standardizes date formatting across the application by migrating to centralized @tidepool/viz utilities, enhances clinic workspace features with accurate patient counts for tags and sites, adds CPT-99445 support to RPM reports for 2026, and reorders TideDashboard sections for improved user experience.
Changes:
- Refactored all chart date formatting to use
getChartDateBoundFormatandCHART_DATE_BOUND_FORMATfrom @tidepool/viz, removing duplicate implementations from DateRangePicker and other components - Added patient count display and real-time data fetching for clinic tags and sites, with warning messages when removing tags/sites that have associated patients
- Enhanced RPM report exports to conditionally include CPT-99445 eligibility column for reports starting on or after January 1, 2026, with comprehensive test coverage for edge cases
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated version to 1.94.0-rc.1 and @tidepool/viz to 1.55.0-rc.1 |
| yarn.lock | Updated @tidepool/viz dependency checksums |
| app/components/elements/DateRangePicker.js | Removed duplicate date formatting functions, now using @tidepool/viz utilities |
| app/components/ChartDateRangeModal.js | Updated imports to use date formatting utilities from @tidepool/viz |
| app/components/PrintDateRangeModal.js | Updated imports to use date formatting utilities from @tidepool/viz |
| app/components/chart/basics.js | Updated to use date formatting utilities from @tidepool/viz |
| app/components/chart/trends.js | Removed local formatDate method, using @tidepool/viz utilities instead |
| app/components/clinic/RpmReportConfigForm.js | Added CPT-99445 column logic for reports starting on/after 2026-01-01 |
| app/pages/clinicworkspace/ClinicPatients.js | Added fetchClinic call after patient create/edit, fetchClinicSites/PatientTags before dialogs, and numPatients display in dialogs |
| app/pages/dashboard/TideDashboard.js | Reordered dashboard sections and changed meetingTargets sort key to timeInTargetPercent |
| locales/en/translation.json | Added pluralized translation strings for patient count warnings when removing tags/sites |
| test/fixtures/mockRpmReportPatients.json | Added three test cases for CPT-99445 edge cases |
| test/unit/components/clinic/RpmReportConfigForm.test.js | Added comprehensive test coverage for CPT-99445 functionality including edge cases |
| tests/unit/app/pages/clinicworkspace/ClinicPatients.test.js | Updated clinic test data to include numPatients and added mock assertions |
| test/unit/pages/TideDashboard.test.js | Updated test expectations to match new dashboard section ordering |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
/deploy qa5 |
|
henry-tp updated values.yaml file in qa5 |
|
henry-tp updated flux policies file in qa5 |
|
henry-tp deployed blip release-1.94.0 branch to qa5 namespace |
|
/deploy qa2 |
|
henry-tp updated values.yaml file in qa2 |
|
henry-tp updated flux policies file in qa2 |
|
henry-tp deployed blip release-1.94.0 branch to qa2 namespace |
WEB-4455 - Hide Tag & Sites Counts
along side tidepool-org/viz#596
This pull request introduces several improvements and refactors across the codebase, focusing on standardizing date formatting logic, enhancing test coverage and reliability for patient tag/site counts, and improving the accuracy of clinic data updates in the UI. Additionally, it adds new functionality to the RPM report export for CPT-99445 eligibility. Below are the most important changes grouped by theme:
Date Formatting Standardization and Refactor:
getChartDateBoundFormatandCHART_DATE_BOUND_FORMATutilities from@tidepool/viz, removing the now-obsoletegetChartDateBoundDisplayFormatand related constants fromDateRangePicker.js. Updates all components (ChartDateRangeModal,PrintDateRangeModal,basics.js,trends.js, andDateRangePicker.js) to use the new utilities for consistent date display. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]Clinic Patient Tag/Site Count Accuracy and Data Fetching:
numPatientsfor tags and sites, ensuring accurate patient counts are shown in dialogs and verified in tests. [1] [2] [3]Testing Enhancements:
clinics.getAPI in tests to verify that site/tag dialogs trigger data fetching and that patient counts are displayed as expected. [1] [2] [3] [4]RPM Report Export Enhancement:
These changes collectively improve consistency, maintainability, and user experience across the application.