payload: {"action":"created","issue":{"url":"https://api.github.com/repos/openzim/zimfarm/issues/217","repository_url":"https://api.github.com/repos/openzim/zimfarm","labels_url":"https://api.github.com/repos/openzim/zimfarm/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/openzim/zimfarm/issues/217/comments","events_url":"https://api.github.com/repos/openzim/zimfarm/issues/217/events","html_url":"https://github.com/openzim/zimfarm/pull/217","id":447904397,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgxODA5MzIw","number":217,"title":"[UI] Schedules filters ","user":{"login":"rgaudin","id":57929,"node_id":"MDQ6VXNlcjU3OTI5","avatar_url":"https://avatars1.githubusercontent.com/u/57929?v=4","gravatar_id":"","url":"https://api.github.com/users/rgaudin","html_url":"https://github.com/rgaudin","followers_url":"https://api.github.com/users/rgaudin/followers","following_url":"https://api.github.com/users/rgaudin/following{/other_user}","gists_url":"https://api.github.com/users/rgaudin/gists{/gist_id}","starred_url":"https://api.github.com/users/rgaudin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgaudin/subscriptions","organizations_url":"https://api.github.com/users/rgaudin/orgs","repos_url":"https://api.github.com/users/rgaudin/repos","events_url":"https://api.github.com/users/rgaudin/events{/privacy}","received_events_url":"https://api.github.com/users/rgaudin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-05-23T22:42:42Z","updated_at":"2019-05-24T20:39:56Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/openzim/zimfarm/pulls/217","html_url":"https://github.com/openzim/zimfarm/pull/217","diff_url":"https://github.com/openzim/zimfarm/pull/217.diff","patch_url":"https://github.com/openzim/zimfarm/pull/217.patch"},"body":"## Rationale\r\n\r\nSimple implementation of angular filters for the schedules view:\r\n\r\n- name (to be entered)\r\n- queues (to tick, union)\r\n- languages (to tick, union)\r\n- categories (to tick, union)\r\n- tags (to be entered, intersection)\r\n\r\nAlso, rows can now be clicked to open a popup with the full schedule JSON. Not pretty nor user friendly but it provides the info until we implement something decent.\r\n\r\n(second commit): simplification of `apiRoot` related code\r\n\r\n⚠️ This PR needs #216 to work.\r\n\r\n## Changes\r\n\r\n- script to generate `app/services/entities.ts`\r\n  with static definitions of categories, queues and languages from backend module\r\n- completion of categories filter using entities.ts\r\n- added tags column to schedules view\r\n- added tags filter (manual entry, intersection)\r\n- added language service (to get english name)\r\n- added language filter\r\n- added queue filter\r\n- added name filter\r\n- added on-click popup with schedule JSON as a temporary way to get info (not meant to stay!)\r\n- removed unused `const.service.ts`\r\n- minor styling of filter popups (CSS)\r\n\r\n### harmonised apiRoot usage\r\n\r\n- single definition in a getApiRoot() function in config.ts\r\n- use of it in both authentication, schedules and tasks.\r\n- getApiRoot() returns `/api` path so its name is relevant.\r\n"},"comment":{"url":"https://api.github.com/repos/openzim/zimfarm/issues/comments/495781860","html_url":"https://github.com/openzim/zimfarm/pull/217#issuecomment-495781860","issue_url":"https://api.github.com/repos/openzim/zimfarm/issues/217","id":495781860,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5NTc4MTg2MA==","user":{"login":"rgaudin","id":57929,"node_id":"MDQ6VXNlcjU3OTI5","avatar_url":"https://avatars1.githubusercontent.com/u/57929?v=4","gravatar_id":"","url":"https://api.github.com/users/rgaudin","html_url":"https://github.com/rgaudin","followers_url":"https://api.github.com/users/rgaudin/followers","following_url":"https://api.github.com/users/rgaudin/following{/other_user}","gists_url":"https://api.github.com/users/rgaudin/gists{/gist_id}","starred_url":"https://api.github.com/users/rgaudin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgaudin/subscriptions","organizations_url":"https://api.github.com/users/rgaudin/orgs","repos_url":"https://api.github.com/users/rgaudin/repos","events_url":"https://api.github.com/users/rgaudin/events{/privacy}","received_events_url":"https://api.github.com/users/rgaudin/received_events","type":"User","site_admin":false},"created_at":"2019-05-24T20:39:56Z","updated_at":"2019-05-24T20:39:56Z","author_association":"COLLABORATOR","body":"Thanks. Not a big fan of the huge grid neither.\r\nWill update the PR to push the js stuff and fix/remove the language stuff."}}
other: {"actor":{"display_login":"rgaudin"}}