*** udesale has joined #storyboard | 04:12 | |
*** mugsie has quit IRC | 05:49 | |
*** dtantsur|afk is now known as dtantsur | 07:26 | |
*** tosky has joined #storyboard | 07:41 | |
*** jpich has joined #storyboard | 07:57 | |
*** jaosorior has joined #storyboard | 09:47 | |
*** mugsie has joined #storyboard | 10:47 | |
*** udesale has quit IRC | 11:24 | |
*** jamesmcarthur has joined #storyboard | 12:46 | |
*** jamesmcarthur has quit IRC | 13:05 | |
*** mriedem has joined #storyboard | 13:36 | |
mriedem | am i blind or is there no delete story button? | 13:36 |
---|---|---|
SotK | you are not blind | 13:38 |
SotK | superusers have the ability to archive stories | 13:38 |
SotK | otherwise marking all the tasks invalid is a good indicator the story isn't valid anymore | 13:38 |
mriedem | yikes ok | 13:39 |
SotK | iirc its like that to avoid situations where anyone with an ubuntu one account can run a script to drive-by delete/archive everything | 13:41 |
SotK | since we don't want restrictions on who can interact with stories | 13:42 |
SotK | maybe its a bit of a pointless restriction though, since anyone could just drive-by update everything with blank content | 13:42 |
SotK | it was probably more important before we made delete mean "archive" instead | 13:43 |
SotK | huh, apparently I dreamed that stories get archived not deleted, since that doesn't seem to be the case | 13:44 |
*** jamesmcarthur has joined #storyboard | 13:45 | |
mriedem | yeah you can't delete bugs in launchpad either | 13:47 |
mriedem | so it's fine, as long as invalidating all the tasks makes the story itself go away | 13:48 |
SotK | yeah, it will go away unless you actively look for invalid stories | 13:48 |
mriedem | ok that wfm, thanks | 13:49 |
*** udesale has joined #storyboard | 13:59 | |
fungi | agreed. stories are history. deleting stories is deleting history, and we reserve that for situations where the story itself is pure advertising spam or similar abuse | 14:01 |
tosky | did I ask already about duplicated stories and merging them (if it's possible and I didn't see it, planned, or if there is another workflow)? | 14:04 |
persia | tosky: Not possible. Been talked about a lot. I've yet to hear of anyone volunteering to try to implement it, but I may have missed some backscroll and/or email. | 14:05 |
tosky | that's probably the only feature that I miss, because sometime new people open duplicated stories and there is no way to logically link them to an existing one | 14:05 |
persia | To me, simple implementation is to be able to "mark duplicate", which hides a story and provides a link to the main story if one finds the dup. Sadly, this runs into issues about comment interactions, reconciling tasks, etc. which convinced me that it needs some actual thought to be able to do it correctly. | 14:06 |
*** johnsom has joined #storyboard | 14:07 | |
*** mriedem has left #storyboard | 14:28 | |
fungi | hrm, is anybody else having trouble creatnig new stories on storyboard.o.o? i'm getting this at the moment: | 14:30 |
fungi | 400: POST /api/v1/tasks: Invalid input for field/attribute task. Value: '{'story_id': 2003647, 'project_id': 'openstack-infra/storyboard-webclient', 'title': 'Set href rel attribute to nofollow'}'. invalid literal for int() with base 10: 'openstack-infra/storyboard-webclient' | 14:30 |
SotK | oh my | 14:32 |
fungi | okay, i think i figured it out | 14:32 |
SotK | how did you attempt to create the story? | 14:32 |
fungi | from the openstack/storyboard-webclient project page i used the create new drop-down | 14:32 |
SotK | from https://storyboard.openstack.org/#!/project/openstack-infra/storyboard-webclient by any chance? | 14:32 |
SotK | snap | 14:33 |
fungi | it pre-filled the project for the initial task, but seems to be attempting to pass the literal story name instead of the index | 14:33 |
fungi | yes, if i delete the last character from the project name and then choose it from the typeahead completion on a fresh story create, it works | 14:33 |
SotK | http://git.openstack.org/cgit/openstack-infra/storyboard-webclient/tree/src/app/storyboard/controller/header_controller.js#n52 needs modifying to handle the case where the id is a name | 14:34 |
fungi | also the workaround only solves it if you abort the old story creation dialog and start fresh. once it breaks you can't get it to submit by editing the project name and reselecting it | 14:34 |
SotK | hm interesting | 14:34 |
fungi | slightly different api error which i didn't capture | 14:35 |
SotK | what if you select a different project, then reselect the one you want? | 14:35 |
fungi | i'll find out | 14:35 |
*** jamesmcarthur has quit IRC | 14:36 | |
SotK | amusingly, I think that the "+ Add Story" button which we should probably get rid of at some point will work as expected | 14:38 |
fungi | no dice: 400: POST /api/v1/stories/2003649: Invalid input for field/attribute story. Value: '2003649'. unable to convert to Story | 14:41 |
fungi | i have a feeling it's burning story ids on create attempts and leaving them with no initial task, but i haven't checked the db | 14:42 |
SotK | yep: https://storyboard.openstack.org/#!/story/2003649 | 14:42 |
SotK | the story was created but not the task | 14:43 |
fungi | and yes, the +Add story button works fine | 14:43 |
SotK | then trying again without closing and reopening the modal probably caused the "new story" object it has to get an ID in it | 14:43 |
SotK | which the API then didn't like | 14:43 |
* fungi goes down a storyboard-webclient rabbit hole | 14:44 | |
fungi | i was just going to add 2003648 as a wishlist about adding rel="nofollow" ni links rendered from user-submitted content | 14:45 |
fungi | 2003650 is now filed for the project name being passed where an id is expected | 14:45 |
fungi | i'll open another about the empty story creation | 14:45 |
fungi | 2003651 is for the taskless story creation blocking the modal | 14:51 |
*** jamesmcarthur has joined #storyboard | 14:59 | |
SotK | thanks :) | 15:04 |
*** openstackgerrit has quit IRC | 15:20 | |
*** jamesmcarthur has quit IRC | 15:43 | |
*** jamesmcarthur has joined #storyboard | 15:43 | |
*** jpich has quit IRC | 16:31 | |
*** udesale has quit IRC | 16:51 | |
*** mriedem has joined #storyboard | 17:31 | |
mriedem | so https://docs.openstack.org/infra/storyboard/webapi/v1.html#stories says that stories records have a status | 17:32 |
mriedem | but is the list of available statuses defined somewhere? | 17:32 |
mriedem | is it just these? https://github.com/openstack-infra/storyboard/blob/master/storyboard/db/models.py#L330 | 17:34 |
mriedem | i'm assuming the collection of task statuses determine the overall story status? so if all tasks in a story are invalid, the story itself is invalid? | 17:36 |
*** diablo_rojo has joined #storyboard | 17:47 | |
mriedem | yup i guess it does | 17:55 |
SotK | yes, thats correct | 18:06 |
SotK | all tasks merged or invalid maked the story "merged" | 18:07 |
SotK | currently any other combination is "active" | 18:07 |
*** jamesmcarthur has quit IRC | 18:12 | |
*** dtantsur is now known as dtantsur|afk | 18:21 | |
*** jamesmcarthur has joined #storyboard | 18:32 | |
*** jamesmcarthur has quit IRC | 18:36 | |
*** jamesmcarthur has joined #storyboard | 19:11 | |
*** jamesmcarthur has quit IRC | 19:15 | |
*** jamesmcarthur_ has joined #storyboard | 19:15 | |
*** mriedem has left #storyboard | 19:19 | |
*** lbragstad has joined #storyboard | 19:19 | |
lbragstad | i have a quick query question - is it possible to filter a story by task status? | 19:20 |
lbragstad | for example - say i wanted to filter all projects that have this goal 'In Progress' https://storyboard.openstack.org/#!/story/2001546 | 19:20 |
lbragstad | i tried doing something like story:$TITLE AND status:'In Progress' but it didn't return anything | 19:21 |
*** jamesmcarthur_ has quit IRC | 19:33 | |
persia | lbragstad: I think not in the base UI. I think you can with automatic worklists, where the query results populate a worklist. Alternately, you should be able to do so fairly easily with the API directly, if you have another plan on how to view it. | 19:40 |
lbragstad | ack | 19:40 |
*** jamesmcarthur has joined #storyboard | 20:21 | |
SotK | I don't think even the api supports filtering stories by *task* status at the moment | 21:25 |
SotK | filtering by inferred story status works, but that might not be fine-grained enough (either Active, Merged, or Invalid atm) | 21:26 |
*** openstackgerrit has joined #storyboard | 21:36 | |
openstackgerrit | Adam Coldrick proposed openstack-infra/storyboard master: Support getting project groups by name https://review.openstack.org/590047 | 21:36 |
openstackgerrit | Adam Coldrick proposed openstack-infra/storyboard master: Support getting project groups by name https://review.openstack.org/590047 | 21:41 |
*** jamesmcarthur has quit IRC | 22:50 | |
*** jamesmcarthur has joined #storyboard | 22:51 | |
*** jamesmcarthur has quit IRC | 22:52 | |
*** jamesmcarthur has joined #storyboard | 23:44 | |
*** tosky has quit IRC | 23:48 | |
*** jamesmcarthur has quit IRC | 23:48 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!