-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added help text to the react-native preview panel #1142
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1142 +/- ##
==========================================
- Coverage 12.84% 12.75% -0.09%
==========================================
Files 198 199 +1
Lines 4540 4571 +31
Branches 718 724 +6
==========================================
Hits 583 583
- Misses 3322 3347 +25
- Partials 635 641 +6
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matt-oakes Thanks for this wonderful and useful idea. It will be a huge improvement for the RN experience!
My one request is to make it look a little more Storybook-like before we merge. Borrowing a few lines from the cli
's Welcome
should do the trick:
4cd2c15
to
2820dae
Compare
@shilman Ahhh! As I've only used the React Native version I hadn't seen that screen before. I have borrowed the styling and taking the first paragraph and combined it with the device running instructions. It now looks like this: Let me know if you want me to make any more changes. |
2820dae
to
5ed72e8
Compare
@matt-oakes Beautiful!!! |
@shilman I think beautiful might be overstating it a bit, but thank you 😉 |
@matt-oakes "relatively beautiful" then? anyway, it should make a night-and-day difference to the onboarding experience for RN. i'm thrilled at this addition. |
@shilman Yep, hopefully it will! |
What I did
I have added some help text into the preview panel for React Native projects. I took the text from the README and added it into the blank preview panel to give hints into using the tool if the user opens the browser UI first.
Currently, it's ugly but functional:
How to test
Open the browser UI for a React Native project and look in the preview panel.