{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/origin-web-console/pulls/comments/72852508","id":72852508,"diff_hunk":"@@ -0,0 +1,20 @@\n+'use strict';\n+\n+angular.module('openshiftConsole')\n+  .filter('findProject', function($filter) {\n+    return function(items, searchString) {\n+      // return early if no search string\n+      if(!searchString) {\n+        return items;\n+      }\n+\n+      return _.filter(items, function(item) {\n+        var searchStringLower = searchString.toLowerCase();\n+","path":"app/scripts/filters/findProject.js","position":13,"original_position":13,"commit_id":"4465a38269b2204f59f538a1ebb479d51bb13e06","original_commit_id":"4465a38269b2204f59f538a1ebb479d51bb13e06","user":{"login":"MarkDeMaria","id":19572090,"avatar_url":"https://avatars.githubusercontent.com/u/19572090?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkDeMaria","html_url":"https://github.com/MarkDeMaria","followers_url":"https://api.github.com/users/MarkDeMaria/followers","following_url":"https://api.github.com/users/MarkDeMaria/following{/other_user}","gists_url":"https://api.github.com/users/MarkDeMaria/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkDeMaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkDeMaria/subscriptions","organizations_url":"https://api.github.com/users/MarkDeMaria/orgs","repos_url":"https://api.github.com/users/MarkDeMaria/repos","events_url":"https://api.github.com/users/MarkDeMaria/events{/privacy}","received_events_url":"https://api.github.com/users/MarkDeMaria/received_events","type":"User","site_admin":false},"body":"@benjaminapetersen _.lowerCase() is only available in lodash v4.14.1. I cannot find an equivalent lower case function in v3.10.1.","created_at":"2016-07-29T20:04:32Z","updated_at":"2016-07-29T20:04:32Z","html_url":"https://github.com/openshift/origin-web-console/pull/199#discussion_r72852508","pull_request_url":"https://api.github.com/repos/openshift/origin-web-console/pulls/199","_links":{"self":{"href":"https://api.github.com/repos/openshift/origin-web-console/pulls/comments/72852508"},"html":{"href":"https://github.com/openshift/origin-web-console/pull/199#discussion_r72852508"},"pull_request":{"href":"https://api.github.com/repos/openshift/origin-web-console/pulls/199"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/origin-web-console/pulls/199","id":78221426,"html_url":"https://github.com/openshift/origin-web-console/pull/199","diff_url":"https://github.com/openshift/origin-web-console/pull/199.diff","patch_url":"https://github.com/openshift/origin-web-console/pull/199.patch","issue_url":"https://api.github.com/repos/openshift/origin-web-console/issues/199","number":199,"state":"open","locked":false,"title":"Improve Project List/Selection Page","user":{"login":"MarkDeMaria","id":19572090,"avatar_url":"https://avatars.githubusercontent.com/u/19572090?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkDeMaria","html_url":"https://github.com/MarkDeMaria","followers_url":"https://api.github.com/users/MarkDeMaria/followers","following_url":"https://api.github.com/users/MarkDeMaria/following{/other_user}","gists_url":"https://api.github.com/users/MarkDeMaria/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkDeMaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkDeMaria/subscriptions","organizations_url":"https://api.github.com/users/MarkDeMaria/orgs","repos_url":"https://api.github.com/users/MarkDeMaria/repos","events_url":"https://api.github.com/users/MarkDeMaria/events{/privacy}","received_events_url":"https://api.github.com/users/MarkDeMaria/received_events","type":"User","site_admin":false},"body":"[Trello Card: Improve Project List Page](https://trello.com/c/L4c4W83T/571-5-improve-project-list-selection-page-evg)\r\n\r\n**Reformat tiles**\r\n--Add description (currently truncated at 170 characters)\r\n--Add relative timestamp (# days since creation)\r\n--Placeholder for # of apps\r\n--Placeholder for application status/error overview\r\n**Reformat top bar**\r\n--Add search bar (Searches by unique name, display name, description, and relative timestamp\r\n--Add sort by unique name, display name, and relative timestamp - Ascending and descending, case-insensitive\r\n\r\n**Design by @ajacobs21e** \r\n![Allie's Design](https://trello-attachments.s3.amazonaws.com/56439ae0e3f5f52f42d998d9/1200x864/bfc1018d6551cc1f457ba09acfaadf54/ProjectListPage.png)\r\n\r\n**Screenshots**\r\nOverview (Default sort by unique name)\r\n![image](https://cloud.githubusercontent.com/assets/19572090/17003346/8d20e3ae-4e9d-11e6-9233-1bc75755f56a.png)\r\n\r\nSort by Display Name\r\n![image](https://cloud.githubusercontent.com/assets/19572090/17003362/a7607e6e-4e9d-11e6-9db9-8c11ff7bd823.png)\r\n\r\nSort by Relative Timestamp\r\n![image](https://cloud.githubusercontent.com/assets/19572090/17003389/bcea9292-4e9d-11e6-8076-15a5bff8b528.png)\r\n\r\nHover - Needs revising\r\n![screenshot from 2016-07-20 17-17-14](https://cloud.githubusercontent.com/assets/19572090/17003408/d44e410e-4e9d-11e6-99bc-6cf0d605d5bb.png)\r\n\r\nSearch by Description\r\n![image](https://cloud.githubusercontent.com/assets/19572090/17003433/eeca98fc-4e9d-11e6-9169-7066b14c1414.png)\r\n\r\nSearch by multiple categories (Searching for '4', which appears in multiple names/descriptions)\r\n![image](https://cloud.githubusercontent.com/assets/19572090/17003468/1acd3f90-4e9e-11e6-8f5c-bc2ecb32944d.png)\r\n\r\n**Points of Discussion**\r\n1. Currently no support for getting the number of apps within a project\r\n2. Currently no support for any status information about a project. Important to consider system load if retrieving health statuses for a large number of projects.\r\n3. Current design does not label display name and unique (machine) name, so telling the two apart is difficult when using the sort dropdown, as one is labeled 'Name' and the other 'Display Name.' The New Project uses this naming convention when soliciting user input.\r\n\r\n@benjaminapetersen @spadgett @jwforres ","created_at":"2016-07-20T21:20:15Z","updated_at":"2016-07-29T20:04:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94d889d9cff2b383bb343de4e783042ec4d95ff5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/origin-web-console/pulls/199/commits","review_comments_url":"https://api.github.com/repos/openshift/origin-web-console/pulls/199/comments","review_comment_url":"https://api.github.com/repos/openshift/origin-web-console/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/origin-web-console/issues/199/comments","statuses_url":"https://api.github.com/repos/openshift/origin-web-console/statuses/4465a38269b2204f59f538a1ebb479d51bb13e06","head":{"label":"MarkDeMaria:projectListPage","ref":"projectListPage","sha":"4465a38269b2204f59f538a1ebb479d51bb13e06","user":{"login":"MarkDeMaria","id":19572090,"avatar_url":"https://avatars.githubusercontent.com/u/19572090?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkDeMaria","html_url":"https://github.com/MarkDeMaria","followers_url":"https://api.github.com/users/MarkDeMaria/followers","following_url":"https://api.github.com/users/MarkDeMaria/following{/other_user}","gists_url":"https://api.github.com/users/MarkDeMaria/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkDeMaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkDeMaria/subscriptions","organizations_url":"https://api.github.com/users/MarkDeMaria/orgs","repos_url":"https://api.github.com/users/MarkDeMaria/repos","events_url":"https://api.github.com/users/MarkDeMaria/events{/privacy}","received_events_url":"https://api.github.com/users/MarkDeMaria/received_events","type":"User","site_admin":false},"repo":{"id":61154770,"name":"origin-web-console","full_name":"MarkDeMaria/origin-web-console","owner":{"login":"MarkDeMaria","id":19572090,"avatar_url":"https://avatars.githubusercontent.com/u/19572090?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkDeMaria","html_url":"https://github.com/MarkDeMaria","followers_url":"https://api.github.com/users/MarkDeMaria/followers","following_url":"https://api.github.com/users/MarkDeMaria/following{/other_user}","gists_url":"https://api.github.com/users/MarkDeMaria/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkDeMaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkDeMaria/subscriptions","organizations_url":"https://api.github.com/users/MarkDeMaria/orgs","repos_url":"https://api.github.com/users/MarkDeMaria/repos","events_url":"https://api.github.com/users/MarkDeMaria/events{/privacy}","received_events_url":"https://api.github.com/users/MarkDeMaria/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarkDeMaria/origin-web-console","description":"","fork":true,"url":"https://api.github.com/repos/MarkDeMaria/origin-web-console","forks_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/forks","keys_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/teams","hooks_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/hooks","issue_events_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/issues/events{/number}","events_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/events","assignees_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/assignees{/user}","branches_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/branches{/branch}","tags_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/tags","blobs_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/statuses/{sha}","languages_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/languages","stargazers_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/stargazers","contributors_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/contributors","subscribers_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/subscribers","subscription_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/subscription","commits_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/contents/{+path}","compare_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/merges","archive_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/downloads","issues_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/issues{/number}","pulls_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/pulls{/number}","milestones_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/milestones{/number}","notifications_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/labels{/name}","releases_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/releases{/id}","deployments_url":"https://api.github.com/repos/MarkDeMaria/origin-web-console/deployments","created_at":"2016-06-14T20:48:52Z","updated_at":"2016-06-14T20:48:54Z","pushed_at":"2016-07-29T18:18:52Z","git_url":"git://github.com/MarkDeMaria/origin-web-console.git","ssh_url":"git@github.com:MarkDeMaria/origin-web-console.git","clone_url":"https://github.com/MarkDeMaria/origin-web-console.git","svn_url":"https://github.com/MarkDeMaria/origin-web-console","homepage":null,"size":8045,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openshift:master","ref":"master","sha":"458de5d777e1fadc516e03b0d55133d33a3384ce","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":58488264,"name":"origin-web-console","full_name":"openshift/origin-web-console","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/origin-web-console","description":"","fork":false,"url":"https://api.github.com/repos/openshift/origin-web-console","forks_url":"https://api.github.com/repos/openshift/origin-web-console/forks","keys_url":"https://api.github.com/repos/openshift/origin-web-console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/origin-web-console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/origin-web-console/teams","hooks_url":"https://api.github.com/repos/openshift/origin-web-console/hooks","issue_events_url":"https://api.github.com/repos/openshift/origin-web-console/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/origin-web-console/events","assignees_url":"https://api.github.com/repos/openshift/origin-web-console/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/origin-web-console/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/origin-web-console/tags","blobs_url":"https://api.github.com/repos/openshift/origin-web-console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/origin-web-console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/origin-web-console/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/origin-web-console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/origin-web-console/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/origin-web-console/languages","stargazers_url":"https://api.github.com/repos/openshift/origin-web-console/stargazers","contributors_url":"https://api.github.com/repos/openshift/origin-web-console/contributors","subscribers_url":"https://api.github.com/repos/openshift/origin-web-console/subscribers","subscription_url":"https://api.github.com/repos/openshift/origin-web-console/subscription","commits_url":"https://api.github.com/repos/openshift/origin-web-console/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/origin-web-console/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/origin-web-console/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/origin-web-console/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/origin-web-console/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/origin-web-console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/origin-web-console/merges","archive_url":"https://api.github.com/repos/openshift/origin-web-console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/origin-web-console/downloads","issues_url":"https://api.github.com/repos/openshift/origin-web-console/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/origin-web-console/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/origin-web-console/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/origin-web-console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/origin-web-console/labels{/name}","releases_url":"https://api.github.com/repos/openshift/origin-web-console/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/origin-web-console/deployments","created_at":"2016-05-10T19:31:50Z","updated_at":"2016-07-28T18:43:39Z","pushed_at":"2016-07-29T19:51:36Z","git_url":"git://github.com/openshift/origin-web-console.git","ssh_url":"git@github.com:openshift/origin-web-console.git","clone_url":"https://github.com/openshift/origin-web-console.git","svn_url":"https://github.com/openshift/origin-web-console","homepage":null,"size":8395,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":49,"forks":31,"open_issues":49,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/origin-web-console/pulls/199"},"html":{"href":"https://github.com/openshift/origin-web-console/pull/199"},"issue":{"href":"https://api.github.com/repos/openshift/origin-web-console/issues/199"},"comments":{"href":"https://api.github.com/repos/openshift/origin-web-console/issues/199/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/origin-web-console/pulls/199/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/origin-web-console/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/origin-web-console/pulls/199/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/origin-web-console/statuses/4465a38269b2204f59f538a1ebb479d51bb13e06"}}}}
{"actor":{"display_login":"MarkDeMaria"}}