application-research / delta-ui

7 stars 0 forks source link

[Feature] Add `count_total` to `deals_made` in Datasets page #61

Closed jcace closed 1 year ago

jcace commented 1 year ago

Querying the /datasets API returns both count_replicated (which is under the Deals Made column right now), as well as count_total, which indicates the total number of contents for the dataset.

It's useful to know how many contents are part of a given dataset, so I propose we update the Deals Made column to show the information like so:

count_replicated / count_total

i.e, if count_replicated was 12 and count_total was 33, it would show like 12 / 33

FYI Due to the replication quota the numerator can be larger than the denominator after many deals are made.