{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/MAq2402/KOService/pulls/22","id":282252561,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgyMjUyNTYx","html_url":"https://github.com/MAq2402/KOService/pull/22","diff_url":"https://github.com/MAq2402/KOService/pull/22.diff","patch_url":"https://github.com/MAq2402/KOService/pull/22.patch","issue_url":"https://api.github.com/repos/MAq2402/KOService/issues/22","number":22,"state":"open","locked":false,"title":"Admin front with backend integration","user":{"login":"jaklyk2103","id":22637528,"node_id":"MDQ6VXNlcjIyNjM3NTI4","avatar_url":"https://avatars0.githubusercontent.com/u/22637528?v=4","gravatar_id":"","url":"https://api.github.com/users/jaklyk2103","html_url":"https://github.com/jaklyk2103","followers_url":"https://api.github.com/users/jaklyk2103/followers","following_url":"https://api.github.com/users/jaklyk2103/following{/other_user}","gists_url":"https://api.github.com/users/jaklyk2103/gists{/gist_id}","starred_url":"https://api.github.com/users/jaklyk2103/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaklyk2103/subscriptions","organizations_url":"https://api.github.com/users/jaklyk2103/orgs","repos_url":"https://api.github.com/users/jaklyk2103/repos","events_url":"https://api.github.com/users/jaklyk2103/events{/privacy}","received_events_url":"https://api.github.com/users/jaklyk2103/received_events","type":"User","site_admin":false},"body":"Zmieniony wygląd formularza, podpięcie formularza do backendu. Teraz jest w pełni funkcjonalny. Jest to osobna strona, zamiast popupa materialowego, z którym były problemy.\r\n\r\nProblem do rozgryzienia: redirect do strony \"/admin\" po naciśnięciu przycisku \"Dodaj pracownika\". Próbowałem z tym, ale nie udało mi się zrobić tak by to dobrze działało, z jakiegoś powodu this.router.navigate(...) umieszczony w subscribie od service'u wysyłającego request nie działa, nie ma redirecta a nie sypie się żaden dodatkowy błąd.\r\n\r\nNotka: aktualnie po kliknięciu \"Dodaj pracownika\" i strzeleniu do backendu pojawia się błąd, który umieściłem w załączniku. Dodatkowo, załączyłem też aktualny wygląd formularza, proszę zgłaszać sugestie, jeśli macie :P\r\n\r\n![error1](https://user-images.githubusercontent.com/22637528/58374183-59076b80-7f3a-11e9-9707-5d76fdc53af8.PNG)\r\n![formScreen](https://user-images.githubusercontent.com/22637528/58374184-59076b80-7f3a-11e9-9381-b3e7b07e83b6.PNG)\r\n","created_at":"2019-05-25T20:17:33Z","updated_at":"2019-05-25T20:17:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"jaklyk2103","id":22637528,"node_id":"MDQ6VXNlcjIyNjM3NTI4","avatar_url":"https://avatars0.githubusercontent.com/u/22637528?v=4","gravatar_id":"","url":"https://api.github.com/users/jaklyk2103","html_url":"https://github.com/jaklyk2103","followers_url":"https://api.github.com/users/jaklyk2103/followers","following_url":"https://api.github.com/users/jaklyk2103/following{/other_user}","gists_url":"https://api.github.com/users/jaklyk2103/gists{/gist_id}","starred_url":"https://api.github.com/users/jaklyk2103/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaklyk2103/subscriptions","organizations_url":"https://api.github.com/users/jaklyk2103/orgs","repos_url":"https://api.github.com/users/jaklyk2103/repos","events_url":"https://api.github.com/users/jaklyk2103/events{/privacy}","received_events_url":"https://api.github.com/users/jaklyk2103/received_events","type":"User","site_admin":false},"assignees":[{"login":"jaklyk2103","id":22637528,"node_id":"MDQ6VXNlcjIyNjM3NTI4","avatar_url":"https://avatars0.githubusercontent.com/u/22637528?v=4","gravatar_id":"","url":"https://api.github.com/users/jaklyk2103","html_url":"https://github.com/jaklyk2103","followers_url":"https://api.github.com/users/jaklyk2103/followers","following_url":"https://api.github.com/users/jaklyk2103/following{/other_user}","gists_url":"https://api.github.com/users/jaklyk2103/gists{/gist_id}","starred_url":"https://api.github.com/users/jaklyk2103/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaklyk2103/subscriptions","organizations_url":"https://api.github.com/users/jaklyk2103/orgs","repos_url":"https://api.github.com/users/jaklyk2103/repos","events_url":"https://api.github.com/users/jaklyk2103/events{/privacy}","received_events_url":"https://api.github.com/users/jaklyk2103/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"tomaszkus97","id":22637416,"node_id":"MDQ6VXNlcjIyNjM3NDE2","avatar_url":"https://avatars3.githubusercontent.com/u/22637416?v=4","gravatar_id":"","url":"https://api.github.com/users/tomaszkus97","html_url":"https://github.com/tomaszkus97","followers_url":"https://api.github.com/users/tomaszkus97/followers","following_url":"https://api.github.com/users/tomaszkus97/following{/other_user}","gists_url":"https://api.github.com/users/tomaszkus97/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszkus97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszkus97/subscriptions","organizations_url":"https://api.github.com/users/tomaszkus97/orgs","repos_url":"https://api.github.com/users/tomaszkus97/repos","events_url":"https://api.github.com/users/tomaszkus97/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszkus97/received_events","type":"User","site_admin":false},{"login":"BartekBac","id":22637532,"node_id":"MDQ6VXNlcjIyNjM3NTMy","avatar_url":"https://avatars0.githubusercontent.com/u/22637532?v=4","gravatar_id":"","url":"https://api.github.com/users/BartekBac","html_url":"https://github.com/BartekBac","followers_url":"https://api.github.com/users/BartekBac/followers","following_url":"https://api.github.com/users/BartekBac/following{/other_user}","gists_url":"https://api.github.com/users/BartekBac/gists{/gist_id}","starred_url":"https://api.github.com/users/BartekBac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BartekBac/subscriptions","organizations_url":"https://api.github.com/users/BartekBac/orgs","repos_url":"https://api.github.com/users/BartekBac/repos","events_url":"https://api.github.com/users/BartekBac/events{/privacy}","received_events_url":"https://api.github.com/users/BartekBac/received_events","type":"User","site_admin":false},{"login":"MAq2402","id":22637588,"node_id":"MDQ6VXNlcjIyNjM3NTg4","avatar_url":"https://avatars2.githubusercontent.com/u/22637588?v=4","gravatar_id":"","url":"https://api.github.com/users/MAq2402","html_url":"https://github.com/MAq2402","followers_url":"https://api.github.com/users/MAq2402/followers","following_url":"https://api.github.com/users/MAq2402/following{/other_user}","gists_url":"https://api.github.com/users/MAq2402/gists{/gist_id}","starred_url":"https://api.github.com/users/MAq2402/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MAq2402/subscriptions","organizations_url":"https://api.github.com/users/MAq2402/orgs","repos_url":"https://api.github.com/users/MAq2402/repos","events_url":"https://api.github.com/users/MAq2402/events{/privacy}","received_events_url":"https://api.github.com/users/MAq2402/received_events","type":"User","site_admin":false},{"login":"bartekcaban","id":22637596,"node_id":"MDQ6VXNlcjIyNjM3NTk2","avatar_url":"https://avatars2.githubusercontent.com/u/22637596?v=4","gravatar_id":"","url":"https://api.github.com/users/bartekcaban","html_url":"https://github.com/bartekcaban","followers_url":"https://api.github.com/users/bartekcaban/followers","following_url":"https://api.github.com/users/bartekcaban/following{/other_user}","gists_url":"https://api.github.com/users/bartekcaban/gists{/gist_id}","starred_url":"https://api.github.com/users/bartekcaban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartekcaban/subscriptions","organizations_url":"https://api.github.com/users/bartekcaban/orgs","repos_url":"https://api.github.com/users/bartekcaban/repos","events_url":"https://api.github.com/users/bartekcaban/events{/privacy}","received_events_url":"https://api.github.com/users/bartekcaban/received_events","type":"User","site_admin":false},{"login":"martyna8821","id":22637731,"node_id":"MDQ6VXNlcjIyNjM3NzMx","avatar_url":"https://avatars1.githubusercontent.com/u/22637731?v=4","gravatar_id":"","url":"https://api.github.com/users/martyna8821","html_url":"https://github.com/martyna8821","followers_url":"https://api.github.com/users/martyna8821/followers","following_url":"https://api.github.com/users/martyna8821/following{/other_user}","gists_url":"https://api.github.com/users/martyna8821/gists{/gist_id}","starred_url":"https://api.github.com/users/martyna8821/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martyna8821/subscriptions","organizations_url":"https://api.github.com/users/martyna8821/orgs","repos_url":"https://api.github.com/users/martyna8821/repos","events_url":"https://api.github.com/users/martyna8821/events{/privacy}","received_events_url":"https://api.github.com/users/martyna8821/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MAq2402/KOService/pulls/22/commits","review_comments_url":"https://api.github.com/repos/MAq2402/KOService/pulls/22/comments","review_comment_url":"https://api.github.com/repos/MAq2402/KOService/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MAq2402/KOService/issues/22/comments","statuses_url":"https://api.github.com/repos/MAq2402/KOService/statuses/7f0857d0b0dce5cab31a5a279bb7ac22afc2bf5d","head":{"label":"MAq2402:admin-front-with-backend-integration","ref":"admin-front-with-backend-integration","sha":"7f0857d0b0dce5cab31a5a279bb7ac22afc2bf5d","user":{"login":"MAq2402","id":22637588,"node_id":"MDQ6VXNlcjIyNjM3NTg4","avatar_url":"https://avatars2.githubusercontent.com/u/22637588?v=4","gravatar_id":"","url":"https://api.github.com/users/MAq2402","html_url":"https://github.com/MAq2402","followers_url":"https://api.github.com/users/MAq2402/followers","following_url":"https://api.github.com/users/MAq2402/following{/other_user}","gists_url":"https://api.github.com/users/MAq2402/gists{/gist_id}","starred_url":"https://api.github.com/users/MAq2402/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MAq2402/subscriptions","organizations_url":"https://api.github.com/users/MAq2402/orgs","repos_url":"https://api.github.com/users/MAq2402/repos","events_url":"https://api.github.com/users/MAq2402/events{/privacy}","received_events_url":"https://api.github.com/users/MAq2402/received_events","type":"User","site_admin":false},"repo":{"id":177309994,"node_id":"MDEwOlJlcG9zaXRvcnkxNzczMDk5OTQ=","name":"KOService","full_name":"MAq2402/KOService","private":false,"owner":{"login":"MAq2402","id":22637588,"node_id":"MDQ6VXNlcjIyNjM3NTg4","avatar_url":"https://avatars2.githubusercontent.com/u/22637588?v=4","gravatar_id":"","url":"https://api.github.com/users/MAq2402","html_url":"https://github.com/MAq2402","followers_url":"https://api.github.com/users/MAq2402/followers","following_url":"https://api.github.com/users/MAq2402/following{/other_user}","gists_url":"https://api.github.com/users/MAq2402/gists{/gist_id}","starred_url":"https://api.github.com/users/MAq2402/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MAq2402/subscriptions","organizations_url":"https://api.github.com/users/MAq2402/orgs","repos_url":"https://api.github.com/users/MAq2402/repos","events_url":"https://api.github.com/users/MAq2402/events{/privacy}","received_events_url":"https://api.github.com/users/MAq2402/received_events","type":"User","site_admin":false},"html_url":"https://github.com/MAq2402/KOService","description":null,"fork":false,"url":"https://api.github.com/repos/MAq2402/KOService","forks_url":"https://api.github.com/repos/MAq2402/KOService/forks","keys_url":"https://api.github.com/repos/MAq2402/KOService/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MAq2402/KOService/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MAq2402/KOService/teams","hooks_url":"https://api.github.com/repos/MAq2402/KOService/hooks","issue_events_url":"https://api.github.com/repos/MAq2402/KOService/issues/events{/number}","events_url":"https://api.github.com/repos/MAq2402/KOService/events","assignees_url":"https://api.github.com/repos/MAq2402/KOService/assignees{/user}","branches_url":"https://api.github.com/repos/MAq2402/KOService/branches{/branch}","tags_url":"https://api.github.com/repos/MAq2402/KOService/tags","blobs_url":"https://api.github.com/repos/MAq2402/KOService/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MAq2402/KOService/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MAq2402/KOService/git/refs{/sha}","trees_url":"https://api.github.com/repos/MAq2402/KOService/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MAq2402/KOService/statuses/{sha}","languages_url":"https://api.github.com/repos/MAq2402/KOService/languages","stargazers_url":"https://api.github.com/repos/MAq2402/KOService/stargazers","contributors_url":"https://api.github.com/repos/MAq2402/KOService/contributors","subscribers_url":"https://api.github.com/repos/MAq2402/KOService/subscribers","subscription_url":"https://api.github.com/repos/MAq2402/KOService/subscription","commits_url":"https://api.github.com/repos/MAq2402/KOService/commits{/sha}","git_commits_url":"https://api.github.com/repos/MAq2402/KOService/git/commits{/sha}","comments_url":"https://api.github.com/repos/MAq2402/KOService/comments{/number}","issue_comment_url":"https://api.github.com/repos/MAq2402/KOService/issues/comments{/number}","contents_url":"https://api.github.com/repos/MAq2402/KOService/contents/{+path}","compare_url":"https://api.github.com/repos/MAq2402/KOService/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MAq2402/KOService/merges","archive_url":"https://api.github.com/repos/MAq2402/KOService/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MAq2402/KOService/downloads","issues_url":"https://api.github.com/repos/MAq2402/KOService/issues{/number}","pulls_url":"https://api.github.com/repos/MAq2402/KOService/pulls{/number}","milestones_url":"https://api.github.com/repos/MAq2402/KOService/milestones{/number}","notifications_url":"https://api.github.com/repos/MAq2402/KOService/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MAq2402/KOService/labels{/name}","releases_url":"https://api.github.com/repos/MAq2402/KOService/releases{/id}","deployments_url":"https://api.github.com/repos/MAq2402/KOService/deployments","created_at":"2019-03-23T16:03:44Z","updated_at":"2019-05-25T12:42:26Z","pushed_at":"2019-05-25T20:10:42Z","git_url":"git://github.com/MAq2402/KOService.git","ssh_url":"git@github.com:MAq2402/KOService.git","clone_url":"https://github.com/MAq2402/KOService.git","svn_url":"https://github.com/MAq2402/KOService","homepage":null,"size":586,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"MAq2402:master","ref":"master","sha":"43f388e95be451929297dd913a52d3f685e2c7f6","user":{"login":"MAq2402","id":22637588,"node_id":"MDQ6VXNlcjIyNjM3NTg4","avatar_url":"https://avatars2.githubusercontent.com/u/22637588?v=4","gravatar_id":"","url":"https://api.github.com/users/MAq2402","html_url":"https://github.com/MAq2402","followers_url":"https://api.github.com/users/MAq2402/followers","following_url":"https://api.github.com/users/MAq2402/following{/other_user}","gists_url":"https://api.github.com/users/MAq2402/gists{/gist_id}","starred_url":"https://api.github.com/users/MAq2402/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MAq2402/subscriptions","organizations_url":"https://api.github.com/users/MAq2402/orgs","repos_url":"https://api.github.com/users/MAq2402/repos","events_url":"https://api.github.com/users/MAq2402/events{/privacy}","received_events_url":"https://api.github.com/users/MAq2402/received_events","type":"User","site_admin":false},"repo":{"id":177309994,"node_id":"MDEwOlJlcG9zaXRvcnkxNzczMDk5OTQ=","name":"KOService","full_name":"MAq2402/KOService","private":false,"owner":{"login":"MAq2402","id":22637588,"node_id":"MDQ6VXNlcjIyNjM3NTg4","avatar_url":"https://avatars2.githubusercontent.com/u/22637588?v=4","gravatar_id":"","url":"https://api.github.com/users/MAq2402","html_url":"https://github.com/MAq2402","followers_url":"https://api.github.com/users/MAq2402/followers","following_url":"https://api.github.com/users/MAq2402/following{/other_user}","gists_url":"https://api.github.com/users/MAq2402/gists{/gist_id}","starred_url":"https://api.github.com/users/MAq2402/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MAq2402/subscriptions","organizations_url":"https://api.github.com/users/MAq2402/orgs","repos_url":"https://api.github.com/users/MAq2402/repos","events_url":"https://api.github.com/users/MAq2402/events{/privacy}","received_events_url":"https://api.github.com/users/MAq2402/received_events","type":"User","site_admin":false},"html_url":"https://github.com/MAq2402/KOService","description":null,"fork":false,"url":"https://api.github.com/repos/MAq2402/KOService","forks_url":"https://api.github.com/repos/MAq2402/KOService/forks","keys_url":"https://api.github.com/repos/MAq2402/KOService/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MAq2402/KOService/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MAq2402/KOService/teams","hooks_url":"https://api.github.com/repos/MAq2402/KOService/hooks","issue_events_url":"https://api.github.com/repos/MAq2402/KOService/issues/events{/number}","events_url":"https://api.github.com/repos/MAq2402/KOService/events","assignees_url":"https://api.github.com/repos/MAq2402/KOService/assignees{/user}","branches_url":"https://api.github.com/repos/MAq2402/KOService/branches{/branch}","tags_url":"https://api.github.com/repos/MAq2402/KOService/tags","blobs_url":"https://api.github.com/repos/MAq2402/KOService/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MAq2402/KOService/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MAq2402/KOService/git/refs{/sha}","trees_url":"https://api.github.com/repos/MAq2402/KOService/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MAq2402/KOService/statuses/{sha}","languages_url":"https://api.github.com/repos/MAq2402/KOService/languages","stargazers_url":"https://api.github.com/repos/MAq2402/KOService/stargazers","contributors_url":"https://api.github.com/repos/MAq2402/KOService/contributors","subscribers_url":"https://api.github.com/repos/MAq2402/KOService/subscribers","subscription_url":"https://api.github.com/repos/MAq2402/KOService/subscription","commits_url":"https://api.github.com/repos/MAq2402/KOService/commits{/sha}","git_commits_url":"https://api.github.com/repos/MAq2402/KOService/git/commits{/sha}","comments_url":"https://api.github.com/repos/MAq2402/KOService/comments{/number}","issue_comment_url":"https://api.github.com/repos/MAq2402/KOService/issues/comments{/number}","contents_url":"https://api.github.com/repos/MAq2402/KOService/contents/{+path}","compare_url":"https://api.github.com/repos/MAq2402/KOService/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MAq2402/KOService/merges","archive_url":"https://api.github.com/repos/MAq2402/KOService/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MAq2402/KOService/downloads","issues_url":"https://api.github.com/repos/MAq2402/KOService/issues{/number}","pulls_url":"https://api.github.com/repos/MAq2402/KOService/pulls{/number}","milestones_url":"https://api.github.com/repos/MAq2402/KOService/milestones{/number}","notifications_url":"https://api.github.com/repos/MAq2402/KOService/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MAq2402/KOService/labels{/name}","releases_url":"https://api.github.com/repos/MAq2402/KOService/releases{/id}","deployments_url":"https://api.github.com/repos/MAq2402/KOService/deployments","created_at":"2019-03-23T16:03:44Z","updated_at":"2019-05-25T12:42:26Z","pushed_at":"2019-05-25T20:10:42Z","git_url":"git://github.com/MAq2402/KOService.git","ssh_url":"git@github.com:MAq2402/KOService.git","clone_url":"https://github.com/MAq2402/KOService.git","svn_url":"https://github.com/MAq2402/KOService","homepage":null,"size":586,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MAq2402/KOService/pulls/22"},"html":{"href":"https://github.com/MAq2402/KOService/pull/22"},"issue":{"href":"https://api.github.com/repos/MAq2402/KOService/issues/22"},"comments":{"href":"https://api.github.com/repos/MAq2402/KOService/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/MAq2402/KOService/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/MAq2402/KOService/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MAq2402/KOService/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/MAq2402/KOService/statuses/7f0857d0b0dce5cab31a5a279bb7ac22afc2bf5d"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":104,"deletions":107,"changed_files":9}}
{"actor":{"display_login":"jaklyk2103"}}