Please ensure that you have checked your PR for the following requirements:
✅ Compilation: You have run yarn tsc, checking for no typescript errors.
✅ Linting: You have run yarn lint and fixed all linting and formatting errors.
✅ Testing: You have rigorously tested your own code.
✅ Documentation: If needed, the documentation is updated with any relevant information or links to new resources.
✅ Developer Values: Code is modular, well-communicated, responsive, and as lightweight as possible.
🔄 What was changed?
Added storybook as well as made an example of how to use it. The example given was being able to change the user profile picture using expo image picker.
🤔 Why were these changes made?
Added these features since I believe adding storybook to Maet's stack is a great choice in expediting the time it can take making a component for the main app.
⚙️ How to test:
run 'yarn'
run 'yarn storybook'. This should make the desktop UI
run 'yarn start' this should start the mobile UI on expo. You might encounter this error, 'can not find variable name HTMLElement'. If you see this check the readme in the .storybook folder and it will have instructions on how to fix this.
🔗 Useful resources/links:
Many examples in the .storybook folder README, but here is the Storybook website
📋 Initial Requirements
Please ensure that you have checked your PR for the following requirements:
yarn tsc
, checking for no typescript errors.yarn lint
and fixed all linting and formatting errors.🔄 What was changed?
🤔 Why were these changes made?
⚙️ How to test:
🔗 Useful resources/links: