{"action":"closed","number":1764,"pull_request":{"url":"https://api.github.com/repos/ExactTarget/fuelux/pulls/1764","id":63008833,"html_url":"https://github.com/ExactTarget/fuelux/pull/1764","diff_url":"https://github.com/ExactTarget/fuelux/pull/1764.diff","patch_url":"https://github.com/ExactTarget/fuelux/pull/1764.patch","issue_url":"https://api.github.com/repos/ExactTarget/fuelux/issues/1764","number":1764,"state":"closed","locked":false,"title":"Adds ability to cancel repeater search","user":{"login":"scott-joe","id":2026866,"avatar_url":"https://avatars.githubusercontent.com/u/2026866?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-joe","html_url":"https://github.com/scott-joe","followers_url":"https://api.github.com/users/scott-joe/followers","following_url":"https://api.github.com/users/scott-joe/following{/other_user}","gists_url":"https://api.github.com/users/scott-joe/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-joe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-joe/subscriptions","organizations_url":"https://api.github.com/users/scott-joe/orgs","repos_url":"https://api.github.com/users/scott-joe/repos","events_url":"https://api.github.com/users/scott-joe/events{/privacy}","received_events_url":"https://api.github.com/users/scott-joe/received_events","type":"User","site_admin":false},"body":"Fixes #1733 \r\n\r\n- Added `pending` state to Search\r\n- Added `allowsCancel` option to Search. Defaults to `FALSE`\r\n- Repeater initializes Search with `allowsCancel: TRUE`\r\n- On search, Search issues `searchChange` event to Repeater. Repeater disables Search, which with the `allowsCancel` option, does not disable the button. When Repeater is finished rendering, the `rendered` event is pushed to Search, removing the `pending` status and class. This returns the button to Clear functionality. If the button is pushed during `pending` status, the `canceled` event is pushed to Repeater. Repeater receives this event, and pushes it's own event out for the datasource to handle the cancelation of the XHR request or simply ignoring the results. Meanwhile, a render is performed and Search is cleared as normal.\r\n- Attempted to write a unit test for this, but the existing unit tests don't seem to perform all 3 cases, so I'll need advising on how this was intended to work, and how I can fix both perhaps.\r\n- Docs PR to follow after solution is merged\r\n\r\n\r\n \r\n","created_at":"2016-03-16T03:17:15Z","updated_at":"2016-03-21T19:44:33Z","closed_at":"2016-03-21T19:44:33Z","merged_at":"2016-03-21T19:44:33Z","merge_commit_sha":"accd51f1c40813ea7c29248e6323b93ae67e12ce","assignee":{"login":"futuremint","id":5891,"avatar_url":"https://avatars.githubusercontent.com/u/5891?v=3","gravatar_id":"","url":"https://api.github.com/users/futuremint","html_url":"https://github.com/futuremint","followers_url":"https://api.github.com/users/futuremint/followers","following_url":"https://api.github.com/users/futuremint/following{/other_user}","gists_url":"https://api.github.com/users/futuremint/gists{/gist_id}","starred_url":"https://api.github.com/users/futuremint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/futuremint/subscriptions","organizations_url":"https://api.github.com/users/futuremint/orgs","repos_url":"https://api.github.com/users/futuremint/repos","events_url":"https://api.github.com/users/futuremint/events{/privacy}","received_events_url":"https://api.github.com/users/futuremint/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ExactTarget/fuelux/pulls/1764/commits","review_comments_url":"https://api.github.com/repos/ExactTarget/fuelux/pulls/1764/comments","review_comment_url":"https://api.github.com/repos/ExactTarget/fuelux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ExactTarget/fuelux/issues/1764/comments","statuses_url":"https://api.github.com/repos/ExactTarget/fuelux/statuses/e585370634693ca1ce67defeba439dedcf8d71a6","head":{"label":"scott-joe:master","ref":"master","sha":"e585370634693ca1ce67defeba439dedcf8d71a6","user":{"login":"scott-joe","id":2026866,"avatar_url":"https://avatars.githubusercontent.com/u/2026866?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-joe","html_url":"https://github.com/scott-joe","followers_url":"https://api.github.com/users/scott-joe/followers","following_url":"https://api.github.com/users/scott-joe/following{/other_user}","gists_url":"https://api.github.com/users/scott-joe/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-joe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-joe/subscriptions","organizations_url":"https://api.github.com/users/scott-joe/orgs","repos_url":"https://api.github.com/users/scott-joe/repos","events_url":"https://api.github.com/users/scott-joe/events{/privacy}","received_events_url":"https://api.github.com/users/scott-joe/received_events","type":"User","site_admin":false},"repo":{"id":29479608,"name":"fuelux","full_name":"scott-joe/fuelux","owner":{"login":"scott-joe","id":2026866,"avatar_url":"https://avatars.githubusercontent.com/u/2026866?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-joe","html_url":"https://github.com/scott-joe","followers_url":"https://api.github.com/users/scott-joe/followers","following_url":"https://api.github.com/users/scott-joe/following{/other_user}","gists_url":"https://api.github.com/users/scott-joe/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-joe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-joe/subscriptions","organizations_url":"https://api.github.com/users/scott-joe/orgs","repos_url":"https://api.github.com/users/scott-joe/repos","events_url":"https://api.github.com/users/scott-joe/events{/privacy}","received_events_url":"https://api.github.com/users/scott-joe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scott-joe/fuelux","description":"Extends Twitter Bootstrap with additional lightweight JavaScript controls. Easy to install, customize, update, and optimize. All functionality covered by live documentation and unit tests.","fork":true,"url":"https://api.github.com/repos/scott-joe/fuelux","forks_url":"https://api.github.com/repos/scott-joe/fuelux/forks","keys_url":"https://api.github.com/repos/scott-joe/fuelux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scott-joe/fuelux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scott-joe/fuelux/teams","hooks_url":"https://api.github.com/repos/scott-joe/fuelux/hooks","issue_events_url":"https://api.github.com/repos/scott-joe/fuelux/issues/events{/number}","events_url":"https://api.github.com/repos/scott-joe/fuelux/events","assignees_url":"https://api.github.com/repos/scott-joe/fuelux/assignees{/user}","branches_url":"https://api.github.com/repos/scott-joe/fuelux/branches{/branch}","tags_url":"https://api.github.com/repos/scott-joe/fuelux/tags","blobs_url":"https://api.github.com/repos/scott-joe/fuelux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scott-joe/fuelux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scott-joe/fuelux/git/refs{/sha}","trees_url":"https://api.github.com/repos/scott-joe/fuelux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scott-joe/fuelux/statuses/{sha}","languages_url":"https://api.github.com/repos/scott-joe/fuelux/languages","stargazers_url":"https://api.github.com/repos/scott-joe/fuelux/stargazers","contributors_url":"https://api.github.com/repos/scott-joe/fuelux/contributors","subscribers_url":"https://api.github.com/repos/scott-joe/fuelux/subscribers","subscription_url":"https://api.github.com/repos/scott-joe/fuelux/subscription","commits_url":"https://api.github.com/repos/scott-joe/fuelux/commits{/sha}","git_commits_url":"https://api.github.com/repos/scott-joe/fuelux/git/commits{/sha}","comments_url":"https://api.github.com/repos/scott-joe/fuelux/comments{/number}","issue_comment_url":"https://api.github.com/repos/scott-joe/fuelux/issues/comments{/number}","contents_url":"https://api.github.com/repos/scott-joe/fuelux/contents/{+path}","compare_url":"https://api.github.com/repos/scott-joe/fuelux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scott-joe/fuelux/merges","archive_url":"https://api.github.com/repos/scott-joe/fuelux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scott-joe/fuelux/downloads","issues_url":"https://api.github.com/repos/scott-joe/fuelux/issues{/number}","pulls_url":"https://api.github.com/repos/scott-joe/fuelux/pulls{/number}","milestones_url":"https://api.github.com/repos/scott-joe/fuelux/milestones{/number}","notifications_url":"https://api.github.com/repos/scott-joe/fuelux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scott-joe/fuelux/labels{/name}","releases_url":"https://api.github.com/repos/scott-joe/fuelux/releases{/id}","deployments_url":"https://api.github.com/repos/scott-joe/fuelux/deployments","created_at":"2015-01-19T16:20:30Z","updated_at":"2016-03-08T23:41:03Z","pushed_at":"2016-03-19T00:23:53Z","git_url":"git://github.com/scott-joe/fuelux.git","ssh_url":"git@github.com:scott-joe/fuelux.git","clone_url":"https://github.com/scott-joe/fuelux.git","svn_url":"https://github.com/scott-joe/fuelux","homepage":"http://getFuelUX.com","size":166586,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ExactTarget:master","ref":"master","sha":"712ea85463ac39bb765e3c8a9d89758e536cc0e6","user":{"login":"ExactTarget","id":1648421,"avatar_url":"https://avatars.githubusercontent.com/u/1648421?v=3","gravatar_id":"","url":"https://api.github.com/users/ExactTarget","html_url":"https://github.com/ExactTarget","followers_url":"https://api.github.com/users/ExactTarget/followers","following_url":"https://api.github.com/users/ExactTarget/following{/other_user}","gists_url":"https://api.github.com/users/ExactTarget/gists{/gist_id}","starred_url":"https://api.github.com/users/ExactTarget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExactTarget/subscriptions","organizations_url":"https://api.github.com/users/ExactTarget/orgs","repos_url":"https://api.github.com/users/ExactTarget/repos","events_url":"https://api.github.com/users/ExactTarget/events{/privacy}","received_events_url":"https://api.github.com/users/ExactTarget/received_events","type":"Organization","site_admin":false},"repo":{"id":4924151,"name":"fuelux","full_name":"ExactTarget/fuelux","owner":{"login":"ExactTarget","id":1648421,"avatar_url":"https://avatars.githubusercontent.com/u/1648421?v=3","gravatar_id":"","url":"https://api.github.com/users/ExactTarget","html_url":"https://github.com/ExactTarget","followers_url":"https://api.github.com/users/ExactTarget/followers","following_url":"https://api.github.com/users/ExactTarget/following{/other_user}","gists_url":"https://api.github.com/users/ExactTarget/gists{/gist_id}","starred_url":"https://api.github.com/users/ExactTarget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExactTarget/subscriptions","organizations_url":"https://api.github.com/users/ExactTarget/orgs","repos_url":"https://api.github.com/users/ExactTarget/repos","events_url":"https://api.github.com/users/ExactTarget/events{/privacy}","received_events_url":"https://api.github.com/users/ExactTarget/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ExactTarget/fuelux","description":"Extends Twitter Bootstrap with additional lightweight JavaScript controls. Easy to install, customize, update, and optimize. All functionality covered by live documentation and unit tests.","fork":false,"url":"https://api.github.com/repos/ExactTarget/fuelux","forks_url":"https://api.github.com/repos/ExactTarget/fuelux/forks","keys_url":"https://api.github.com/repos/ExactTarget/fuelux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ExactTarget/fuelux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ExactTarget/fuelux/teams","hooks_url":"https://api.github.com/repos/ExactTarget/fuelux/hooks","issue_events_url":"https://api.github.com/repos/ExactTarget/fuelux/issues/events{/number}","events_url":"https://api.github.com/repos/ExactTarget/fuelux/events","assignees_url":"https://api.github.com/repos/ExactTarget/fuelux/assignees{/user}","branches_url":"https://api.github.com/repos/ExactTarget/fuelux/branches{/branch}","tags_url":"https://api.github.com/repos/ExactTarget/fuelux/tags","blobs_url":"https://api.github.com/repos/ExactTarget/fuelux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ExactTarget/fuelux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ExactTarget/fuelux/git/refs{/sha}","trees_url":"https://api.github.com/repos/ExactTarget/fuelux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ExactTarget/fuelux/statuses/{sha}","languages_url":"https://api.github.com/repos/ExactTarget/fuelux/languages","stargazers_url":"https://api.github.com/repos/ExactTarget/fuelux/stargazers","contributors_url":"https://api.github.com/repos/ExactTarget/fuelux/contributors","subscribers_url":"https://api.github.com/repos/ExactTarget/fuelux/subscribers","subscription_url":"https://api.github.com/repos/ExactTarget/fuelux/subscription","commits_url":"https://api.github.com/repos/ExactTarget/fuelux/commits{/sha}","git_commits_url":"https://api.github.com/repos/ExactTarget/fuelux/git/commits{/sha}","comments_url":"https://api.github.com/repos/ExactTarget/fuelux/comments{/number}","issue_comment_url":"https://api.github.com/repos/ExactTarget/fuelux/issues/comments{/number}","contents_url":"https://api.github.com/repos/ExactTarget/fuelux/contents/{+path}","compare_url":"https://api.github.com/repos/ExactTarget/fuelux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ExactTarget/fuelux/merges","archive_url":"https://api.github.com/repos/ExactTarget/fuelux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ExactTarget/fuelux/downloads","issues_url":"https://api.github.com/repos/ExactTarget/fuelux/issues{/number}","pulls_url":"https://api.github.com/repos/ExactTarget/fuelux/pulls{/number}","milestones_url":"https://api.github.com/repos/ExactTarget/fuelux/milestones{/number}","notifications_url":"https://api.github.com/repos/ExactTarget/fuelux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ExactTarget/fuelux/labels{/name}","releases_url":"https://api.github.com/repos/ExactTarget/fuelux/releases{/id}","deployments_url":"https://api.github.com/repos/ExactTarget/fuelux/deployments","created_at":"2012-07-06T12:12:47Z","updated_at":"2016-03-21T11:50:39Z","pushed_at":"2016-03-21T19:44:33Z","git_url":"git://github.com/ExactTarget/fuelux.git","ssh_url":"git@github.com:ExactTarget/fuelux.git","clone_url":"https://github.com/ExactTarget/fuelux.git","svn_url":"https://github.com/ExactTarget/fuelux","homepage":"http://getFuelUX.com","size":173769,"stargazers_count":5072,"watchers_count":5072,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1105,"mirror_url":null,"open_issues_count":103,"forks":1105,"open_issues":103,"watchers":5072,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ExactTarget/fuelux/pulls/1764"},"html":{"href":"https://github.com/ExactTarget/fuelux/pull/1764"},"issue":{"href":"https://api.github.com/repos/ExactTarget/fuelux/issues/1764"},"comments":{"href":"https://api.github.com/repos/ExactTarget/fuelux/issues/1764/comments"},"review_comments":{"href":"https://api.github.com/repos/ExactTarget/fuelux/pulls/1764/comments"},"review_comment":{"href":"https://api.github.com/repos/ExactTarget/fuelux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ExactTarget/fuelux/pulls/1764/commits"},"statuses":{"href":"https://api.github.com/repos/ExactTarget/fuelux/statuses/e585370634693ca1ce67defeba439dedcf8d71a6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"futuremint","id":5891,"avatar_url":"https://avatars.githubusercontent.com/u/5891?v=3","gravatar_id":"","url":"https://api.github.com/users/futuremint","html_url":"https://github.com/futuremint","followers_url":"https://api.github.com/users/futuremint/followers","following_url":"https://api.github.com/users/futuremint/following{/other_user}","gists_url":"https://api.github.com/users/futuremint/gists{/gist_id}","starred_url":"https://api.github.com/users/futuremint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/futuremint/subscriptions","organizations_url":"https://api.github.com/users/futuremint/orgs","repos_url":"https://api.github.com/users/futuremint/repos","events_url":"https://api.github.com/users/futuremint/events{/privacy}","received_events_url":"https://api.github.com/users/futuremint/received_events","type":"User","site_admin":false},"comments":1,"review_comments":10,"commits":5,"additions":73,"deletions":20,"changed_files":3}}