Finally set Soapbox up with Storybook! I’ve been wanting this for a long time. It’ll let us develop against mock UI components in isolation.
https://gitlab.com/soapbox-pub/soapbox/-/merge_requests/2252
Finally set Soapbox up with Storybook! I’ve been wanting this for a long time. It’ll let us develop against mock UI components in isolation.
https://gitlab.com/soapbox-pub/soapbox/-/merge_requests/2252
@alex ?
@colinsmatt11 See this thread to demonstrate the problem pretty clearly: https://gleasonator.com/@alex/posts/ASDPncfRkhsK2wkJ7I
Storybook will allow me to create a mock of every type of status, every type of media gallery, every type of link preview, etc.
So if I edit that component, I can easily check that I didn’t break the other states by accessing them right there instead of having to create test data.
Another video of Storybook in action.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.