-
Notifications
You must be signed in to change notification settings - Fork 61
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
fix(native-app): decrease size of vehicle card on home page #15972
Conversation
WalkthroughThe changes involve modifications to the Changes
Possibly related PRs
Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (1)
Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15972 +/- ##
==========================================
- Coverage 36.86% 36.86% -0.01%
==========================================
Files 6714 6715 +1
Lines 137611 137631 +20
Branches 39119 39132 +13
==========================================
Hits 50732 50732
- Misses 86879 86899 +20
Flags with carried forward coverage won't be shown. Click here to find out more. see 3 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Datadog ReportBranch report: ✅ 0 Failed, 84 Passed, 0 Skipped, 32.51s Total Time |
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.
Awesome much better looking
What
Vehicle card in widget on home screen was set to have minHeight 176px to accommodate vehicles with long names that would wrap into two lines. (We want all vehicle cards in the widget to be of the same size, that is the reason we set minHeight to the size of the biggest possible card). This was causing really big cards so we decided to truncate the name on the home screen. They are not truncated on the vehicles screen, then they are dynamically sized based on content.
Screenshots / Gifs
Before:
After:
Attach Screenshots / Gifs to help reviewers understand the scope of the pull request
Checklist:
Summary by CodeRabbit
New Features
Bug Fixes