{"action":"created","comment":{"url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments/221254474","pull_request_review_id":159861890,"id":221254474,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTI1NDQ3NA==","diff_hunk":"@@ -0,0 +1,36 @@\n+import {\n+  interactor,\n+  Interactor,\n+  text,\n+  is,\n+  collection\n+} from '@bigtest/interactor';\n+\n+class OrgSelect {\n+\n+  isDisabled = is('.disabled');\n+  selected = text('.text[role=\"alert\"]');","path":"source/SIL.AppBuilder.Portal.Frontend/src/ui/components/inputs/organization-select/__tests__/page.ts","position":12,"original_position":12,"commit_id":"ecd729d9e8ae9a64420d70c9b6efe28c354750a6","original_commit_id":"48e716ee30060eff4d45eafd3236f1f4fbf37264","user":{"login":"giancorzo","id":501129,"node_id":"MDQ6VXNlcjUwMTEyOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/501129?v=4","gravatar_id":"","url":"https://api.github.com/users/giancorzo","html_url":"https://github.com/giancorzo","followers_url":"https://api.github.com/users/giancorzo/followers","following_url":"https://api.github.com/users/giancorzo/following{/other_user}","gists_url":"https://api.github.com/users/giancorzo/gists{/gist_id}","starred_url":"https://api.github.com/users/giancorzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giancorzo/subscriptions","organizations_url":"https://api.github.com/users/giancorzo/orgs","repos_url":"https://api.github.com/users/giancorzo/repos","events_url":"https://api.github.com/users/giancorzo/events{/privacy}","received_events_url":"https://api.github.com/users/giancorzo/received_events","type":"User","site_admin":false},"body":"Probably selected is not a good name for this because you are actually getting a text","created_at":"2018-09-28T13:36:30Z","updated_at":"2018-09-28T13:52:40Z","html_url":"https://github.com/sillsdev/appbuilder-portal/pull/155#discussion_r221254474","pull_request_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/155","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments/221254474"},"html":{"href":"https://github.com/sillsdev/appbuilder-portal/pull/155#discussion_r221254474"},"pull_request":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/155"}}},"pull_request":{"url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/155","id":218101797,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MTAxNzk3","html_url":"https://github.com/sillsdev/appbuilder-portal/pull/155","diff_url":"https://github.com/sillsdev/appbuilder-portal/pull/155.diff","patch_url":"https://github.com/sillsdev/appbuilder-portal/pull/155.patch","issue_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/155","number":155,"state":"open","locked":false,"title":"Actual work on Filtering on the Project Directory -- finally","user":{"login":"NullVoxPopuli","id":199018,"node_id":"MDQ6VXNlcjE5OTAxOA==","avatar_url":"https://avatars1.githubusercontent.com/u/199018?v=4","gravatar_id":"","url":"https://api.github.com/users/NullVoxPopuli","html_url":"https://github.com/NullVoxPopuli","followers_url":"https://api.github.com/users/NullVoxPopuli/followers","following_url":"https://api.github.com/users/NullVoxPopuli/following{/other_user}","gists_url":"https://api.github.com/users/NullVoxPopuli/gists{/gist_id}","starred_url":"https://api.github.com/users/NullVoxPopuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NullVoxPopuli/subscriptions","organizations_url":"https://api.github.com/users/NullVoxPopuli/orgs","repos_url":"https://api.github.com/users/NullVoxPopuli/repos","events_url":"https://api.github.com/users/NullVoxPopuli/events{/privacy}","received_events_url":"https://api.github.com/users/NullVoxPopuli/received_events","type":"User","site_admin":false},"body":"Description pulled from https://github.com/sillsdev/appbuilder-portal/pull/129\r\nAnd supercedes: https://github.com/sillsdev/appbuilder-portal/pull/150\r\nAnd supercedes: https://github.com/sillsdev/appbuilder-portal/pull/154\r\n\r\n---------------------------------------------------\r\n\r\n## Relevant stories and acceptance criteria: \r\n### [26305 - View Project Directory](https://developertown.visualstudio.com/SIL%20International%20Scriptoria/_workitems/edit/26305)\r\n - [x] ( FILTER ) All projects for the organization are listed\r\n    - [x] Test case: make sure filter is working for a single org\r\n - [ ] ( SORTING ) User can sort projects \r\n - [ ] ( DISPLAY ) Product icon types visible \r\n    - **Q: do products coming from the database have a type?**\r\n       - _A: relation is: project.products[].product-definition.application-type_\r\n - [x] ( DISPLAY) Number of projects in directory displayed\r\n - [x] ( DISPLAY ) List should be paginated, displaying 20 projects per page\r\n\r\n### [26411 - Search Help](https://developertown.visualstudio.com/SIL%20International%20Scriptoria/_workitems/edit/26411)\r\n- [ ] ( FILTER ) Search assistant should display what search options are \r\n\r\n### [26422 - Filter Project Directory](https://developertown.visualstudio.com/SIL%20International%20Scriptoria/_workitems/edit/26422)\r\n - [ ] ( FILTER ) User can choose range of results displayed, and list of projects adjust based on dates selected \r\n   - [ ] User cannot select a 'to' date in the future\r\n   - [x] User cannot select a 'from' date past today\r\n - [ ] (FILTER ) When projects are filtered by a product type, only projects containing that product type are displayed \r\n - [x] ( FILTER ) When projects are filtered by a org, only projects inside of that org are displayed \r\n    - [x] Should be allowed even when the current user is not a member of the organization\r\n - [ ] ( FILTER ) When filter has been set for a certain language, only projects in that language appear \r\n\r\nThese 3 stories are combined into one PR because they are all every tightly coupled to each other. As I work through this and whatever issues come up, I may split out another PR.\r\n\r\n## Dependent On:\r\n\r\nNote: when querying projects, the backend must support the following (outside the scope of this PR):\r\n - [x] Query projects outside of the users organization\r\n - [x] Prevent projects from showing that are private\r\n\r\n\r\n\r\n## Unexpected things:\r\n\r\n2018-09-25\r\n - Can't update database with `./run bootstrap` https://github.com/aspnet/EntityFrameworkCore/issues/12220\r\n\r\n20180-09-28\r\n - Inconsistencies with tests vs reality. \r\n   - We should probably be testing that request headers are set.","created_at":"2018-09-25T20:02:46Z","updated_at":"2018-09-28T13:52:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1832d08742d959ca4fedad09729d78a5037d86c6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/155/commits","review_comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/155/comments","review_comment_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/155/comments","statuses_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/ecd729d9e8ae9a64420d70c9b6efe28c354750a6","head":{"label":"sillsdev:feature/filtering-4","ref":"feature/filtering-4","sha":"ecd729d9e8ae9a64420d70c9b6efe28c354750a6","user":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"repo":{"id":137372479,"node_id":"MDEwOlJlcG9zaXRvcnkxMzczNzI0Nzk=","name":"appbuilder-portal","full_name":"sillsdev/appbuilder-portal","private":false,"owner":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/sillsdev/appbuilder-portal","description":"Portal for Scriptoria -- App Publishing Service","fork":false,"url":"https://api.github.com/repos/sillsdev/appbuilder-portal","forks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/forks","keys_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/teams","hooks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/hooks","issue_events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/events{/number}","events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/events","assignees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/assignees{/user}","branches_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/branches{/branch}","tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/tags","blobs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/languages","stargazers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/stargazers","contributors_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contributors","subscribers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscribers","subscription_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscription","commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contents/{+path}","compare_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/merges","archive_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/downloads","issues_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues{/number}","pulls_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/labels{/name}","releases_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/releases{/id}","deployments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/deployments","created_at":"2018-06-14T14:55:18Z","updated_at":"2018-09-27T20:57:02Z","pushed_at":"2018-09-28T13:52:40Z","git_url":"git://github.com/sillsdev/appbuilder-portal.git","ssh_url":"git@github.com:sillsdev/appbuilder-portal.git","clone_url":"https://github.com/sillsdev/appbuilder-portal.git","svn_url":"https://github.com/sillsdev/appbuilder-portal","homepage":"","size":5093,"stargazers_count":9,"watchers_count":9,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":9,"default_branch":"master"}},"base":{"label":"sillsdev:master","ref":"master","sha":"503782fbacbc7a1a21164d2c507ecfb2b5a8fbb8","user":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"repo":{"id":137372479,"node_id":"MDEwOlJlcG9zaXRvcnkxMzczNzI0Nzk=","name":"appbuilder-portal","full_name":"sillsdev/appbuilder-portal","private":false,"owner":{"login":"sillsdev","id":1095739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTU3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1095739?v=4","gravatar_id":"","url":"https://api.github.com/users/sillsdev","html_url":"https://github.com/sillsdev","followers_url":"https://api.github.com/users/sillsdev/followers","following_url":"https://api.github.com/users/sillsdev/following{/other_user}","gists_url":"https://api.github.com/users/sillsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/sillsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillsdev/subscriptions","organizations_url":"https://api.github.com/users/sillsdev/orgs","repos_url":"https://api.github.com/users/sillsdev/repos","events_url":"https://api.github.com/users/sillsdev/events{/privacy}","received_events_url":"https://api.github.com/users/sillsdev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/sillsdev/appbuilder-portal","description":"Portal for Scriptoria -- App Publishing Service","fork":false,"url":"https://api.github.com/repos/sillsdev/appbuilder-portal","forks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/forks","keys_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/teams","hooks_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/hooks","issue_events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/events{/number}","events_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/events","assignees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/assignees{/user}","branches_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/branches{/branch}","tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/tags","blobs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/languages","stargazers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/stargazers","contributors_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contributors","subscribers_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscribers","subscription_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/subscription","commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/contents/{+path}","compare_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/merges","archive_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/downloads","issues_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues{/number}","pulls_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/labels{/name}","releases_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/releases{/id}","deployments_url":"https://api.github.com/repos/sillsdev/appbuilder-portal/deployments","created_at":"2018-06-14T14:55:18Z","updated_at":"2018-09-27T20:57:02Z","pushed_at":"2018-09-28T13:52:40Z","git_url":"git://github.com/sillsdev/appbuilder-portal.git","ssh_url":"git@github.com:sillsdev/appbuilder-portal.git","clone_url":"https://github.com/sillsdev/appbuilder-portal.git","svn_url":"https://github.com/sillsdev/appbuilder-portal","homepage":"","size":5093,"stargazers_count":9,"watchers_count":9,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/155"},"html":{"href":"https://github.com/sillsdev/appbuilder-portal/pull/155"},"issue":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/155"},"comments":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/issues/155/comments"},"review_comments":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/155/comments"},"review_comment":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/pulls/155/commits"},"statuses":{"href":"https://api.github.com/repos/sillsdev/appbuilder-portal/statuses/ecd729d9e8ae9a64420d70c9b6efe28c354750a6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"giancorzo"}}