Skip to content

Commit 86d5dfa

Browse files
Merge pull request #1770 from tidepool-org/WEB-4035-limit-ui-copy-updates
[WEB-4035] limit UI copy updates
2 parents fe442ec + cd358e0 commit 86d5dfa

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

app/core/clinicUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export const clinicUIDetails = (clinic = {}) => {
244244
const unlockPlansText = t('Unlock plans');
245245

246246
if (isBase) {
247-
limitDescription = t('Limited to {{limit}} patients. Please note that the demo account and accounts connected to twiist do not count towards the limit.', { limit });
247+
limitDescription = t('This plan allows for a limited number of patient accounts.');
248248

249249
limitFeedback = {
250250
text: t('Maximum number of patient accounts reached'),
@@ -288,7 +288,7 @@ export const clinicUIDetails = (clinic = {}) => {
288288
}
289289

290290
if (isActiveSalesBase) {
291-
limitDescription = t('Limited to {{limit}} patients. Please note that the demo account and accounts connected to twiist do not count towards the limit.', { limit });
291+
limitDescription = t('This plan allows for a limited number of patient accounts.');
292292

293293
limitFeedback = {
294294
text: t('Change to plan in progress'),

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"node": "20.8.0"
55
},
66
"packageManager": "yarn@3.6.4",
7-
"version": "1.90.0-web-3680-pump-shutdown-events.1",
7+
"version": "1.91.0-web-4035-limit-ui-copy-updates.1",
88
"private": true,
99
"scripts": {
1010
"test": "TZ=UTC NODE_ENV=test yarn jest --verbose --runInBand; JEST_EXIT_CODE=$?; TZ=UTC NODE_ENV=test NODE_OPTIONS='--max-old-space-size=4096' yarn karma start; KARMA_EXIT_CODE=$?; [ $JEST_EXIT_CODE -eq 0 ] && [ $KARMA_EXIT_CODE -eq 0 ]",

test/unit/app/core/clinicUtils.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ describe('clinicUtils', function() {
504504

505505
expect(base.ui.text).to.eql({
506506
planDisplayName: 'Base',
507-
limitDescription: `Limited to ${DEFAULT_CLINIC_PATIENT_COUNT_HARD_LIMIT} patients. Please note that the demo account and accounts connected to twiist do not count towards the limit.`,
507+
limitDescription: 'This plan allows for a limited number of patient accounts.',
508508
limitFeedback: {
509509
status: 'warning',
510510
text: 'Maximum number of patient accounts reached',
@@ -532,7 +532,7 @@ describe('clinicUtils', function() {
532532

533533
expect(baseLimitReached.ui.text).to.eql({
534534
planDisplayName: 'Base',
535-
limitDescription: `Limited to ${DEFAULT_CLINIC_PATIENT_COUNT_HARD_LIMIT} patients. Please note that the demo account and accounts connected to twiist do not count towards the limit.`,
535+
limitDescription: 'This plan allows for a limited number of patient accounts.',
536536
limitFeedback: {
537537
status: 'warning',
538538
text: 'Maximum number of patient accounts reached',
@@ -603,7 +603,7 @@ describe('clinicUtils', function() {
603603

604604
expect(activeSales.ui.text).to.eql({
605605
planDisplayName: 'Base',
606-
limitDescription: `Limited to ${DEFAULT_CLINIC_PATIENT_COUNT_HARD_LIMIT} patients. Please note that the demo account and accounts connected to twiist do not count towards the limit.`,
606+
limitDescription: 'This plan allows for a limited number of patient accounts.',
607607
limitFeedback: {
608608
status: 'success',
609609
text: 'Change to plan in progress',

test/unit/redux/actions/async.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6227,7 +6227,7 @@ describe('Actions', () => {
62276227
workspacePlan: true,
62286228
},
62296229
text: {
6230-
limitDescription: 'Limited to 250 patients. Please note that the demo account and accounts connected to twiist do not count towards the limit.',
6230+
limitDescription: 'This plan allows for a limited number of patient accounts.',
62316231
limitFeedback: {
62326232
status: 'warning',
62336233
text: 'Maximum number of patient accounts reached',
@@ -6730,7 +6730,7 @@ describe('Actions', () => {
67306730
workspacePlan: true,
67316731
},
67326732
text: {
6733-
limitDescription: 'Limited to 250 patients. Please note that the demo account and accounts connected to twiist do not count towards the limit.',
6733+
limitDescription: 'This plan allows for a limited number of patient accounts.',
67346734
limitFeedback: {
67356735
status: 'warning',
67366736
text: 'Maximum number of patient accounts reached',
@@ -6947,7 +6947,7 @@ describe('Actions', () => {
69476947
},
69486948
text: {
69496949
planDisplayName: 'Base',
6950-
limitDescription: 'Limited to 250 patients. Please note that the demo account and accounts connected to twiist do not count towards the limit.',
6950+
limitDescription: 'This plan allows for a limited number of patient accounts.',
69516951
limitFeedback: {
69526952
status: 'warning',
69536953
text: 'Maximum number of patient accounts reached',
@@ -7895,7 +7895,7 @@ describe('Actions', () => {
78957895
workspacePlan: true,
78967896
},
78977897
text: {
7898-
limitDescription: 'Limited to 250 patients. Please note that the demo account and accounts connected to twiist do not count towards the limit.',
7898+
limitDescription: 'This plan allows for a limited number of patient accounts.',
78997899
limitFeedback: {
79007900
status: 'warning',
79017901
text: 'Maximum number of patient accounts reached',

0 commit comments

Comments
 (0)