Monday, 2016-04-18

*** jtomasek has joined #storyboard06:33
*** ttx_ is now known as ttx07:06
*** bethwhite has joined #storyboard08:05
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Allow filtering of worklists and boards by story or task  https://review.openstack.org/28891009:35
Zara\o/09:38
Zaraargh so many patches09:38
SotK_that was the one that's had a merge conflict for ages :)09:40
*** SotK_ is now known as SotK09:40
Zaraless than a week 'til texas, sldkfjdslkjflskf10:26
* SotK keeps alternating between nervous and kind of exciting10:45
SotKs/exciting/excited/10:45
Zarayup10:46
openstackgerritZara proposed openstack-infra/storyboard-webclient: 'All Boards and Worklists' Page  https://review.openstack.org/27975311:01
Zarathat just amends the commit so it no longer depends on 'move search icon' patch, since that one's stuck11:01
*** krotscheck_ has joined #storyboard11:04
*** jasondotstar_ has joined #storyboard11:05
*** jasondotstar has quit IRC11:05
*** krotscheck has quit IRC11:06
*** jasondotstar_ is now known as jasondotstar11:06
*** krotscheck_ is now known as krotscheck11:06
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Don't allow cards to be dragged to/from automatic worklists  https://review.openstack.org/30649711:34
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Make the Add Lane button show the new worklist modal  https://review.openstack.org/30639911:34
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Remove pointless variable creation  https://review.openstack.org/30640111:34
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Show a modal when editing worklists in a board  https://review.openstack.org/30640011:34
Zara\o/11:35
Zaragood timing, just finished my tea/fb break11:36
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Don't allow cards to be dragged to/from automatic worklists  https://review.openstack.org/30649712:27
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Make the Add Lane button show the new worklist modal  https://review.openstack.org/30639912:27
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Remove pointless variable creation  https://review.openstack.org/30640112:27
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Show a modal when editing worklists in a board  https://review.openstack.org/30640012:27
Zara:)12:28
Zaradragging is deeply unhappy with the first patch, don't yet know why12:52
SotK:(12:56
Zarait's really weird... you haven't changed the script12:58
Zarathe lane contents template, that is12:58
Zaraso maybe it doesn't like loading both...12:59
ZaraI guess a way to check that would be to just load the static one13:00
Zaraand then if that works fine alone, we've narrowed it down a bit.13:00
Zaraokay, fairly confident it's the css line13:08
Zaraor at least the bit where that's added13:08
Zara(I just tried removing each of the other divs and I get the same issue... so if it's not that, then it doesn't like the use of ng-if)13:09
SotKremoving that line doesn't seem to help :/13:11
Zaraoh yeah, just tried it :/13:12
ZaraI guess it really doesn't like the 'if' statment, then?13:16
SotKI think I've misunderstood how my own code works or something13:17
* Zara tries removing both ifs to see if they're both evaluating to the same thing, or if it's something odder13:18
Zararemoving both ifs results in me trying to drag the lane13:19
Zaraso that's different behaviour, at least13:19
Zaraalthough after a bit I get the same error, hm13:20
SotKI fixed it13:20
SotKdragging the lane is kind of a hint13:20
SotKI'd indented my code badly, and thus that patch removes a </div> that breaks everything13:20
Zara\o/13:20
ZaraI looked for missing divs! gah13:21
SotKI guess because it can't decide whether to drag the lane or drag the card13:21
Zarasad I didn't spot it13:21
Zarayes13:21
Zaradivs were the first things I looked for, gah gah gah13:21
SotKyeah, it was confusing to spot because one of the others was unclosed I think13:21
Zara;_;13:21
Zaraglad you found it, anyway!13:21
* Zara switches branch before her fan dies13:22
SotKah, it wasn't unclosed, just weirdly indented13:26
Zaraoh no13:27
ZaraI feel like it's something to do with sb not knowing which if applies (or maybe neither being applicable), but that's just a guess13:33
SotKnah, it was what I thought, just the confusing indentation made me add stuff in the wrong place :)13:33
Zaraohhhh13:34
Zarahahaha13:34
Zaraa similar thing tbh but I thought it might require dramatically more divs, phew13:35
Zara or a reshuffling of divs. yay, anyway13:36
persiaAm I reading that correctly as being three separate divs, each with a separate condition, each condition being evaluated separately?13:37
* persia is looking at patch #313:38
* SotK was typing out a reply then realised he missed another bit13:43
Zarauh oh13:43
ZaraI'm testing it with the next patch as I can't see automatic lanes in the board otherwise, drag and drop seems to work so far13:44
SotKwhy can't you see automatic lanes without the second patch?13:45
Zaraoh, I just didn't know how to add them to a board, it's not the code afaik13:46
Zaraseems to work.. though I found another quirk...13:47
SotKgo on...13:47
Zaradue dates13:47
Zaracards in automatic worklists13:48
Zarauser can try to add them13:48
Zarabut cannot as cards aren't real13:48
Zaraso error13:48
SotKah13:48
Zaraget 'missing argument item_id' (guessing because there's no 'item' really) and the date set vanishes :P13:49
persiaHrm.  The desire to handle due dates kinda invalidates the current data model for targets and automatic lists.13:51
persiaI suspect some design thought is required to make that work.13:51
persiaFor now, I suspect it would be more sensible to just not deal with targets for automatic lists.13:51
SotKthat is my plan for now13:52
Zarasorry it makes the modal more complex :(13:52
Zaradoes it require a separate modal template or can you use an if for the existing modal?13:53
SotKI can use an if, its not much trouble13:54
Zaraphew13:58
ZaraI wasn't sure if the place the template was displayed from had been designed to know the status of the lane13:59
Zaraand I was too lazy to look13:59
*** jmccrory has quit IRC14:01
*** jmccrory has joined #storyboard14:02
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Don't allow users to interact with cards in automatic worklists  https://review.openstack.org/30649714:02
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Make the Add Lane button show the new worklist modal  https://review.openstack.org/30639914:02
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Remove pointless variable creation  https://review.openstack.org/30640114:02
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Show a modal when editing worklists in a board  https://review.openstack.org/30640014:02
* Zara will take a look shortly (making lunch)14:04
Zaraat lunchtime14:04
SotKthis is not lunchtime14:05
SotKfor our timezone anyway14:05
ZaraI think you will find it is the time at which I am making my lunch14:05
Zaraergo, it is lunchtime14:05
Zaraby definition14:05
* SotK has no comeback14:06
ZaraI WIN14:06
Zarawait what it takes 20 mins to microwave rice14:09
Zarahmph14:09
Zaralooks like lunchtime is closer to 4pm ;_;14:09
* Zara checks out patch14:09
ZaraI always feel warm near the microwave. I hope it's not cooking me.14:13
persiaIf you heat something wet in a microwave, steam escapes from the food, which is often vented out.  If you are not heating something wet, it may get very hot, and the radiant heat causes hot air that escapes when you open the door (and may be vented).  If you feel warm around a microwave under other conditions, you should get a different oven.14:16
Zaragiven it's rice, I hope it's wet, or I've got a problem14:27
Zaraa fire problem14:27
Zarawe should have educational storyboard science interludes more often14:27
* persia tries to get undistracted by a comparison of 27MHz vs. 2.4GHz for home heating applications and considers the differences between an incident tracker and a requirements tracker14:28
persiaAt a high level, a requirements tracker describes what the system should do (and possibly lists tasks to accomplish that goal), and an incident tracker describes some thing that happened (and perhaps tasks that need to be undertaken to report on it, or ensure it doesn't repeat).14:30
persiaBoth are "bug trackers" in some sense, but I wonder if it makes sense to handle incidents better in Storyboard (based on backscroll from the infra bug sprint)14:30
persiaOr maybe the solution is to specify that a system is required not to behave in the reported way, and then take it from that viewpoint (except this misses all the useful reporting bits)14:31
Zarahttps://etherpad.openstack.org/p/newton-infra-community-task-tracking etherpad for task-tracking session is here if it's useful to note things there at all14:39
ZaraI'm not even sure how fully sb is meant to be tracking bugs of any kind, even before we get to the differences between them14:40
Zarain practice it's used that way... and sometimes people use it to report inscidents too... but nobody looks on it for incidents14:41
persiaTo my way of thinking, a "bug" is only an incomplete requirement specifiction.  For example, if software crashes when someone enters a "&" in a text field, it ought not crash, for which it is not hard to assert it is required to not crash under that condition.14:43
persiaFor hosted production systems, life is a bit more complicated.  Where the infrastructure is entirely software-defined, one can consider failures to be inputs to the requirement specification for the defining software.14:44
Zarayou can have a bug where there's a spec but the software just doesn't meet it (and maybe did in the past)14:44
persiaWhere it isn't entirely software defined (or that software definition isn't entirely under the control of the folk using the Storyboard instance), there are incidents where the appropriate response is to ask someone else to do something, be aware while it hasn't been done, and then report it done to interested parties.14:45
persiaTo my way of thinking about software, that sort of bug is either a result of incomplete specification or of failing to validate the code against the requirements as the code changes.14:46
persiaIt often happens that something used to work and now stopped working, but we ought have tests for everything that is supposed to work, so that we know when it stops working.  The challenge is finding the right balance of requirements testing so that one doesn't end up having tests for every implementation detail in such a way that it becomes difficult to support new requirements as they arrive.14:48
Zara+ it can be tricky to automate tests for layout things (eg: 'this additional div means foo button has now been shifted so it's harder to spot, as the user must scroll to see it')14:53
Zaramy lunch is finally nearly ready14:54
persiaTraditional interface development frameworks typically use the accessibility layer to instrument and articulate the interface for testing, so that questions like that can be resolved.  I'm not sure we have such a thing for browsers.15:00
persiaHrm.  ngAria might help (https://docs.angularjs.org/guide/accessibility), but given the recent drafts of the ARIA spec (last month), I imagine that we're some way away from having the same depth of analysis we have for non-browsers.15:04
persiaHmm.  Sadly, it seems the current version is entirely focused on screen readers, and contains facilities to beat the user over the head if desired (audio overrides, etc.).15:06
persiaAs a result, I no longer believe it will reach the point of being a useful framework to interact with web applications.15:06
Zara:(15:13
ZaraI can no longer find bugs in https://review.openstack.org/#/c/306497/ and https://review.openstack.org/#/c/306399/ , if anyone wants to take a look and prove me unhelpful :)15:23
* Zara takes a look at https://review.openstack.org/#/c/306400/715:23
Zarahm, if I change a manual worklist to automatic, and click save changes, it works, and all items in worklist disappear (after a pause). if I then refresh, edit the (now automatic) worklist, check the box so that it will be manual again, and then click 'save changes', it hangs15:37
Zaraforever15:37
Zaranow to test if it's for all 'save changes' on an auto worklist15:38
SotKweird, I tested making a worklist automatic and then making it manual again15:39
Zaraseems like it's all changes to an automatic worklist when edited from the board view15:39
Zarawhoa my api is not happy15:39
SotKworking fine at my end15:39
Zarahttp://paste.openstack.org/show/494443/15:40
Zara(clock on my vm seems to be utc)15:41
Zarathat's as far back as it goes, I just pasted everything15:41
ZaraDBError: (IntegrityError) (1048, u"Column 'list_id' cannot be null") 'UPDATE worklist_items SET updated_at=%s, list_id=%s WHERE worklist_items.id = %s' (datetime.datetime(2016, 4, 18, 15, 35, 44, 257946), None, 400)15:43
Zaraseems to be the actual error15:43
Zaraah, and it's just clicking hte 'save changes' button that triggers it, no need to actually make a change15:43
SotKhuh15:44
SotKis your api up to date?15:44
ZaraI think so15:44
Zaragit pull says it is15:44
Zara(and normally it says when it isn't)15:45
SotKwhat is the latest commit?15:46
Zaraeaf32542b5974cee2db22d6390db02f5c8c4f03915:46
Zaraso I've got 'resolve worklist filters in boards'15:46
Zarathe only thing I can think of is if I needed to do a migration sometime and didn't? though I don't think I've missed one15:47
Zarahow would I check what version's actually running?15:47
SotKdo `SELECT * FROM alembic_version;` on your database15:48
Zaraokay15:48
Zara5615:49
SotKseems correct15:49
Zaraaye15:49
* SotK messes with his15:49
ZaraI'll try with a worklist outside of a board and see if it happens there15:51
Zarait was a manual worklist containing items, if that makes a difference15:54
Zaraand I gave it no criteria15:55
Zaraoooh, also get errr for a worklist outside of a board15:55
SotKaha!15:55
Zara500: PUT /api/v1/worklists/13: (IntegrityError) (1048, u"Column 'list_id' cannot be null") 'UPDATE worklist_items SET updated_at=%s, list_id=%s WHERE worklist_items.id = %s' (datetime.datetime(2016, 4, 18, 15, 55, 27, 821095), None, 484)15:55
SotKits the no criteria which is causing it, for some reason15:55
Zaraperhaps dislikes lack of criteria15:56
Zarasnap15:56
ZaraI should look at my screen faster.15:56
* Zara finds all the bugs, Zara finds all the bugs, Zara finds all the bugs, all day long~15:57
SotKheh, what a weird bug16:05
SotKdoes editing a manual worklist that is empty also do it?16:05
SotKapparently not16:05
SotKI guess because there are no items to try to update16:06
ZaraI'm just going to choose to interpret IntegrityError as storyboard saying 'I'm not going to update this worklist because I think it has bad moral character'16:07
*** bethwhite has quit IRC16:29
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Fix updating automatic worklists with no filters  https://review.openstack.org/30736216:33
SotKthat will fix it16:34
* Zara tries it16:49
openstackgerritMerged openstack-infra/storyboard-webclient: Remove 'Subscriptions' button from header dropdown  https://review.openstack.org/29457917:05
Zarait'd be nice if the colour of the worklist changed only when the contents updated, but that's a smallish niggle17:07
Zarachanging to/from automatic seems to be working fine now17:08
Zaragonna check that patch with master in case any strange things happen there17:08
SotK\o/17:12
Zaraseems fine to me so far :)17:19
* Zara +As17:21
Zarahttps://review.openstack.org/#/c/306497 and https://review.openstack.org/#/c/306399/ await reviews17:22
Zara(well, so do other things, but those have got past zara the testing dragon)17:22
SotK\o/17:23
SotKthanks Zara17:23
* Zara notices exclamation mark in https://review.openstack.org/#/c/306400/17:31
Zaraawww17:31
Zaraemails are nice. I no longer have to be a living notifications daemon. may take a while to adjust17:33
Zarabtw, now worklist-in-board titles link to worklists, I expect more questions about importing existing worklists into boards17:35
Zarajust a heads-up17:35
Zara+ it's a little odd that titles don't link for logged-out users17:37
Zaraargh save buttons caught me out again17:38
* Zara renames 'task tracking infra session' to 'save button improvement session'17:39
Zaraargh *again*17:40
Zarathat was literally 2 minutes lates17:40
Zara*later17:40
Zaraeverything seems to work as expected, though17:41
Zara:0 "WEATHER: Austin is expecting possible thunderstorms next week. The Summit campus includes multiple buildings and most of the evening events will be held at outdoor venues. We suggest you pack an umbrella, rain jacket and shoes that can get wet for walking between buildings, restaurants and bars! Check the weather before you travel."17:43
SotKoh joy!17:53
Zara~well, there's floodin' down in texas, all of the telephone lines are down~17:56
ZaraI've +1'd that but not +2'd because of the logged-out-title-links-thing, but I can change it to +2 if there's no time, since it's better with than without, just figured I'd get the request in there before I forgot it18:01
Zaraso there's just the pointless variable creation one left over, should get to that tomorrow18:02
Zaraseems fine but always like to check for unexpected side-effects. am heading off now18:02
Zaraif anyone else has thoughts on: https://review.openstack.org/#/c/304539/ , would be good18:03
Zara'night!18:04
*** b3rnard0 is now known as b3rnard0_away18:21
openstackgerritPedro Alvarez Piedehierro proposed openstack-infra/storyboard-webclient: Fix dashboard template to show the right information  https://review.openstack.org/30744820:07
*** b3rnard0_away is now known as b3rnard021:53
*** b3rnard0 is now known as b3rnard0_away22:10

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