inveniosoftware / react-searchkit

React component library for interacting with a REST API.
https://inveniosoftware.github.io/react-searchkit/
MIT License
78 stars 40 forks source link

aggs: remove valueLabels property #144

Closed zzacharo closed 3 years ago

zzacharo commented 3 years ago
lnielsen commented 3 years ago

Shouldn't the count be in a separate element somehow so we can do these round circles around the numbers: Screenshot 2020-10-20 at 15 55 04

zzacharo commented 3 years ago

@ntarocco @lnielsen if you want I can amend this PR with a template prop, so what @lnielsen show can be feasible!

zzacharo commented 3 years ago

@lnielsen For the count, we will override this in invenio-app-rdm similar to https://github.com/inveniosoftware/react-invenio-app-ils/blob/75f1faf53b973c2a44d72905115513ffc250730b/src/lib/modules/SearchControls/overridden/CardBucketAggregationValueElement.js#L5