{"action":"created","issue":{"url":"https://api.github.com/repos/nossas/bonde-client/issues/328","repository_url":"https://api.github.com/repos/nossas/bonde-client","labels_url":"https://api.github.com/repos/nossas/bonde-client/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/nossas/bonde-client/issues/328/comments","events_url":"https://api.github.com/repos/nossas/bonde-client/issues/328/events","html_url":"https://github.com/nossas/bonde-client/issues/328","id":203383465,"number":328,"title":"Install babel plugin to resolve aliases","user":{"login":"gabrielrtakeda","id":5435389,"avatar_url":"https://avatars.githubusercontent.com/u/5435389?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielrtakeda","html_url":"https://github.com/gabrielrtakeda","followers_url":"https://api.github.com/users/gabrielrtakeda/followers","following_url":"https://api.github.com/users/gabrielrtakeda/following{/other_user}","gists_url":"https://api.github.com/users/gabrielrtakeda/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielrtakeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielrtakeda/subscriptions","organizations_url":"https://api.github.com/users/gabrielrtakeda/orgs","repos_url":"https://api.github.com/users/gabrielrtakeda/repos","events_url":"https://api.github.com/users/gabrielrtakeda/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielrtakeda/received_events","type":"User","site_admin":false},"labels":[{"id":520997775,"url":"https://api.github.com/repos/nossas/bonde-client/labels/Category:%20Frontend","name":"Category: Frontend","color":"bfdadc","default":false},{"id":520997887,"url":"https://api.github.com/repos/nossas/bonde-client/labels/Priority:%20Medium","name":"Priority: Medium","color":"d4c5f9","default":false},{"id":520997953,"url":"https://api.github.com/repos/nossas/bonde-client/labels/Stage:%20In%20progress","name":"Stage: In progress","color":"fbca04","default":false},{"id":520998056,"url":"https://api.github.com/repos/nossas/bonde-client/labels/Status:%20Impediment","name":"Status: Impediment","color":"b60205","default":false},{"id":520998115,"url":"https://api.github.com/repos/nossas/bonde-client/labels/Type:%20New%20feature","name":"Type: New feature","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"gabrielrtakeda","id":5435389,"avatar_url":"https://avatars.githubusercontent.com/u/5435389?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielrtakeda","html_url":"https://github.com/gabrielrtakeda","followers_url":"https://api.github.com/users/gabrielrtakeda/followers","following_url":"https://api.github.com/users/gabrielrtakeda/following{/other_user}","gists_url":"https://api.github.com/users/gabrielrtakeda/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielrtakeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielrtakeda/subscriptions","organizations_url":"https://api.github.com/users/gabrielrtakeda/orgs","repos_url":"https://api.github.com/users/gabrielrtakeda/repos","events_url":"https://api.github.com/users/gabrielrtakeda/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielrtakeda/received_events","type":"User","site_admin":false},"assignees":[{"login":"gabrielrtakeda","id":5435389,"avatar_url":"https://avatars.githubusercontent.com/u/5435389?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielrtakeda","html_url":"https://github.com/gabrielrtakeda","followers_url":"https://api.github.com/users/gabrielrtakeda/followers","following_url":"https://api.github.com/users/gabrielrtakeda/following{/other_user}","gists_url":"https://api.github.com/users/gabrielrtakeda/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielrtakeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielrtakeda/subscriptions","organizations_url":"https://api.github.com/users/gabrielrtakeda/orgs","repos_url":"https://api.github.com/users/gabrielrtakeda/repos","events_url":"https://api.github.com/users/gabrielrtakeda/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielrtakeda/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/nossas/bonde-client/milestones/8","html_url":"https://github.com/nossas/bonde-client/milestone/8","labels_url":"https://api.github.com/repos/nossas/bonde-client/milestones/8/labels","id":2201234,"number":8,"title":"Progressive Web App Enhancements","description":"","creator":{"login":"gabrielrtakeda","id":5435389,"avatar_url":"https://avatars.githubusercontent.com/u/5435389?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielrtakeda","html_url":"https://github.com/gabrielrtakeda","followers_url":"https://api.github.com/users/gabrielrtakeda/followers","following_url":"https://api.github.com/users/gabrielrtakeda/following{/other_user}","gists_url":"https://api.github.com/users/gabrielrtakeda/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielrtakeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielrtakeda/subscriptions","organizations_url":"https://api.github.com/users/gabrielrtakeda/orgs","repos_url":"https://api.github.com/users/gabrielrtakeda/repos","events_url":"https://api.github.com/users/gabrielrtakeda/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielrtakeda/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":20,"state":"open","created_at":"2016-12-16T17:29:14Z","updated_at":"2017-01-26T14:24:31Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-01-26T14:24:31Z","updated_at":"2017-01-27T00:56:12Z","closed_at":null,"body":"# Introduction\r\nIt needs to install [babel-plugin-module-resolver](https://github.com/tleunen/babel-plugin-module-resolver) to handle aliases created on migration to the new boilerplate.\r\n\r\n# Branches\r\n- Working branch (base: [feature-migration](https://github.com/nossas/bonde-client/tree/feature-migration)): [feature-install-babel-plugin-module-resolver](http://github.com/nossas/bonde-client/tree/feature-install-babel-plugin-module-resolver)\r\n\r\n# Aliases\r\nThe current existing aliases are:\r\n\r\n**jest.config.json**\r\n```js\r\n{\r\n  \"moduleNameMapper\": {\r\n    \"^~client(.*)$\": \"<rootDir>/client$1\",\r\n    \"^~account(.*)$\": \"<rootDir>/client/account$1\",\r\n    \"^~components(.*)$\": \"<rootDir>/client/components$1\",\r\n    \"^~community(.*)$\": \"<rootDir>/client/community$1\",\r\n    // Needs to be removed. Do not removed yet, because of dependency \r\n    // to migrate dashboard/Sidebar to client/components/navigation/sidebar\r\n    \"^~dashboard(.*)$\": \"<rootDir>/client/dashboard$1\",\r\n    \"^~mobilizations(.*)$\": \"<rootDir>/client/mobilizations$1\",\r\n    \"^~utils(.*)$\": \"<rootDir>/client/utils$1\",\r\n    \"^~widget-plugins(.*)$\": \"<rootDir>/client/mobilizations/widgets/__plugins__$1\"\r\n  }\r\n}\r\n```\r\n\r\nSo, it needs to create the following aliases after [babel-plugin-module-resolver](https://github.com/tleunen/babel-plugin-module-resolver) installation:\r\n\r\n| alias           | path                                      |\r\n|-----------------|-------------------------------------------|\r\n| ~client         | /client                                   |\r\n| ~account        | /client/account                           |\r\n| ~components     | /client/components                        |\r\n| ~community      | /client/community                         |\r\n| ~dashboard      | /client/dashboard                         |\r\n| ~mobilizations  | /client/mobilizations                     |\r\n| ~utils          | /client/utils                             |\r\n| ~widget-plugins | /client/mobilizations/widgets/\\_\\_plugins\\_\\_ |"},"comment":{"url":"https://api.github.com/repos/nossas/bonde-client/issues/comments/275561231","html_url":"https://github.com/nossas/bonde-client/issues/328#issuecomment-275561231","issue_url":"https://api.github.com/repos/nossas/bonde-client/issues/328","id":275561231,"user":{"login":"gabrielrtakeda","id":5435389,"avatar_url":"https://avatars.githubusercontent.com/u/5435389?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielrtakeda","html_url":"https://github.com/gabrielrtakeda","followers_url":"https://api.github.com/users/gabrielrtakeda/followers","following_url":"https://api.github.com/users/gabrielrtakeda/following{/other_user}","gists_url":"https://api.github.com/users/gabrielrtakeda/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielrtakeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielrtakeda/subscriptions","organizations_url":"https://api.github.com/users/gabrielrtakeda/orgs","repos_url":"https://api.github.com/users/gabrielrtakeda/repos","events_url":"https://api.github.com/users/gabrielrtakeda/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielrtakeda/received_events","type":"User","site_admin":false},"created_at":"2017-01-27T00:56:12Z","updated_at":"2017-01-27T00:56:12Z","body":"I make some modifications in the 41c9973 that needs to be reverted later. The modifications that I make, allows the render of **CustomDomainPage** with a mocked state. Those modifications have a comment with `@revert` to ease to find which file needs to be fixed."}}
{"actor":{"display_login":"gabrielrtakeda"}}