bwallace / abstrackr-web

web-based citation screening tool
41 stars 15 forks source link

Tag popup does not remember resizing or location... #21

Open ttrikalin opened 12 years ago

ttrikalin commented 12 years ago

if you switcvh to review abstracts and then back to normal mode (reverts to default location and horizontal and vertical dimensions).

In normal mode, it does not remember the vertical dimension (but it remembers the location and the horizontal dimension if resized)

bwallace commented 12 years ago

Ethan beat you to the punch :) https://github.com/bwallace/abstrackr-web/issues/15

Unfortunately, I believe to do this we will need to keep a db entry for each review/user pair that maps to preferred size. This will need to be pushed to the database on any window resizing, then pulled out and used to set the div box dimensions on each new screening session. This seems like a lot of overhead for a small feature but probably can be done (assuming I can catch resize events on divs). An alternative/compromise would be to scale proportional to the longest term.... Thoughts on doing this?

ttrikalin commented 12 years ago

Ethan rules.

bwallace commented 12 years ago

this is, undeniably, true.

On Wed, Jan 4, 2012 at 4:43 PM, tom trikalinos < reply@reply.github.com

wrote:

Ethan rules.


Reply to this email directly or view it on GitHub: https://github.com/bwallace/abstrackr-web/issues/21#issuecomment-3361676

byron

ttrikalin commented 12 years ago

Automagically rescaling according to the longest tag string and the number of tags will work IMHO. Would not feel compelled for a large overhaul.