{"action":"created","issue":{"url":"https://api.github.com/repos/folio-org/stripes-smart-components/issues/330","repository_url":"https://api.github.com/repos/folio-org/stripes-smart-components","labels_url":"https://api.github.com/repos/folio-org/stripes-smart-components/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/folio-org/stripes-smart-components/issues/330/comments","events_url":"https://api.github.com/repos/folio-org/stripes-smart-components/issues/330/events","html_url":"https://github.com/folio-org/stripes-smart-components/pull/330","id":377421522,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MzY4NzA0","number":330,"title":"STSMACOM-145: Update text and position of \"+ Add address\" button on User record","user":{"login":"MaksymDryha","id":43514877,"node_id":"MDQ6VXNlcjQzNTE0ODc3","avatar_url":"https://avatars0.githubusercontent.com/u/43514877?v=4","gravatar_id":"","url":"https://api.github.com/users/MaksymDryha","html_url":"https://github.com/MaksymDryha","followers_url":"https://api.github.com/users/MaksymDryha/followers","following_url":"https://api.github.com/users/MaksymDryha/following{/other_user}","gists_url":"https://api.github.com/users/MaksymDryha/gists{/gist_id}","starred_url":"https://api.github.com/users/MaksymDryha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaksymDryha/subscriptions","organizations_url":"https://api.github.com/users/MaksymDryha/orgs","repos_url":"https://api.github.com/users/MaksymDryha/repos","events_url":"https://api.github.com/users/MaksymDryha/events{/privacy}","received_events_url":"https://api.github.com/users/MaksymDryha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-05T14:22:51Z","updated_at":"2018-11-05T14:39:56Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/folio-org/stripes-smart-components/pulls/330","html_url":"https://github.com/folio-org/stripes-smart-components/pull/330","diff_url":"https://github.com/folio-org/stripes-smart-components/pull/330.diff","patch_url":"https://github.com/folio-org/stripes-smart-components/pull/330.patch"},"body":"According to [this](https://issues.folio.org/browse/STSMACOM-145) story, \"Add address\" button should be aligned to the left so that the label text and position for this type of button follow the latest general FOLIO style guidelines:\r\n\r\n![user-details-4](https://user-images.githubusercontent.com/43514877/48004115-ff179380-e118-11e8-8913-935c327889ec.png)\r\n"},"comment":{"url":"https://api.github.com/repos/folio-org/stripes-smart-components/issues/comments/435898270","html_url":"https://github.com/folio-org/stripes-smart-components/pull/330#issuecomment-435898270","issue_url":"https://api.github.com/repos/folio-org/stripes-smart-components/issues/330","id":435898270,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTg5ODI3MA==","user":{"login":"cherewaty","id":230597,"node_id":"MDQ6VXNlcjIzMDU5Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/230597?v=4","gravatar_id":"","url":"https://api.github.com/users/cherewaty","html_url":"https://github.com/cherewaty","followers_url":"https://api.github.com/users/cherewaty/followers","following_url":"https://api.github.com/users/cherewaty/following{/other_user}","gists_url":"https://api.github.com/users/cherewaty/gists{/gist_id}","starred_url":"https://api.github.com/users/cherewaty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherewaty/subscriptions","organizations_url":"https://api.github.com/users/cherewaty/orgs","repos_url":"https://api.github.com/users/cherewaty/repos","events_url":"https://api.github.com/users/cherewaty/events{/privacy}","received_events_url":"https://api.github.com/users/cherewaty/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T14:39:56Z","updated_at":"2018-11-05T14:39:56Z","author_association":"MEMBER","body":"@MaksymDryha we just figured out a new strategy for how to localize icons in buttons in https://github.com/folio-org/stripes-smart-components/pull/323\r\n\r\nYou should be able to replace:\r\n```\r\n<FormattedMessage id=\"stripes-smart-components.address.addAddress\" />\r\n```\r\nwith \r\n```\r\n<FormattedXmlMessage id=\"stripes-smart-components.address.addAddress\" tags={{ 'icon': (<Icon />) }} />\r\n\r\n```\r\n\r\nand then update the translation string to be:\r\n```\r\n\"address.addAddress\": \"<icon icon='plus-sign'>Add address</icon>\"\r\n```\r\n\r\n(you'll have to add imports for `Icon` and `FormattedXmlMessage`)"}}
{"actor":{"display_login":"cherewaty"}}