{"action":"opened","issue":{"url":"https://api.github.com/repos/auth0/cosmos/issues/1255","repository_url":"https://api.github.com/repos/auth0/cosmos","labels_url":"https://api.github.com/repos/auth0/cosmos/issues/1255/labels{/name}","comments_url":"https://api.github.com/repos/auth0/cosmos/issues/1255/comments","events_url":"https://api.github.com/repos/auth0/cosmos/issues/1255/events","html_url":"https://github.com/auth0/cosmos/issues/1255","id":389794736,"node_id":"MDU6SXNzdWUzODk3OTQ3MzY=","number":1255,"title":"[RFC] Refactor resource list","user":{"login":"andresgalante","id":1832037,"node_id":"MDQ6VXNlcjE4MzIwMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1832037?v=4","gravatar_id":"","url":"https://api.github.com/users/andresgalante","html_url":"https://github.com/andresgalante","followers_url":"https://api.github.com/users/andresgalante/followers","following_url":"https://api.github.com/users/andresgalante/following{/other_user}","gists_url":"https://api.github.com/users/andresgalante/gists{/gist_id}","starred_url":"https://api.github.com/users/andresgalante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresgalante/subscriptions","organizations_url":"https://api.github.com/users/andresgalante/orgs","repos_url":"https://api.github.com/users/andresgalante/repos","events_url":"https://api.github.com/users/andresgalante/events{/privacy}","received_events_url":"https://api.github.com/users/andresgalante/received_events","type":"User","site_admin":false},"labels":[{"id":1132773955,"node_id":"MDU6TGFiZWwxMTMyNzczOTU1","url":"https://api.github.com/repos/auth0/cosmos/labels/%F0%9F%A4%94%20RFC%20/%20Proposal","name":"🤔 RFC / Proposal","color":"4feac9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-11T14:38:43Z","updated_at":"2018-12-11T14:38:43Z","closed_at":null,"author_association":"MEMBER","body":"## Problem\r\nAs we build the resource list as a component we realized that it's becoming too use-case specific. On one hand, it's good because it promotes consistency, but the fact is that it's not flexible enough to cope with the needs of our author.\r\n\r\nWe ended up with a heavily modified implementation that is hard to maintain.\r\n\r\n## Proposal\r\n\r\nThe resource list can be made out of building blocks.\r\n\r\nWe should provide enough build blocks and show examples of the different use cases specific implementation on the list component docs for an author to follow.\r\n\r\n### What do we need?\r\n\r\nTo make sure we can reproduce the resource list we'll need to build or refine a few components:\r\n\r\n- Create an empty list as a shell to nest any kind of list\r\n- Finish and merge the refracting of stack layout #1113\r\n- Improve avatar block\r\n- Improve the button group and maybe call it a toolbar\r\n\r\n### Margins are hitting us again!\r\n\r\nStack layout should take care of its children margins as any layout. But if a user wants to use a component within the list without a layout, then the margins will make spaces look wrong.\r\n\r\n### Resource list deprecation\r\n\r\nSince the resource list is heavily used, we might consider a longer time for deprecating the old one.\r\n"}}
{"actor":{"display_login":"andresgalante"}}