{"action":"closed","number":7301,"pull_request":{"url":"https://api.github.com/repos/callemall/material-ui/pulls/7301","id":128352779,"html_url":"https://github.com/callemall/material-ui/pull/7301","diff_url":"https://github.com/callemall/material-ui/pull/7301.diff","patch_url":"https://github.com/callemall/material-ui/pull/7301.patch","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/7301","number":7301,"state":"closed","locked":false,"title":"[Snackbar] Close and re-open when onActionTouchTap or onRequestClose changes","user":{"login":"NTag","id":906276,"avatar_url":"https://avatars0.githubusercontent.com/u/906276?v=3","gravatar_id":"","url":"https://api.github.com/users/NTag","html_url":"https://github.com/NTag","followers_url":"https://api.github.com/users/NTag/followers","following_url":"https://api.github.com/users/NTag/following{/other_user}","gists_url":"https://api.github.com/users/NTag/gists{/gist_id}","starred_url":"https://api.github.com/users/NTag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTag/subscriptions","organizations_url":"https://api.github.com/users/NTag/orgs","repos_url":"https://api.github.com/users/NTag/repos","events_url":"https://api.github.com/users/NTag/events{/privacy}","received_events_url":"https://api.github.com/users/NTag/received_events","type":"User","site_admin":false},"body":"Hello,\r\n\r\nImagine the following situation: you have a mailbox with a list of messages. There is a button next to each message to delete it. When you click on one of these buttons, a Snackbar appears \"Message deleted\", with the action \"Undo\".\r\nIf you click on several buttons to delete several messages, the same message exactly is displayed in the Snackbar (however, `onActionTouchTap` is different).\r\n\r\nFor the user, it would be better to see the previous Snackbar disappear and appear again when he/she deletes a new message, even if it displays exactly the same message.\r\n\r\nIn short, this PR closes and opens the Snackbar when `onActionTouchTap` or `onRequestClose` changes (and not only when `message` or `action` changes).","created_at":"2017-06-30T11:45:51Z","updated_at":"2017-06-30T11:56:06Z","closed_at":"2017-06-30T11:56:06Z","merged_at":null,"merge_commit_sha":"4f3aff86ee25cc8aa9a1fe6ba8d2808402b1e2dd","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/callemall/material-ui/pulls/7301/commits","review_comments_url":"https://api.github.com/repos/callemall/material-ui/pulls/7301/comments","review_comment_url":"https://api.github.com/repos/callemall/material-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/7301/comments","statuses_url":"https://api.github.com/repos/callemall/material-ui/statuses/3f1f24f352698886e785c729b00d505d79faf245","head":{"label":"NTag:master","ref":"master","sha":"3f1f24f352698886e785c729b00d505d79faf245","user":{"login":"NTag","id":906276,"avatar_url":"https://avatars0.githubusercontent.com/u/906276?v=3","gravatar_id":"","url":"https://api.github.com/users/NTag","html_url":"https://github.com/NTag","followers_url":"https://api.github.com/users/NTag/followers","following_url":"https://api.github.com/users/NTag/following{/other_user}","gists_url":"https://api.github.com/users/NTag/gists{/gist_id}","starred_url":"https://api.github.com/users/NTag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTag/subscriptions","organizations_url":"https://api.github.com/users/NTag/orgs","repos_url":"https://api.github.com/users/NTag/repos","events_url":"https://api.github.com/users/NTag/events{/privacy}","received_events_url":"https://api.github.com/users/NTag/received_events","type":"User","site_admin":false},"repo":{"id":95882680,"name":"material-ui","full_name":"NTag/material-ui","owner":{"login":"NTag","id":906276,"avatar_url":"https://avatars0.githubusercontent.com/u/906276?v=3","gravatar_id":"","url":"https://api.github.com/users/NTag","html_url":"https://github.com/NTag","followers_url":"https://api.github.com/users/NTag/followers","following_url":"https://api.github.com/users/NTag/following{/other_user}","gists_url":"https://api.github.com/users/NTag/gists{/gist_id}","starred_url":"https://api.github.com/users/NTag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTag/subscriptions","organizations_url":"https://api.github.com/users/NTag/orgs","repos_url":"https://api.github.com/users/NTag/repos","events_url":"https://api.github.com/users/NTag/events{/privacy}","received_events_url":"https://api.github.com/users/NTag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NTag/material-ui","description":"React Components that Implement Google's Material Design.","fork":true,"url":"https://api.github.com/repos/NTag/material-ui","forks_url":"https://api.github.com/repos/NTag/material-ui/forks","keys_url":"https://api.github.com/repos/NTag/material-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NTag/material-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NTag/material-ui/teams","hooks_url":"https://api.github.com/repos/NTag/material-ui/hooks","issue_events_url":"https://api.github.com/repos/NTag/material-ui/issues/events{/number}","events_url":"https://api.github.com/repos/NTag/material-ui/events","assignees_url":"https://api.github.com/repos/NTag/material-ui/assignees{/user}","branches_url":"https://api.github.com/repos/NTag/material-ui/branches{/branch}","tags_url":"https://api.github.com/repos/NTag/material-ui/tags","blobs_url":"https://api.github.com/repos/NTag/material-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NTag/material-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NTag/material-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/NTag/material-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NTag/material-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/NTag/material-ui/languages","stargazers_url":"https://api.github.com/repos/NTag/material-ui/stargazers","contributors_url":"https://api.github.com/repos/NTag/material-ui/contributors","subscribers_url":"https://api.github.com/repos/NTag/material-ui/subscribers","subscription_url":"https://api.github.com/repos/NTag/material-ui/subscription","commits_url":"https://api.github.com/repos/NTag/material-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/NTag/material-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/NTag/material-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/NTag/material-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/NTag/material-ui/contents/{+path}","compare_url":"https://api.github.com/repos/NTag/material-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NTag/material-ui/merges","archive_url":"https://api.github.com/repos/NTag/material-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NTag/material-ui/downloads","issues_url":"https://api.github.com/repos/NTag/material-ui/issues{/number}","pulls_url":"https://api.github.com/repos/NTag/material-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/NTag/material-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/NTag/material-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NTag/material-ui/labels{/name}","releases_url":"https://api.github.com/repos/NTag/material-ui/releases{/id}","deployments_url":"https://api.github.com/repos/NTag/material-ui/deployments","created_at":"2017-06-30T11:31:52Z","updated_at":"2017-06-30T11:31:57Z","pushed_at":"2017-06-30T11:39:27Z","git_url":"git://github.com/NTag/material-ui.git","ssh_url":"git@github.com:NTag/material-ui.git","clone_url":"https://github.com/NTag/material-ui.git","svn_url":"https://github.com/NTag/material-ui","homepage":"http://www.material-ui.com","size":24029,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"callemall:master","ref":"master","sha":"9115950d79e18d48442c1340d666d76e565bad77","user":{"login":"callemall","id":1262264,"avatar_url":"https://avatars2.githubusercontent.com/u/1262264?v=3","gravatar_id":"","url":"https://api.github.com/users/callemall","html_url":"https://github.com/callemall","followers_url":"https://api.github.com/users/callemall/followers","following_url":"https://api.github.com/users/callemall/following{/other_user}","gists_url":"https://api.github.com/users/callemall/gists{/gist_id}","starred_url":"https://api.github.com/users/callemall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callemall/subscriptions","organizations_url":"https://api.github.com/users/callemall/orgs","repos_url":"https://api.github.com/users/callemall/repos","events_url":"https://api.github.com/users/callemall/events{/privacy}","received_events_url":"https://api.github.com/users/callemall/received_events","type":"Organization","site_admin":false},"repo":{"id":23083156,"name":"material-ui","full_name":"callemall/material-ui","owner":{"login":"callemall","id":1262264,"avatar_url":"https://avatars2.githubusercontent.com/u/1262264?v=3","gravatar_id":"","url":"https://api.github.com/users/callemall","html_url":"https://github.com/callemall","followers_url":"https://api.github.com/users/callemall/followers","following_url":"https://api.github.com/users/callemall/following{/other_user}","gists_url":"https://api.github.com/users/callemall/gists{/gist_id}","starred_url":"https://api.github.com/users/callemall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callemall/subscriptions","organizations_url":"https://api.github.com/users/callemall/orgs","repos_url":"https://api.github.com/users/callemall/repos","events_url":"https://api.github.com/users/callemall/events{/privacy}","received_events_url":"https://api.github.com/users/callemall/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/callemall/material-ui","description":"React Components that Implement Google's Material Design.","fork":false,"url":"https://api.github.com/repos/callemall/material-ui","forks_url":"https://api.github.com/repos/callemall/material-ui/forks","keys_url":"https://api.github.com/repos/callemall/material-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/callemall/material-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/callemall/material-ui/teams","hooks_url":"https://api.github.com/repos/callemall/material-ui/hooks","issue_events_url":"https://api.github.com/repos/callemall/material-ui/issues/events{/number}","events_url":"https://api.github.com/repos/callemall/material-ui/events","assignees_url":"https://api.github.com/repos/callemall/material-ui/assignees{/user}","branches_url":"https://api.github.com/repos/callemall/material-ui/branches{/branch}","tags_url":"https://api.github.com/repos/callemall/material-ui/tags","blobs_url":"https://api.github.com/repos/callemall/material-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/callemall/material-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/callemall/material-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/callemall/material-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/callemall/material-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/callemall/material-ui/languages","stargazers_url":"https://api.github.com/repos/callemall/material-ui/stargazers","contributors_url":"https://api.github.com/repos/callemall/material-ui/contributors","subscribers_url":"https://api.github.com/repos/callemall/material-ui/subscribers","subscription_url":"https://api.github.com/repos/callemall/material-ui/subscription","commits_url":"https://api.github.com/repos/callemall/material-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/callemall/material-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/callemall/material-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/callemall/material-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/callemall/material-ui/contents/{+path}","compare_url":"https://api.github.com/repos/callemall/material-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/callemall/material-ui/merges","archive_url":"https://api.github.com/repos/callemall/material-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/callemall/material-ui/downloads","issues_url":"https://api.github.com/repos/callemall/material-ui/issues{/number}","pulls_url":"https://api.github.com/repos/callemall/material-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/callemall/material-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/callemall/material-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/callemall/material-ui/labels{/name}","releases_url":"https://api.github.com/repos/callemall/material-ui/releases{/id}","deployments_url":"https://api.github.com/repos/callemall/material-ui/deployments","created_at":"2014-08-18T19:11:54Z","updated_at":"2017-06-30T11:25:37Z","pushed_at":"2017-06-30T11:45:51Z","git_url":"git://github.com/callemall/material-ui.git","ssh_url":"git@github.com:callemall/material-ui.git","clone_url":"https://github.com/callemall/material-ui.git","svn_url":"https://github.com/callemall/material-ui","homepage":"http://www.material-ui.com","size":24029,"stargazers_count":26739,"watchers_count":26739,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4790,"mirror_url":null,"open_issues_count":624,"forks":4790,"open_issues":624,"watchers":26739,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/7301"},"html":{"href":"https://github.com/callemall/material-ui/pull/7301"},"issue":{"href":"https://api.github.com/repos/callemall/material-ui/issues/7301"},"comments":{"href":"https://api.github.com/repos/callemall/material-ui/issues/7301/comments"},"review_comments":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/7301/comments"},"review_comment":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/7301/commits"},"statuses":{"href":"https://api.github.com/repos/callemall/material-ui/statuses/3f1f24f352698886e785c729b00d505d79faf245"}},"merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":9,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"oliviertassinari"}}