Components should have some element of testing and the Developer Experience is due a few improvements:
Developers should be able to easily access a library of existing components for easy re-use
Developing new components should easily be brought in line with the visual guidelines of Kindly
Adding tests for component functionality should be made easy to help our continuous integration as the community of collaborators grows
Current Behaviour
Component files are currently organised within the folders structure of our code but can only be viewed by running the app and finding the component there or testing it in a new use-case.
There are no component tests of any kind happening at the moment and variations of the same component will sometimes surprise us and cause a last-minute redesign of the component.
Steps to Reproduce Suggestion
Storybook allows us to create our own component library.
Developers will be able to view a complete library of all available components
Tests can be automated to check the functionality of each component
Building new components becomes easier with a visual display that is isolated from the rest of the app and allows us to simulate infinite variations on the same component
Developers will only need to import their component to a storybook file and push that with their commit, so maintainability is easy
Expected Behaviour
Components should have some element of testing and the Developer Experience is due a few improvements:
Current Behaviour
Component files are currently organised within the folders structure of our code but can only be viewed by running the app and finding the component there or testing it in a new use-case. There are no component tests of any kind happening at the moment and variations of the same component will sometimes surprise us and cause a last-minute redesign of the component.
Steps to ReproduceSuggestionStorybook allows us to create our own component library.