mattermost-mobile/app
Ashish Bhate 1914b770e5
[MM-28845]: Add storybook to mobile repo (#4870)
*Summary*
- This PR adds storybook into the mobile repo, and adds a sample story for the existing "loading" component.
- In the root of the repo run `npm run storybook`. This step automatically scans and loads all stories. A new browser tab will open with the storybook interface. You can configure the storybook host url by updating the .env file in the root of the repo. This might be required if you're using a real device. When running in an emulator, the code tries to use the default network values.
- Then run the usual `npm run android` (or `npm run ios`) and `npm run start` commands
- Storybook has been integrated into the react-native-dev-menu. When the app is running in the emulator press CTRL+M or CMD+M to open the dev menu and select "Storybook". If running on a real device, shaking the device will bring up the react-native dev menu. You can also press d in the terminal where you ran npm run start to get the app running.
- The storybook interface will open in the mobile app. The stories can be controlled either through the desktop browser storybook UI or the mobile browser storybook UI. Both will render the component on the device.

*Ticket Link*
https://mattermost.atlassian.net/browse/MM-28845

*Device Information*
This PR was tested on:
Iphone 11 emulator running ios 13.7
Pixel 3XL emulator running Android 10
2020-11-02 15:41:07 +05:30
..
actions MM-29252 Tapping on invalid permalink shows an error (#4926) 2020-10-28 11:54:47 -03:00
client MM-15758 Update dependencies including Fastlane (#4272) 2020-05-18 11:24:47 -07:00
components [MM-28845]: Add storybook to mobile repo (#4870) 2020-11-02 15:41:07 +05:30
constants MM-28336 Align hamburger menu badges (#4894) 2020-10-19 21:48:37 -03:00
i18n Revert bulgarian. (#4814) 2020-09-16 16:44:14 +02:00
init MM-28105 do not crash when in-app notification shows (#4915) 2020-10-22 14:34:49 -03:00
mattermost_bucket iOS Native Share Extension (Swift) (#2575) 2019-02-26 14:31:57 -03:00
mattermost_managed MM-24446 Fix Crash on iOS with EMM enabled (#4203) 2020-04-23 06:03:10 -04:00
mm-redux Refactor Android Share extension (js) (#4893) 2020-10-19 21:39:59 -03:00
notification_preferences Deps update (#3806) 2020-01-20 13:20:03 -03:00
push_notifications MM-26749 Fix race condition when open from PN (#4556) 2020-07-10 16:24:09 -04:00
reducers Refactor Android Share extension (js) (#4893) 2020-10-19 21:39:59 -03:00
screens MM-29252 Tapping on invalid permalink shows an error (#4926) 2020-10-28 11:54:47 -03:00
selectors [MM-22366] Make user autocomplete also match on spaces (#4880) 2020-10-19 10:15:18 -03:00
store MM-28968 Fix redux-persist serializer (#4918) 2020-10-23 15:12:06 -07:00
styles [MM-22959] Use Compass icons (#4847) 2020-10-15 15:34:24 -07:00
telemetry MM-15758 Update dependencies including Fastlane (#4272) 2020-05-18 11:24:47 -07:00
types MM-28105 do not crash when in-app notification shows (#4915) 2020-10-22 14:34:49 -03:00
utils MM-29252 Tapping on invalid permalink shows an error (#4926) 2020-10-28 11:54:47 -03:00
mattermost.js MM-28295 Do not remove the Channel screen from the stack tracking (#4793) 2020-09-09 13:15:09 -03:00
mattermost.test.js Fix event typo (#4516) 2020-07-01 17:11:15 -07:00