clarencen/lshift — Issue #31: Zooming anomolies
Author: clarencen
Created: 2011-11-14 22:41:26+00:00
State: open

There appears to be a bug in the zooming - as these scenarios hopefully illustrate:

* First scenario:
* Boot fresh agent, zero out the store
* Run the PagingDataLoader with the parameters (100, 30, p1):
* This creates 100 events for the pair p1 that are at least 30 hours old
* At the default zoom level 4, this is likely to render 3 blobs with ca. 20, 60 and 20 in each respectively
* Retrieving the diff list works correctly when clicking on all blobs
* Zooming into level 5 spreads the blobs out more, but still works as expected
* Zooming into level 6 renders nothing because the blobs are too far back in time for (currently) fixed width heat map - see ticket ...
* Zoom out to level 3:
* The blobs are split in to ca. 20 and 80, which may well be expected, but clicking on the 20 blob returns a diff list with 80 elements and clicking on the 80 blob returns a diff list of 20 elements.
* Zoom out to level 2:
* The blobs are split in to ca. 20 and 80, which may well be expected, but clicking on the 20 blob returns 100 elements, whilst clicking on the 80 blob returns nothing.
* Zoom out to level 1:
* The events are aggregated into 1 blob of 100, and the diff list appears to be correctly bound for this level.
* Zoom out to level 0:
* There is one blob of 100, but clicking on it returns no diff list.
* Clicking to the left of it (in blue space) returns a list of 100.
* Second scenario:
* Boot fresh agent, zero out the store
* Run the PagingDataLoader with the parameters (100, 20, p2):
* Refresh the browser to get back to zoom level 4. 3 blobs of ca. 20/60/20 appear. The diff list binds correctly.
* Zoom out to level 3:
* Blobs of ca. 90/10 are rendered, the diff list binding is not bound at all.
* Levels 1 and 2 behave like level 3
* Zoom out to level 0:
* Blobs of ca. 25/75 are rendered. Clicking on the 25 sized blob produces a diff list of 100 elements. Clicking on the 75 blob renders nothing.

So it would seem that