AbeHandler / rookie

The Rookie Text Analysis System
10 stars 1 forks source link

Optimization to avoid scrolling down #137

Closed AbeHandler closed 8 years ago

AbeHandler commented 8 years ago

Laterally scrolling thru the timeline is great! However, if the are more than a few docs, then these are not easily viewed. I think that some sort of optimization that tried to reflect the contents of the doclist in whatever space is available below the timeline so that you don't have to scroll down would be great. The method would have to be very fast and perhaps even run on the client side. Scrolling across the timeline and reading is great and should be favored.

rookie32

AbeHandler commented 8 years ago

at least some of the choppiness in the slider is coming from the doc viewer. If you comment out the docviewer/doclist the slider feels way smoother. If we could come up with a quick optimization scheme, it might be faster than updating n stories worth of nodes in the virtual dom. so basically more grist for trying to do this one at some point.

AbeHandler commented 8 years ago

one easy way to prototype this in 90 mins using existing rookie: make a new jsx component to replace story list, split time range into N intervals, pull story at random for each of the N intervals, ignore headlines and concatenate current snippets, drop words furthest away from a Q and an F until the snippet fits in the height of the component.

AbeHandler commented 8 years ago

Working on this now. Moving to latex from github.