{"action":"created","issue":{"url":"https://api.github.com/repos/slamdata/slamdata/issues/154","labels_url":"https://api.github.com/repos/slamdata/slamdata/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/slamdata/slamdata/issues/154/comments","events_url":"https://api.github.com/repos/slamdata/slamdata/issues/154/events","html_url":"https://github.com/slamdata/slamdata/issues/154","id":81662310,"number":154,"title":"cells which produce data urls must have labeled output","user":{"login":"jdegoes","id":156745,"avatar_url":"https://avatars.githubusercontent.com/u/156745?v=3","gravatar_id":"","url":"https://api.github.com/users/jdegoes","html_url":"https://github.com/jdegoes","followers_url":"https://api.github.com/users/jdegoes/followers","following_url":"https://api.github.com/users/jdegoes/following{/other_user}","gists_url":"https://api.github.com/users/jdegoes/gists{/gist_id}","starred_url":"https://api.github.com/users/jdegoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdegoes/subscriptions","organizations_url":"https://api.github.com/users/jdegoes/orgs","repos_url":"https://api.github.com/users/jdegoes/repos","events_url":"https://api.github.com/users/jdegoes/events{/privacy}","received_events_url":"https://api.github.com/users/jdegoes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slamdata/slamdata/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/slamdata/slamdata/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"garyb","id":693642,"avatar_url":"https://avatars.githubusercontent.com/u/693642?v=3","gravatar_id":"","url":"https://api.github.com/users/garyb","html_url":"https://github.com/garyb","followers_url":"https://api.github.com/users/garyb/followers","following_url":"https://api.github.com/users/garyb/following{/other_user}","gists_url":"https://api.github.com/users/garyb/gists{/gist_id}","starred_url":"https://api.github.com/users/garyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyb/subscriptions","organizations_url":"https://api.github.com/users/garyb/orgs","repos_url":"https://api.github.com/users/garyb/repos","events_url":"https://api.github.com/users/garyb/events{/privacy}","received_events_url":"https://api.github.com/users/garyb/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/slamdata/slamdata/milestones/1","html_url":"https://github.com/slamdata/slamdata/milestones/2.0","labels_url":"https://api.github.com/repos/slamdata/slamdata/milestones/1/labels","id":973933,"number":1,"title":"2.0","description":"","creator":{"login":"jdegoes","id":156745,"avatar_url":"https://avatars.githubusercontent.com/u/156745?v=3","gravatar_id":"","url":"https://api.github.com/users/jdegoes","html_url":"https://github.com/jdegoes","followers_url":"https://api.github.com/users/jdegoes/followers","following_url":"https://api.github.com/users/jdegoes/following{/other_user}","gists_url":"https://api.github.com/users/jdegoes/gists{/gist_id}","starred_url":"https://api.github.com/users/jdegoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdegoes/subscriptions","organizations_url":"https://api.github.com/users/jdegoes/orgs","repos_url":"https://api.github.com/users/jdegoes/repos","events_url":"https://api.github.com/users/jdegoes/events{/privacy}","received_events_url":"https://api.github.com/users/jdegoes/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":45,"state":"open","created_at":"2015-02-10T17:03:54Z","updated_at":"2015-05-30T11:56:21Z","due_on":"2015-05-25T06:00:00Z","closed_at":null},"comments":1,"created_at":"2015-05-27T23:02:21Z","updated_at":"2015-05-30T15:14:54Z","closed_at":null,"body":"Cells that produce intermediate result sets must have labeled outputs (`out1`, `out2`, ...), so that users know what *name* to refer to these intermediate data sets by. This labeling must be in a consistent location, and not affect other elements of cells which are the same across all cell types.\r\n\r\nCurrently, the \"next actions\" toolbar has a somewhat useless arrow `>` in the left margin, which we can replace with the label of the data output (e.g. `out1`, `out2`), allowing all options to be visible at all times. \r\n\r\nThis layout, which consists of the label for a cell output followed by actions, will help make it clear that the actions operate on the specified labeled data set, because the actions spatially *follow* the data set.\r\n\r\nFor cells that do not produce an intermediate data set, we can keep 'next actions' in the same place, but use the output label space for the plus (`+`) icon which is currently used to create new cells.\r\n\r\nThus, the output label will either be a named data set, stored in the notebook, or it will be a plus icon which indicates the creation of a new independent cell which does not depend on any other cell.\r\n\r\nThis currently affects search and query cell types, which both produce labeled intermediate data sets (`out1`, etc.), which the user can refer to in subsequent queries, searches, charts, explorations, etc. After this ticket is completed, the user will know what those labels are, and be able to refer to them by name in subsequent steps in the data processing pipeline."},"comment":{"url":"https://api.github.com/repos/slamdata/slamdata/issues/comments/107051948","html_url":"https://github.com/slamdata/slamdata/issues/154#issuecomment-107051948","issue_url":"https://api.github.com/repos/slamdata/slamdata/issues/154","id":107051948,"user":{"login":"garyb","id":693642,"avatar_url":"https://avatars.githubusercontent.com/u/693642?v=3","gravatar_id":"","url":"https://api.github.com/users/garyb","html_url":"https://github.com/garyb","followers_url":"https://api.github.com/users/garyb/followers","following_url":"https://api.github.com/users/garyb/following{/other_user}","gists_url":"https://api.github.com/users/garyb/gists{/gist_id}","starred_url":"https://api.github.com/users/garyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyb/subscriptions","organizations_url":"https://api.github.com/users/garyb/orgs","repos_url":"https://api.github.com/users/garyb/repos","events_url":"https://api.github.com/users/garyb/events{/privacy}","received_events_url":"https://api.github.com/users/garyb/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T15:14:54Z","updated_at":"2015-05-30T15:14:54Z","body":"This issue and #137 both concern the handling of labelling and 'next actions' and have slightly different suggestions, so after thinking about both, I'd suggest a 3rd approach entirely :wink:\r\n\r\nI looked back at the original ticket for the evaluatable cell, and in that it has the output label on the left of the results display. I think this is much clearer than having it down at the bottom with next actions, so I propose that we put the label there, and then add a + button underneath it which opens a menu for the next-action cells that is like the + button at the bottom - large icons, etc.\r\n\r\nThis does mean you need two clicks to add the next cell still, but I think having the + in the side next to the results makes the connection much more clearly than having it sitting in a row underneath the results, given there isn't much visual hierarchy when the cells are stacked one after another.\r\n\r\nThis way we also keep the + at the end of the cell list, and as it sits outside any existing cells it should reinforce the idea that its not creating cells based on any existing values, but adding a fresh cell to the notebook. I'll also make it so cells always get added to the end rather than the top, as that does seem weird."}}