Monday, 2019-02-18

*** whoami-rajat has joined #storyboard02:14
*** udesale has joined #storyboard03:44
*** jtomasek has joined #storyboard06:49
*** jtomasek has quit IRC07:27
*** jtomasek has joined #storyboard07:28
*** dtantsur|afk is now known as dtantsur07:42
*** tosky has joined #storyboard08:33
*** jpich has joined #storyboard08:57
*** udesale has quit IRC11:33
*** udesale has joined #storyboard11:34
dtantsurhi folks! is this a known issue: a lane in a board keeps scrolling to the top. This makes it very hard to work with a lane that does not fit in a screen.13:40
SotKdtantsur: scrolling to the top randomly or when you move cards in/out/around it?13:59
SotKthe latter is something which is known to me and on my list to fix when I look at making the boards ui a bit more polished at some point14:00
SotKI *think* there's a task in storyboard for it too, one sec14:00
dtantsurSotK: no, just when I'm staring at it14:01
SotKthen in that case its not a known issue, do you have a link to the board by any chance?14:02
SotK(the task for the other case is in https://storyboard.openstack.org/#!/story/2000464, for completeness)14:02
dtantsurSotK: I was on https://storyboard.openstack.org/#!/board/8315:19
SotKdid it happen some time after you closed a card modal after clicking on one to see more info by any chance?15:29
* SotK has reproduced the issue by doing that and waiting ~20 seconds15:29
*** udesale has quit IRC15:41
fungii notice loading large boards is still slow even after moving the db to run locally and doubling the amount of ram for the server15:46
* fungi hits reload and watches mysqld use between 100-150% of available processors for 10+ seconds straight15:47
fungier, that's between 100-150% of of a processor (out of 8)15:47
funginot a surprise as this matches what we observed after moving the storyboard-dev db local too15:49
SotKyeah that board is horribly slow15:50
*** jamesmcarthur has joined #storyboard16:01
dtantsurSotK: probably. I was looking for an easy task for my intern.16:50
SotKThe issue is caused by us reloading the board when the modal is closed, as a way to try to reduce the chance of someone updating with an older state than exists in the database (because they haven't refreshed in a while for example)16:55
SotKThe reloading makes the lanes scroll to the top, since the divs containing the cards are momentarily empty and forget their scroll position16:56
SotKIt seems to happen out of the blue in this board because it takes so long to load it16:56
SotKI'll look at mitigating the loss of scroll position when I get a chance, it seems like it would make a board that size incredibly annoying to use16:57
SotKI have an ancient patch on Gerrit which implemented polling to "live update" boards, which adds support for not forgetting the scroll position which can probably be reused for this16:59
*** jpich has quit IRC17:50
*** dtantsur is now known as dtantsur|afk18:47
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient master: Remember scroll offset of lanes when refreshing board view  https://review.openstack.org/63760719:15
SotKthat patch should solve the immediate frustration with dtantsur's board19:16
SotKthere are a great many ways interaction with large boards like that could be improved no doubt, but that is work for another day19:16
SotKfor the sake of future-me reading IRC logs, I misremembered the technical details of why scrolling breaks19:17
SotKits actually because the scrolled elements are removed and replaced with new ones when we reload the board object19:18
*** jamesmcarthur has quit IRC19:19
*** jamesmcarthur has joined #storyboard19:33
*** whoami-rajat has quit IRC20:23
*** jtomasek has quit IRC21:40

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!