Skip to content
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

feat: move AppNameWarning to DiffViewer #130

Merged
merged 4 commits into from
Jan 6, 2020

Conversation

Naturalclar
Copy link
Member

@Naturalclar Naturalclar commented Dec 31, 2019

Summary

This PR is part of #113

  • Moved AppNameWarning to be displayed after the UsefulContent Section of DiffViewer (will only be displayed once diff is rendered)
  • fixed the style to match the UsefulContent width
  • changed Alert style from warning to info

NOTE: semver 7.x threw an error when I was working on this locally, so I had to change semver back to 6.3.0
I'll add the comment about being able to change the AppName once #111 is merged :)

Test Plan

Kapture 2019-12-31 at 14 07 20

What are the steps to reproduce?

Checklist

  • I tested this thoroughly

Copy link
Member

@pvinis pvinis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel this is alright. Let's wait for @lucasbento too.

Copy link
Member

@lucasbento lucasbento left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really good, thanks for the contribution!

A few points that I would like to change:

  • There needs to be a space between Useful content section and the app name info alert to keep consistency;
  • I strongly recommend to use the Markdown component to show the stuff between ``, it easier to look at;
  • How about changing the message to Keep in mind that RnDiffAppandrndiffapp are placeholders and, when upgrading, you should replace them with your actual project's name.?

@Naturalclar
Copy link
Member Author

@pvinis @lucasbento
Thanks for the feedback!
I missed the Markdown component, it's really useful.

I've made the changes as suggested.

Screen Shot 2020-01-02 at 11 36 40 PM

@Naturalclar Naturalclar requested a review from lucasbento January 2, 2020 14:37
Copy link
Member

@lucasbento lucasbento left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome, thank you!

@lucasbento lucasbento merged commit f4669e4 into react-native-community:master Jan 6, 2020
@lucasbento lucasbento mentioned this pull request Jan 6, 2020
5 tasks
@Naturalclar Naturalclar deleted the fix/113 branch January 6, 2020 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants