{"action":"created","comment":{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/comments/34159192","id":34159192,"diff_hunk":"@@ -281,65 +328,226 @@ define(function (require, exports, module) {\n             }\n         },\n \n+        /**\n+         * Find options that are valid for the current text input value (filter)\n+         *\n+         * @private\n+         * @param {string} filter\n+         * @return {Array.<object>}\n+         */\n+        _filterOptions: function (filter) {\n+            var options = this.props.options;\n+\n+            if (this.props.filterOptions) {\n+                return this.props.filterOptions(options, filter);\n+            }\n+\n+            return options && options.filter(function (option) {\n+                    // Always add headers to list of searchable options\n+                    // The check to not render if there are no options below it is in Select.jsx\n+                    if (option.type && option.type === \"header\") {\n+                        return true;\n+                    }\n+\n+                    var title = option.title.toLowerCase();\n+\n+                    return title.indexOf(filter) > -1 && option.hidden !== true;\n+                });\n+        },\n+\n+        /**\n+         * Update state for autofill. Finds the new width of the hidden input and new autofill suggestion\n+         *\n+         * @private\n+         * @param {string} value The current value of the input\n+         * @param {number} iconCount The number of SVG icons for the input\n+         */\n+        _updateAutofill: function (value, iconCount) {\n+            if (this.props.useAutofill) {\n+                var hiddenInput = React.findDOMNode(this.refs.hiddenTextInput);\n+                hiddenInput.innerHTML = value;\n+                \n+                // Find width for hidden text input\n+                var elRect = hiddenInput.getBoundingClientRect(),\n+                    parentEl = hiddenInput.offsetParent,\n+                    parentRect = parentEl.getBoundingClientRect(),\n+                    width = elRect.width + (elRect.left - parentRect.left);\n+                \n+                width += 20 * iconCount; // 20 pixels is the computed width + padding of an svg icon\n+\n+                // Find new autofill suggestion\n+                // First check if there's anything based on the whole search value\n+                // Otherwise suggest based on last word typed\n+                var valueLowerCase = value ? value.toLowerCase() : \"\",\n+                    lastWord = valueLowerCase.split(\" \").pop(),\n+                    options = this._filterOptions(valueLowerCase),\n+\n+                    suggestion = (options && valueLowerCase !== \"\") ? options.find(function (opt) {\n+                            return (opt.type === \"item\" && opt.title.toLowerCase().indexOf(valueLowerCase) === 0);\n+                        }) : null;\n+\n+                if (!suggestion) {\n+                    suggestion = (options && lastWord !== \"\") ? options.find(function (opt) {\n+                        return (opt.type === \"item\" && opt.title.toLowerCase().indexOf(lastWord) === 0);\n+                    }) : null;\n+                }\n+\n+                var suggestionID = suggestion ? suggestion.id : this.state.id,\n+                    suggestionTitle = suggestion ? suggestion.title : this.state.suggestTitle;\n+               \n+                this.setState({\n+                    filter: value,\n+                    width: width,\n+                    id: suggestionID,\n+                    suggestTitle: suggestionTitle\n+                });\n+\n+                if (this.refs.select) {\n+                    this.refs.select._setSelected(suggestionID);\n+                }\n+            }\n+        },\n+\n+        /**\n+         * Returns the currently selected id\n+         * \n+         * @return {string} id\n+         */\n+        getSelected: function () {\n+            return this.state.id;\n+        },\n+\n+        /**\n+         * Removes words from filter that are also in the ID\n+         *\n+         * @param {Array.<string>} id\n+         * @param {number} iconCount\n+         */\n+        resetInput: function (id, iconCount) {\n+            var currFilter = this.state.filter.split(\" \"),\n+                idString = id.join(\"\"),\n+\n+                nextFilterMap = _.map(currFilter, function (word) {\n+                    if (idString.indexOf(word.toLowerCase()) > -1) {\n+                        return \"\";\n+                    }\n+                    return word;\n+                });\n+\n+            var nextFilter = nextFilterMap.join(\" \").trim();\n+\n+            this._updateAutofill(nextFilter, iconCount);\n+\n+            if (this.props.startFocused) {\n+                this.refs.textInput._beginEdit(false);\n+            }\n+        },\n+\n         render: function () {\n             // HACK - Because Select has no correspondence between ID and title\n             // during selection methods, only when the Datalist component is not live\n             // we manually set the shown value of the input to the selected option's title\n             // This can be an expensive operation when options is big enough, so \n-            // use carefully.\n-            var current;\n+            // use carefully. If we are using autocomplete, then we can use the suggestion\n+            // title, since it corresponds with the current ID.\n+            var current,\n+                currentTitle = this.props.value;\n+            \n             if (!this.props.live) {\n-                current = this.props.options.find(function (option) {\n-                    return option.id === this.state.id;\n-                }.bind(this));\n+                if (this.props.useAutofill && this.state.suggestTitle !== \"\") {\n+                    currentTitle = this.state.suggestTitle;\n+                } else {\n+                    current = this.props.options.find(function (option) {\n+                        return option.id === this.state.id;\n+                    }.bind(this));\n+\n+                    currentTitle = current ? current.title : this.props.value;\n+                }\n             }\n \n-            var live = this.props.live,\n-                currentTitle = current ? current.title : this.props.value,\n-                value = (live ? this.props.value : currentTitle) || \"\",\n+            var value = currentTitle || \"\",\n                 filter = this.state.filter,\n                 title = this.state.active && filter !== null ? filter : value,\n                 searchableFilter = filter ? filter.toLowerCase() : \"\",\n-                options = this.props.options,\n-                searchableOptions = options && options.filter(function (option) {\n-                    // Always add headers to list of searchable options\n-                    if (option.type && option.type === \"header\") {\n-                        return true;\n+                searchableOptions = this._filterOptions(searchableFilter);\n+            \n+            var autocomplete,\n+                hiddenTI;\n+\n+            if (this.props.useAutofill) {\n+                hiddenTI = (\n+                    <div ref=\"hiddenTextInput\"\n+                        className=\"hiddeninput\">\n+                    </div>\n+                );\n+                \n+                var autocompStyle = { left: this.state.width + \"px\" },","path":"src/js/jsx/shared/Datalist.jsx","position":290,"original_position":290,"commit_id":"36a9ebcf1bec8d72ab5bb0e16001d0d661b5bf1f","original_commit_id":"36a9ebcf1bec8d72ab5bb0e16001d0d661b5bf1f","user":{"login":"iwehrman","id":1075154,"avatar_url":"https://avatars.githubusercontent.com/u/1075154?v=3","gravatar_id":"","url":"https://api.github.com/users/iwehrman","html_url":"https://github.com/iwehrman","followers_url":"https://api.github.com/users/iwehrman/followers","following_url":"https://api.github.com/users/iwehrman/following{/other_user}","gists_url":"https://api.github.com/users/iwehrman/gists{/gist_id}","starred_url":"https://api.github.com/users/iwehrman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwehrman/subscriptions","organizations_url":"https://api.github.com/users/iwehrman/orgs","repos_url":"https://api.github.com/users/iwehrman/repos","events_url":"https://api.github.com/users/iwehrman/events{/privacy}","received_events_url":"https://api.github.com/users/iwehrman/received_events","type":"User","site_admin":false},"body":"Also, it _feels_ a little odd to have a `width` prop here. Is this something the caller really wants to change at runtime? Can you explain why this is the right place for this parameter?","created_at":"2015-07-08T15:14:27Z","updated_at":"2015-07-08T15:14:27Z","html_url":"https://github.com/adobe-photoshop/spaces-design/pull/1678#discussion_r34159192","pull_request_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/1678","_links":{"self":{"href":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/comments/34159192"},"html":{"href":"https://github.com/adobe-photoshop/spaces-design/pull/1678#discussion_r34159192"},"pull_request":{"href":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/1678"}}},"pull_request":{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/1678","id":39291612,"html_url":"https://github.com/adobe-photoshop/spaces-design/pull/1678","diff_url":"https://github.com/adobe-photoshop/spaces-design/pull/1678.diff","patch_url":"https://github.com/adobe-photoshop/spaces-design/pull/1678.patch","issue_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/1678","number":1678,"state":"open","locked":false,"title":"Search using filters for layer or document type","user":{"login":"hamburge","id":12618145,"avatar_url":"https://avatars.githubusercontent.com/u/12618145?v=3","gravatar_id":"","url":"https://api.github.com/users/hamburge","html_url":"https://github.com/hamburge","followers_url":"https://api.github.com/users/hamburge/followers","following_url":"https://api.github.com/users/hamburge/following{/other_user}","gists_url":"https://api.github.com/users/hamburge/gists{/gist_id}","starred_url":"https://api.github.com/users/hamburge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamburge/subscriptions","organizations_url":"https://api.github.com/users/hamburge/orgs","repos_url":"https://api.github.com/users/hamburge/repos","events_url":"https://api.github.com/users/hamburge/events{/privacy}","received_events_url":"https://api.github.com/users/hamburge/received_events","type":"User","site_admin":false},"body":"Use tab or enter to select filter option. The filter appears as an svg when you confirm it.\r\nAdded autofill of text, other design changes.\r\n\r\nSome filters don't have svgs associated with them currently so there is a rectangle placeholder.\r\n","created_at":"2015-07-06T17:36:17Z","updated_at":"2015-07-08T15:14:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71aa5e498fa82bbf8199c9e6cf8f18d295481b5e","assignee":{"login":"iwehrman","id":1075154,"avatar_url":"https://avatars.githubusercontent.com/u/1075154?v=3","gravatar_id":"","url":"https://api.github.com/users/iwehrman","html_url":"https://github.com/iwehrman","followers_url":"https://api.github.com/users/iwehrman/followers","following_url":"https://api.github.com/users/iwehrman/following{/other_user}","gists_url":"https://api.github.com/users/iwehrman/gists{/gist_id}","starred_url":"https://api.github.com/users/iwehrman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwehrman/subscriptions","organizations_url":"https://api.github.com/users/iwehrman/orgs","repos_url":"https://api.github.com/users/iwehrman/repos","events_url":"https://api.github.com/users/iwehrman/events{/privacy}","received_events_url":"https://api.github.com/users/iwehrman/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/1678/commits","review_comments_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/1678/comments","review_comment_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/1678/comments","statuses_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/statuses/36a9ebcf1bec8d72ab5bb0e16001d0d661b5bf1f","head":{"label":"adobe-photoshop:allison/search_filters","ref":"allison/search_filters","sha":"36a9ebcf1bec8d72ab5bb0e16001d0d661b5bf1f","user":{"login":"adobe-photoshop","id":4542585,"avatar_url":"https://avatars.githubusercontent.com/u/4542585?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-photoshop","html_url":"https://github.com/adobe-photoshop","followers_url":"https://api.github.com/users/adobe-photoshop/followers","following_url":"https://api.github.com/users/adobe-photoshop/following{/other_user}","gists_url":"https://api.github.com/users/adobe-photoshop/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-photoshop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-photoshop/subscriptions","organizations_url":"https://api.github.com/users/adobe-photoshop/orgs","repos_url":"https://api.github.com/users/adobe-photoshop/repos","events_url":"https://api.github.com/users/adobe-photoshop/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-photoshop/received_events","type":"Organization","site_admin":false},"repo":{"id":37291353,"name":"spaces-design","full_name":"adobe-photoshop/spaces-design","owner":{"login":"adobe-photoshop","id":4542585,"avatar_url":"https://avatars.githubusercontent.com/u/4542585?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-photoshop","html_url":"https://github.com/adobe-photoshop","followers_url":"https://api.github.com/users/adobe-photoshop/followers","following_url":"https://api.github.com/users/adobe-photoshop/following{/other_user}","gists_url":"https://api.github.com/users/adobe-photoshop/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-photoshop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-photoshop/subscriptions","organizations_url":"https://api.github.com/users/adobe-photoshop/orgs","repos_url":"https://api.github.com/users/adobe-photoshop/repos","events_url":"https://api.github.com/users/adobe-photoshop/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-photoshop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adobe-photoshop/spaces-design","description":"Adobe Photoshop Design Space","fork":false,"url":"https://api.github.com/repos/adobe-photoshop/spaces-design","forks_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/forks","keys_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/teams","hooks_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/hooks","issue_events_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/events{/number}","events_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/events","assignees_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/assignees{/user}","branches_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/branches{/branch}","tags_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/tags","blobs_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/languages","stargazers_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/stargazers","contributors_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/contributors","subscribers_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/subscribers","subscription_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/subscription","commits_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/comments{/number}","contents_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/contents/{+path}","compare_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/merges","archive_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/downloads","issues_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues{/number}","pulls_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/labels{/name}","releases_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/releases{/id}","created_at":"2015-06-11T23:23:47Z","updated_at":"2015-07-08T11:28:21Z","pushed_at":"2015-07-08T15:06:29Z","git_url":"git://github.com/adobe-photoshop/spaces-design.git","ssh_url":"git@github.com:adobe-photoshop/spaces-design.git","clone_url":"https://github.com/adobe-photoshop/spaces-design.git","svn_url":"https://github.com/adobe-photoshop/spaces-design","homepage":"http://adobe-photoshop.github.io/","size":14206,"stargazers_count":566,"watchers_count":566,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":145,"forks":38,"open_issues":145,"watchers":566,"default_branch":"master"}},"base":{"label":"adobe-photoshop:master","ref":"master","sha":"65235e273d3ced4711ec377f20bfe8d13659b61a","user":{"login":"adobe-photoshop","id":4542585,"avatar_url":"https://avatars.githubusercontent.com/u/4542585?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-photoshop","html_url":"https://github.com/adobe-photoshop","followers_url":"https://api.github.com/users/adobe-photoshop/followers","following_url":"https://api.github.com/users/adobe-photoshop/following{/other_user}","gists_url":"https://api.github.com/users/adobe-photoshop/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-photoshop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-photoshop/subscriptions","organizations_url":"https://api.github.com/users/adobe-photoshop/orgs","repos_url":"https://api.github.com/users/adobe-photoshop/repos","events_url":"https://api.github.com/users/adobe-photoshop/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-photoshop/received_events","type":"Organization","site_admin":false},"repo":{"id":37291353,"name":"spaces-design","full_name":"adobe-photoshop/spaces-design","owner":{"login":"adobe-photoshop","id":4542585,"avatar_url":"https://avatars.githubusercontent.com/u/4542585?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-photoshop","html_url":"https://github.com/adobe-photoshop","followers_url":"https://api.github.com/users/adobe-photoshop/followers","following_url":"https://api.github.com/users/adobe-photoshop/following{/other_user}","gists_url":"https://api.github.com/users/adobe-photoshop/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-photoshop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-photoshop/subscriptions","organizations_url":"https://api.github.com/users/adobe-photoshop/orgs","repos_url":"https://api.github.com/users/adobe-photoshop/repos","events_url":"https://api.github.com/users/adobe-photoshop/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-photoshop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adobe-photoshop/spaces-design","description":"Adobe Photoshop Design Space","fork":false,"url":"https://api.github.com/repos/adobe-photoshop/spaces-design","forks_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/forks","keys_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/teams","hooks_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/hooks","issue_events_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/events{/number}","events_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/events","assignees_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/assignees{/user}","branches_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/branches{/branch}","tags_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/tags","blobs_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/languages","stargazers_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/stargazers","contributors_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/contributors","subscribers_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/subscribers","subscription_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/subscription","commits_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/comments{/number}","contents_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/contents/{+path}","compare_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/merges","archive_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/downloads","issues_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues{/number}","pulls_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/labels{/name}","releases_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/releases{/id}","created_at":"2015-06-11T23:23:47Z","updated_at":"2015-07-08T11:28:21Z","pushed_at":"2015-07-08T15:06:29Z","git_url":"git://github.com/adobe-photoshop/spaces-design.git","ssh_url":"git@github.com:adobe-photoshop/spaces-design.git","clone_url":"https://github.com/adobe-photoshop/spaces-design.git","svn_url":"https://github.com/adobe-photoshop/spaces-design","homepage":"http://adobe-photoshop.github.io/","size":14206,"stargazers_count":566,"watchers_count":566,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":145,"forks":38,"open_issues":145,"watchers":566,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/1678"},"html":{"href":"https://github.com/adobe-photoshop/spaces-design/pull/1678"},"issue":{"href":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/1678"},"comments":{"href":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/1678/comments"},"review_comments":{"href":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/1678/comments"},"review_comment":{"href":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/1678/commits"},"statuses":{"href":"https://api.github.com/repos/adobe-photoshop/spaces-design/statuses/36a9ebcf1bec8d72ab5bb0e16001d0d661b5bf1f"}}}}