Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(base,example): Dialog.title not honoring theme in dark mode. #3878

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

Merged

Conversation

@amutsch
Copy link

@amutsch amutsch commented Jan 16, 2024

Updates Dialog Title theme honoring and adds Testing for Dialog Title Updates clean command to use rimraf
Give some love to Dialog example component(fix checkbox example in dark mode)

Issue: #3876

Motivation

Dialog.Title was not honoring the theming of the library

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Was tested in my locale dev app using RNE libs, tested in example app, new JUnit tests introduced to verify and ensure it doesn't break again.

Basic setup of light mode and dark mode. Flip to dark mode and it will not change the text to white.

  • Jest Unit Test
  • Checked with example app

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • [N/A] I have commented my code, particularly in hard-to-understand areas
  • [N/A] I have made corresponding changes to the documentation using yarn docs-build-api
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Additional context

Base Dialog.Title component was leveraging the react-native text component and there was no chance for the theme to be honored. The Theme was also not being propogated properly.

Updates Dialog Title theme honoring and adds Testing for Dialog Title
Updates clean command to use rimraf
Give some love to Dialog example component(fix checkbox example in dark mode)
Issue: react-native-elements#3876 
Copy link

codecov bot commented Jan 20, 2024
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a3e52ad) 79.69% compared to head (f44d609) 79.70%.

Additional details and impacted files
@@ Coverage Diff @@
## next #3878 +/- ##
==========================================
+ Coverage 79.69% 79.70% +0.01% 
==========================================
 Files 87 87 
 Lines 1842 1843 +1 
 Branches 818 819 +1 
==========================================
+ Hits 1468 1469 +1 
 Misses 369 369 
 Partials 5 5 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

Hey @amutsch, please fix the linting issues and commit the changes. Thanks 😄

Copy link
Author

amutsch commented Jan 20, 2024

Thanks for the review @khushal87 , not sure how I missed that on the tests., updated now

@khushal87 khushal87 merged commit c87b7ec into react-native-elements:next Jan 21, 2024
@amutsch amutsch deleted the fix/amutsch/3876/DialogTitleFixes branch January 21, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@khushal87 khushal87 khushal87 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /