{"action":"created","issue":{"url":"https://api.github.com/repos/cerner/terra-core/issues/1785","repository_url":"https://api.github.com/repos/cerner/terra-core","labels_url":"https://api.github.com/repos/cerner/terra-core/issues/1785/labels{/name}","comments_url":"https://api.github.com/repos/cerner/terra-core/issues/1785/comments","events_url":"https://api.github.com/repos/cerner/terra-core/issues/1785/events","html_url":"https://github.com/cerner/terra-core/issues/1785","id":353078234,"node_id":"MDU6SXNzdWUzNTMwNzgyMzQ=","number":1785,"title":"Create Toggle-Preview-Text Component","user":{"login":"gabeparra01","id":42552940,"node_id":"MDQ6VXNlcjQyNTUyOTQw","avatar_url":"https://avatars1.githubusercontent.com/u/42552940?v=4","gravatar_id":"","url":"https://api.github.com/users/gabeparra01","html_url":"https://github.com/gabeparra01","followers_url":"https://api.github.com/users/gabeparra01/followers","following_url":"https://api.github.com/users/gabeparra01/following{/other_user}","gists_url":"https://api.github.com/users/gabeparra01/gists{/gist_id}","starred_url":"https://api.github.com/users/gabeparra01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabeparra01/subscriptions","organizations_url":"https://api.github.com/users/gabeparra01/orgs","repos_url":"https://api.github.com/users/gabeparra01/repos","events_url":"https://api.github.com/users/gabeparra01/events{/privacy}","received_events_url":"https://api.github.com/users/gabeparra01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-22T18:48:57Z","updated_at":"2018-08-22T20:00:44Z","closed_at":null,"author_association":"NONE","body":"# Feature Request\r\n\r\n## Description\r\nCreate a new Toggle Preview Text display component that will show a preview of a set of text or the full set of text. Text will be passed to this component. If the number of characters in the text surpasses a certain value, then only part of text will be displayed to the user. The user can then click a \"see more\" link that will display all of the text that was passed into the component. After that action, the link will then be displayed as \"see less\" and the user can click on it again to only display part of the text and the link will be changed back to \"see more\".\r\n\r\nThis component will help save space when the page uses large text inputs that are not always the main focus of the user. It would be especially beneficial in slide panels and modals.\r\n\r\nThe component could be designed to allow the user to pass in the character limit or it could use a constant value as the character limit so that it looks the same across all Orion applications. I am open to whichever direction the Terra Team wants to take on the character limit.\r\n\r\n## Additional Context / Screenshots\r\nHere are some screenshots of the design I have right now. It uses the Terra Toggle Button and imports terra-button for the de-emphasis styling:\r\n![image](https://user-images.githubusercontent.com/42552940/44483879-de5b9980-a611-11e8-86ed-6eb5c3be6a72.png)\r\n\r\nScreenshot for after the user clicks the the \"see more\" link:\r\n![image](https://user-images.githubusercontent.com/42552940/44483914-f501f080-a611-11e8-9804-0a75a03cfc52.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cerner/terra-core/issues/comments/415160500","html_url":"https://github.com/cerner/terra-core/issues/1785#issuecomment-415160500","issue_url":"https://api.github.com/repos/cerner/terra-core/issues/1785","id":415160500,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTE2MDUwMA==","user":{"login":"gabeparra01","id":42552940,"node_id":"MDQ6VXNlcjQyNTUyOTQw","avatar_url":"https://avatars1.githubusercontent.com/u/42552940?v=4","gravatar_id":"","url":"https://api.github.com/users/gabeparra01","html_url":"https://github.com/gabeparra01","followers_url":"https://api.github.com/users/gabeparra01/followers","following_url":"https://api.github.com/users/gabeparra01/following{/other_user}","gists_url":"https://api.github.com/users/gabeparra01/gists{/gist_id}","starred_url":"https://api.github.com/users/gabeparra01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabeparra01/subscriptions","organizations_url":"https://api.github.com/users/gabeparra01/orgs","repos_url":"https://api.github.com/users/gabeparra01/repos","events_url":"https://api.github.com/users/gabeparra01/events{/privacy}","received_events_url":"https://api.github.com/users/gabeparra01/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T20:00:44Z","updated_at":"2018-08-22T20:00:44Z","author_association":"NONE","body":"@bjankord I am planning submit a design/pull request if this feature request is approved. Do you know when issue #1563 will have Orion requirements? Will that component be utilizing terra-toggle-button to show/hide?"}}
{"actor":{"display_login":"gabeparra01"}}