CartoDB / deep-insights.js

Create powerful dashboards using CARTO
34 stars 26 forks source link

widgets: time-series: responsive #566

Closed matallo closed 7 years ago

matallo commented 7 years ago

re: https://github.com/CartoDB/cartodb/issues/12470

this will eventually point to master, when https://github.com/CartoDB/deep-insights.js/pull/562 is merged


cartodb PR: https://github.com/CartoDB/cartodb/pull/12543 deep-insights.js PR: https://github.com/CartoDB/deep-insights.js/pull/566 cartodb.js PR: https://github.com/CartoDB/cartodb.js/pull/1709


pulling the changes from time-series aggregations, and timezones, plus:

there's only one thing I'm not specially happy about which is updating the static tips, when dragging the handles, however I couldn't find a better approach using the rangeFilter, as it is only updated on brush end

acceptance

test again with number type column, they should work as expected

check the Invision project for the designs

matallo commented 7 years ago

advanced a bit on the testing front, I feel the lack of specs disturbing

matallo commented 7 years ago

finished the specs, I didn't test the X position for the tip at the beginning / middle / end of the timeline, just the Y because it could be crazytown (and it wasn't actually the scope of the PR, just for the timeslider tip)

besides new methods, I'm mostly testing the cases where mobile viewports, and column type are checked to show the responsive chart

nobuti commented 7 years ago

Was this accepted?

rubenmoya commented 7 years ago

Yes, the last changes was just one test failing in Travis, but code review and acceptance were already done.