Closed thom4parisot closed 5 years ago
Here is what I'm up to. Some comments:
?
progress bar is an information I understand will be provided by the API (the gap will be easy to fill)I also restored the tooltips! I found out they never worked. So we can imagine some nicer and more responsive texts than the browser default behaviour:
Hi Thomas, thanks looks very good,
regarding your comments:
- the
?
progress bar is an information I understand will be provided by the API (the gap will be easy to fill)
yes pending BE changes, cc @nastasi-oq
- shall we display or not display a progress bar which is empty? Shall I put "0" or not display it? (eg: Kenya "Restricted" datasets, Fiji "Open" datasets)
I would not display it.
Also, great for the tooltips. Looks much better. If easy to do, I will probably have a check of where tooltips are needed and add them myself.
Thanks
Done 👍 Data-wise, this is where I consume the data. It might give a hint to @nastasi-oq to output the data from the API:
and
Tooltip use case is located here, with ng-tooltip
(custom module), title
and data-placement
(provided by Bootstrap):
By default, when not provided, the placement is "top", I think.
Thanks, merging now but may do some test then.
@pzwsk can you wait until I incorporate #305 changes first? It will give us a more realistic output.
The latest push is wired with the new API.
One subtle change I noticed: datasets_count
now returns the full number of datasets uploaded, instead of the number of key datasets with at least one dataset.
It's nice!
This is great, thanks.
Can we merge this version now?
Also, I had a conversation with @vdeparday yesterday. He would like to test the Unknown
indicator combined with the others. I would like to do some testing and discuss together then.
Thanks
Done 👍 It is available on dev.riskopendata.org
.
/api/scoring
instead of/api/country_scoring
(aligned withbe_scoring-new
branch)👁 Live Preview