CodeValue statistics
Add a FAB button "Statistics" when displaying the list of code values of the selected group (e.g. https://demo.ggce.genebanks.org/admin/codes/ANNOTATION_TYPE).
Clicking the button calls ..../ANNOTATION_TYPE/stats endpoint implemented in grin-global/grin-global-server!366
The UI should render a dialog with a <Table
that shows:
Value | Status | Entity | Property | Count |
---|---|---|---|---|
XX | OK | Inventory | field1 | 10 |
XX | OK | Inventory | field2 | 1 |
XX | OK | Accession | something1 | 500 |
XX | OK | Accession | something1 | 500 |
YY | Not declared | Inventory | another1 | 34 |
YY | Not declared | InventoryAction | ... | ... |
The Status column shows if the value
in the database exists as a CodeValue
in the groupName
.