{"action":"created","comment":{"url":"https://api.github.com/repos/slamdata/slamdata/pulls/comments/27584162","id":27584162,"diff_hunk":"@@ -1,58 +1,75 @@\n+-- | Input, output messages and state\n module Model where\n \n+import  Control.Timer (Timeout())\n import Data.Maybe\n+import Data.Foreign\n+import Data.Foreign.Class\n import Data.Either\n-import Data.Tuple\n-import Data.Monoid.All (All(..), runAll)\n-import Data.Foldable (fold)\n-import Data.String (toLower, indexOf, localeCompare)\n-import Data.Argonaut.Decode (decodeJson, DecodeJson)\n-import Text.SlamSearch.Parser (parseSearchQuery, SearchQuery(..)) \n-import Text.SlamSearch.Parser.Terms (\n-  SearchTerm(..), SearchTermSimple(..), Predicate(..), Label(..)\n-  )\n-import Text.SlamSearch.Parser.Values (Value(..))\n-import Data.Minimatch (minimatch)\n-\n+import DOM\n+import qualified Data.String.Regex as Rgx\n+\n+-- | Input messages \n+data Input\n+  = Sorting Sort\n+  | BreadcrumbUpdate [Breadcrumb]","path":"src/Model.purs","position":null,"original_position":27,"commit_id":"69bc29b6189d2ec7d4c4a9ce78526092c04f2ff6","original_commit_id":"a13970539609f0a330fdcb2665cce72b5f226a30","user":{"login":"cryogenian","id":10245930,"avatar_url":"https://avatars.githubusercontent.com/u/10245930?v=3","gravatar_id":"","url":"https://api.github.com/users/cryogenian","html_url":"https://github.com/cryogenian","followers_url":"https://api.github.com/users/cryogenian/followers","following_url":"https://api.github.com/users/cryogenian/following{/other_user}","gists_url":"https://api.github.com/users/cryogenian/gists{/gist_id}","starred_url":"https://api.github.com/users/cryogenian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryogenian/subscriptions","organizations_url":"https://api.github.com/users/cryogenian/orgs","repos_url":"https://api.github.com/users/cryogenian/repos","events_url":"https://api.github.com/users/cryogenian/events{/privacy}","received_events_url":"https://api.github.com/users/cryogenian/received_events","type":"User","site_admin":false},"body":"Sounds great! ","created_at":"2015-04-01T16:10:12Z","updated_at":"2015-04-01T16:10:12Z","html_url":"https://github.com/slamdata/slamdata/pull/22#discussion_r27584162","pull_request_url":"https://api.github.com/repos/slamdata/slamdata/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/comments/27584162"},"html":{"href":"https://github.com/slamdata/slamdata/pull/22#discussion_r27584162"},"pull_request":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/slamdata/slamdata/pulls/22","id":32333295,"html_url":"https://github.com/slamdata/slamdata/pull/22","diff_url":"https://github.com/slamdata/slamdata/pull/22.diff","patch_url":"https://github.com/slamdata/slamdata/pull/22.patch","issue_url":"https://api.github.com/repos/slamdata/slamdata/issues/22","number":22,"state":"open","locked":false,"title":"Halogen","user":{"login":"cryogenian","id":10245930,"avatar_url":"https://avatars.githubusercontent.com/u/10245930?v=3","gravatar_id":"","url":"https://api.github.com/users/cryogenian","html_url":"https://github.com/cryogenian","followers_url":"https://api.github.com/users/cryogenian/followers","following_url":"https://api.github.com/users/cryogenian/following{/other_user}","gists_url":"https://api.github.com/users/cryogenian/gists{/gist_id}","starred_url":"https://api.github.com/users/cryogenian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryogenian/subscriptions","organizations_url":"https://api.github.com/users/cryogenian/orgs","repos_url":"https://api.github.com/users/cryogenian/repos","events_url":"https://api.github.com/users/cryogenian/events{/privacy}","received_events_url":"https://api.github.com/users/cryogenian/received_events","type":"User","site_admin":false},"body":"I think it resolves #1, #4, #8. \r\n\r\nPlease make another ticket with __move/rename__ and __share__ buttons. \r\n","created_at":"2015-03-31T15:23:34Z","updated_at":"2015-04-01T16:10:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6e6b968f6f5628e0bcdbef57751432da4a5a802","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/slamdata/slamdata/pulls/22/commits","review_comments_url":"https://api.github.com/repos/slamdata/slamdata/pulls/22/comments","review_comment_url":"https://api.github.com/repos/slamdata/slamdata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/slamdata/slamdata/issues/22/comments","statuses_url":"https://api.github.com/repos/slamdata/slamdata/statuses/69bc29b6189d2ec7d4c4a9ce78526092c04f2ff6","head":{"label":"cryogenian:halogen","ref":"halogen","sha":"69bc29b6189d2ec7d4c4a9ce78526092c04f2ff6","user":{"login":"cryogenian","id":10245930,"avatar_url":"https://avatars.githubusercontent.com/u/10245930?v=3","gravatar_id":"","url":"https://api.github.com/users/cryogenian","html_url":"https://github.com/cryogenian","followers_url":"https://api.github.com/users/cryogenian/followers","following_url":"https://api.github.com/users/cryogenian/following{/other_user}","gists_url":"https://api.github.com/users/cryogenian/gists{/gist_id}","starred_url":"https://api.github.com/users/cryogenian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryogenian/subscriptions","organizations_url":"https://api.github.com/users/cryogenian/orgs","repos_url":"https://api.github.com/users/cryogenian/repos","events_url":"https://api.github.com/users/cryogenian/events{/privacy}","received_events_url":"https://api.github.com/users/cryogenian/received_events","type":"User","site_admin":false},"repo":{"id":30622455,"name":"slamdata","full_name":"cryogenian/slamdata","owner":{"login":"cryogenian","id":10245930,"avatar_url":"https://avatars.githubusercontent.com/u/10245930?v=3","gravatar_id":"","url":"https://api.github.com/users/cryogenian","html_url":"https://github.com/cryogenian","followers_url":"https://api.github.com/users/cryogenian/followers","following_url":"https://api.github.com/users/cryogenian/following{/other_user}","gists_url":"https://api.github.com/users/cryogenian/gists{/gist_id}","starred_url":"https://api.github.com/users/cryogenian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryogenian/subscriptions","organizations_url":"https://api.github.com/users/cryogenian/orgs","repos_url":"https://api.github.com/users/cryogenian/repos","events_url":"https://api.github.com/users/cryogenian/events{/privacy}","received_events_url":"https://api.github.com/users/cryogenian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cryogenian/slamdata","description":"The web-based front-end for SlamData.","fork":true,"url":"https://api.github.com/repos/cryogenian/slamdata","forks_url":"https://api.github.com/repos/cryogenian/slamdata/forks","keys_url":"https://api.github.com/repos/cryogenian/slamdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cryogenian/slamdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cryogenian/slamdata/teams","hooks_url":"https://api.github.com/repos/cryogenian/slamdata/hooks","issue_events_url":"https://api.github.com/repos/cryogenian/slamdata/issues/events{/number}","events_url":"https://api.github.com/repos/cryogenian/slamdata/events","assignees_url":"https://api.github.com/repos/cryogenian/slamdata/assignees{/user}","branches_url":"https://api.github.com/repos/cryogenian/slamdata/branches{/branch}","tags_url":"https://api.github.com/repos/cryogenian/slamdata/tags","blobs_url":"https://api.github.com/repos/cryogenian/slamdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cryogenian/slamdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cryogenian/slamdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/cryogenian/slamdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cryogenian/slamdata/statuses/{sha}","languages_url":"https://api.github.com/repos/cryogenian/slamdata/languages","stargazers_url":"https://api.github.com/repos/cryogenian/slamdata/stargazers","contributors_url":"https://api.github.com/repos/cryogenian/slamdata/contributors","subscribers_url":"https://api.github.com/repos/cryogenian/slamdata/subscribers","subscription_url":"https://api.github.com/repos/cryogenian/slamdata/subscription","commits_url":"https://api.github.com/repos/cryogenian/slamdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/cryogenian/slamdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/cryogenian/slamdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/cryogenian/slamdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/cryogenian/slamdata/contents/{+path}","compare_url":"https://api.github.com/repos/cryogenian/slamdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cryogenian/slamdata/merges","archive_url":"https://api.github.com/repos/cryogenian/slamdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cryogenian/slamdata/downloads","issues_url":"https://api.github.com/repos/cryogenian/slamdata/issues{/number}","pulls_url":"https://api.github.com/repos/cryogenian/slamdata/pulls{/number}","milestones_url":"https://api.github.com/repos/cryogenian/slamdata/milestones{/number}","notifications_url":"https://api.github.com/repos/cryogenian/slamdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cryogenian/slamdata/labels{/name}","releases_url":"https://api.github.com/repos/cryogenian/slamdata/releases{/id}","created_at":"2015-02-11T00:36:12Z","updated_at":"2015-03-27T14:27:35Z","pushed_at":"2015-04-01T13:38:36Z","git_url":"git://github.com/cryogenian/slamdata.git","ssh_url":"git@github.com:cryogenian/slamdata.git","clone_url":"https://github.com/cryogenian/slamdata.git","svn_url":"https://github.com/cryogenian/slamdata","homepage":null,"size":535,"stargazers_count":0,"watchers_count":0,"language":"PureScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"slamdata:master","ref":"master","sha":"dab5e79b1a89c431b7ba2610ed0f85a5e105bb03","user":{"login":"slamdata","id":5385602,"avatar_url":"https://avatars.githubusercontent.com/u/5385602?v=3","gravatar_id":"","url":"https://api.github.com/users/slamdata","html_url":"https://github.com/slamdata","followers_url":"https://api.github.com/users/slamdata/followers","following_url":"https://api.github.com/users/slamdata/following{/other_user}","gists_url":"https://api.github.com/users/slamdata/gists{/gist_id}","starred_url":"https://api.github.com/users/slamdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slamdata/subscriptions","organizations_url":"https://api.github.com/users/slamdata/orgs","repos_url":"https://api.github.com/users/slamdata/repos","events_url":"https://api.github.com/users/slamdata/events{/privacy}","received_events_url":"https://api.github.com/users/slamdata/received_events","type":"Organization","site_admin":false},"repo":{"id":30566154,"name":"slamdata","full_name":"slamdata/slamdata","owner":{"login":"slamdata","id":5385602,"avatar_url":"https://avatars.githubusercontent.com/u/5385602?v=3","gravatar_id":"","url":"https://api.github.com/users/slamdata","html_url":"https://github.com/slamdata","followers_url":"https://api.github.com/users/slamdata/followers","following_url":"https://api.github.com/users/slamdata/following{/other_user}","gists_url":"https://api.github.com/users/slamdata/gists{/gist_id}","starred_url":"https://api.github.com/users/slamdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slamdata/subscriptions","organizations_url":"https://api.github.com/users/slamdata/orgs","repos_url":"https://api.github.com/users/slamdata/repos","events_url":"https://api.github.com/users/slamdata/events{/privacy}","received_events_url":"https://api.github.com/users/slamdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/slamdata/slamdata","description":"The web-based front-end for SlamData.","fork":false,"url":"https://api.github.com/repos/slamdata/slamdata","forks_url":"https://api.github.com/repos/slamdata/slamdata/forks","keys_url":"https://api.github.com/repos/slamdata/slamdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slamdata/slamdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slamdata/slamdata/teams","hooks_url":"https://api.github.com/repos/slamdata/slamdata/hooks","issue_events_url":"https://api.github.com/repos/slamdata/slamdata/issues/events{/number}","events_url":"https://api.github.com/repos/slamdata/slamdata/events","assignees_url":"https://api.github.com/repos/slamdata/slamdata/assignees{/user}","branches_url":"https://api.github.com/repos/slamdata/slamdata/branches{/branch}","tags_url":"https://api.github.com/repos/slamdata/slamdata/tags","blobs_url":"https://api.github.com/repos/slamdata/slamdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slamdata/slamdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slamdata/slamdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/slamdata/slamdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slamdata/slamdata/statuses/{sha}","languages_url":"https://api.github.com/repos/slamdata/slamdata/languages","stargazers_url":"https://api.github.com/repos/slamdata/slamdata/stargazers","contributors_url":"https://api.github.com/repos/slamdata/slamdata/contributors","subscribers_url":"https://api.github.com/repos/slamdata/slamdata/subscribers","subscription_url":"https://api.github.com/repos/slamdata/slamdata/subscription","commits_url":"https://api.github.com/repos/slamdata/slamdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/slamdata/slamdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/slamdata/slamdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/slamdata/slamdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/slamdata/slamdata/contents/{+path}","compare_url":"https://api.github.com/repos/slamdata/slamdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slamdata/slamdata/merges","archive_url":"https://api.github.com/repos/slamdata/slamdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slamdata/slamdata/downloads","issues_url":"https://api.github.com/repos/slamdata/slamdata/issues{/number}","pulls_url":"https://api.github.com/repos/slamdata/slamdata/pulls{/number}","milestones_url":"https://api.github.com/repos/slamdata/slamdata/milestones{/number}","notifications_url":"https://api.github.com/repos/slamdata/slamdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slamdata/slamdata/labels{/name}","releases_url":"https://api.github.com/repos/slamdata/slamdata/releases{/id}","created_at":"2015-02-10T00:14:37Z","updated_at":"2015-03-30T10:21:27Z","pushed_at":"2015-04-01T13:38:36Z","git_url":"git://github.com/slamdata/slamdata.git","ssh_url":"git@github.com:slamdata/slamdata.git","clone_url":"https://github.com/slamdata/slamdata.git","svn_url":"https://github.com/slamdata/slamdata","homepage":null,"size":431,"stargazers_count":3,"watchers_count":3,"language":"PureScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":16,"forks":3,"open_issues":16,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/22"},"html":{"href":"https://github.com/slamdata/slamdata/pull/22"},"issue":{"href":"https://api.github.com/repos/slamdata/slamdata/issues/22"},"comments":{"href":"https://api.github.com/repos/slamdata/slamdata/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/slamdata/slamdata/statuses/69bc29b6189d2ec7d4c4a9ce78526092c04f2ff6"}}}}