Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bounding box issue #1080

Closed
wants to merge 1,713 commits into from
Closed

Fix bounding box issue #1080

wants to merge 1,713 commits into from

Conversation

alonsogarciapablo
Copy link
Contributor

Fixes #1070, by reverting this commit.

@viddo PTAL! Thanks!

NOTE to @viddo : this might have some effects on the deep-insights.js test suite since I remember you mentioning something related (there's some history about it on slack)

Emilio García and others added 30 commits December 22, 2015 16:20
Added default zoom template + moved view to zoom folder
Nicklas Gummesson and others added 27 commits February 8, 2016 19:12
Was previously located in DI but actually belongs here
Since bins now are set a default in the dataview, and the test case
should not test the full URL but the presence of the set bbox attr
Fixes wrong attribute name ownFilter -> enableFilter
So specrunners are up-to-date with tests available in the local web
server
The exact same code is present in the "super" method so this object was
being bound to the "change:enabled" event twice. This was causing the
dataview to fetch it's data twice when dataview was re-enabled.
Fixing change about how to parse data within category dataview
Fix problem with category filter when accepts a category where it was rejected
Belongs to widgets, not a concern for a dataview really
Accidentally re-added code that was removed in previous commit
Reload map on prefix+suffix change on category dataview
Was faulty changed in
2e9b0ea39440d8bca812c0665b7
6e114a3e54e17#diff-51a09ea5f3b9485ac7865588bdfa1082R18

it was given as `category` from DI:
https://github.com/CartoDB/deep-insights.js/pull/138/files#diff-eb62919d
bc9c6c8e66ffed48ee679a92L39, although in the `toJSON` we have the
hardcoded `aggregation` value:
https://github.com/CartoDB/cartodb.js/blob/2e9b0ea39440d8bca812c0665b76e
114a3e54e17/src/dataviews/category-dataview-model.js#L249

It should be category as type still since some code depends on it.
…e thing it was supposed to do (according to it's name)
Fixed `enableFilter` flag on the category dataview model
…ng-box

Ensure `submitBBox` is set to true after the first fetch in the histogram dataview
@viddo
Copy link
Contributor

viddo commented Feb 11, 2016

@alonsogarciapablo I think you wanted to merge into v4 branch, right?

@alonsogarciapablo
Copy link
Contributor Author

Totally! Re-opening!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants