From da77ddf0c746bc340f1006cb77201736435f09f1 Mon Sep 17 00:00:00 2001 From: Matthew White Date: Thu, 25 May 2023 22:02:28 -0400 Subject: [PATCH] Update usage information metrics for v2023.3 (#809) See getodk/central#410. --- src/components/analytics/metrics-table.vue | 3 ++- test/components/analytics/preview.spec.js | 6 ++++-- transifex/strings_en.json | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/analytics/metrics-table.vue b/src/components/analytics/metrics-table.vue index 29cb93cf2..0fe11df5a 100644 --- a/src/components/analytics/metrics-table.vue +++ b/src/components/analytics/metrics-table.vue @@ -109,7 +109,8 @@ export default { "num_creation_forms": "Number of Forms that update the Dataset", "num_followup_forms": "Number of Forms that use the Dataset", "num_entities": "Number of Entities in the Dataset", - "num_failed_entities": "Number of Entity creation errors" + "num_failed_entities": "Number of Entity creation errors", + "num_entity_updates": "Number of Entity updates" } } } diff --git a/test/components/analytics/preview.spec.js b/test/components/analytics/preview.spec.js index a67f4a185..1cb8172fa 100644 --- a/test/components/analytics/preview.spec.js +++ b/test/components/analytics/preview.spec.js @@ -34,7 +34,8 @@ const analyticsPreview = { num_creation_forms: 1, num_followup_forms: 1, num_entities: { total: 10, recent: 5 }, - num_failed_entities: { total: 2, recent: 1 } + num_failed_entities: { total: 2, recent: 1 }, + num_entity_updates: { total: 15, recent: 8 } } ] } @@ -132,7 +133,8 @@ describe('AnalyticsPreview', () => { num_creation_forms: 1, num_followup_forms: 1, num_entities: { total: 10, recent: 5 }, - num_failed_entities: { total: 2, recent: 1 } + num_failed_entities: { total: 2, recent: 1 }, + num_entity_updates: { total: 15, recent: 8 } }; table.props().metrics.should.eql(subMetrics); }); diff --git a/transifex/strings_en.json b/transifex/strings_en.json index 08769e225..e133d2b87 100644 --- a/transifex/strings_en.json +++ b/transifex/strings_en.json @@ -1168,6 +1168,9 @@ }, "num_failed_entities": { "string": "Number of Entity creation errors" + }, + "num_entity_updates": { + "string": "Number of Entity updates" } } },