Skip to content

Release 1.94.0 to master#1873

Merged
henry-tp merged 45 commits intomasterfrom
release-1.94.0
Mar 3, 2026
Merged

Release 1.94.0 to master#1873
henry-tp merged 45 commits intomasterfrom
release-1.94.0

Conversation

@krystophv
Copy link
Copy Markdown
Member

@krystophv krystophv commented Feb 18, 2026

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:

  • Replaces all custom date formatting logic for chart date bounds with the centralized getChartDateBoundFormat and CHART_DATE_BOUND_FORMAT utilities from @tidepool/viz, removing the now-obsolete getChartDateBoundDisplayFormat and related constants from DateRangePicker.js. Updates all components (ChartDateRangeModal, PrintDateRangeModal, basics.js, trends.js, and DateRangePicker.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:

  • Updates the clinic patient test data and UI logic to include and display numPatients for tags and sites, ensuring accurate patient counts are shown in dialogs and verified in tests. [1] [2] [3]
  • Ensures that after editing or creating a patient, the clinic data is refetched to update patient counts for tags and sites, and that the latest site/tag data is fetched before opening their respective edit dialogs to prevent stale data. [1] [2] [3] [4]

Testing Enhancements:

  • Adds and clears mocks for the clinics.get API 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:

  • Adds logic to conditionally include a CPT-99445 column in RPM report exports for periods starting on or after January 1, 2026, and calculates patient eligibility for this code (2–15 days of qualifying data). [1] [2] [3]

These changes collectively improve consistency, maintainability, and user experience across the application.

henry-tp and others added 30 commits January 21, 2026 14:27
[WEB-4323] - Sort 'Meeting Targets' section in TIDE Dashboard by TIR Descending
[WEB-4330] - Missing Pump Settings in PDF
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
Copilot AI review requested due to automatic review settings February 18, 2026 22:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 getChartDateBoundFormat and CHART_DATE_BOUND_FORMAT from @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.

@henry-tp
Copy link
Copy Markdown
Contributor

/deploy qa5

@tidebot
Copy link
Copy Markdown
Collaborator

tidebot commented Feb 19, 2026

henry-tp updated values.yaml file in qa5

@tidebot
Copy link
Copy Markdown
Collaborator

tidebot commented Feb 19, 2026

henry-tp updated flux policies file in qa5

@tidebot
Copy link
Copy Markdown
Collaborator

tidebot commented Feb 19, 2026

henry-tp deployed blip release-1.94.0 branch to qa5 namespace

@henry-tp
Copy link
Copy Markdown
Contributor

/deploy qa2

@tidebot
Copy link
Copy Markdown
Collaborator

tidebot commented Feb 20, 2026

henry-tp updated values.yaml file in qa2

@tidebot
Copy link
Copy Markdown
Collaborator

tidebot commented Feb 20, 2026

henry-tp updated flux policies file in qa2

@tidebot
Copy link
Copy Markdown
Collaborator

tidebot commented Feb 20, 2026

henry-tp deployed blip release-1.94.0 branch to qa2 namespace

@henry-tp henry-tp merged commit 554beb8 into master Mar 3, 2026
4 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.

5 participants