Skip to content

Commit

Permalink
Update usage information metrics for v2023.3 (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-white authored May 26, 2023
1 parent bdb2d4e commit da77ddf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/analytics/metrics-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down
6 changes: 4 additions & 2 deletions test/components/analytics/preview.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
]
}
Expand Down Expand Up @@ -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);
});
Expand Down
3 changes: 3 additions & 0 deletions transifex/strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,9 @@
},
"num_failed_entities": {
"string": "Number of Entity creation errors"
},
"num_entity_updates": {
"string": "Number of Entity updates"
}
}
},
Expand Down

0 comments on commit da77ddf

Please sign in to comment.