Skip to content

Adjust “What's new” modal UI and items for tablet#7605

Merged
catalinradoiu merged 7 commits intodevelopfrom
feature/cradoiu/whats-new-adjust-for-tablet
Feb 4, 2026
Merged

Adjust “What's new” modal UI and items for tablet#7605
catalinradoiu merged 7 commits intodevelopfrom
feature/cradoiu/whats-new-adjust-for-tablet

Conversation

@catalinradoiu
Copy link
Copy Markdown
Contributor

@catalinradoiu catalinradoiu commented Jan 28, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/project/1211724162604201/task/1212898863116333?focus=true

Description

This PR improves the “What’s new” modal UI for tablet devices by:

  • Adding a maximum width constraint (600dp) to message components to prevent excessive stretching on larger screens
  • Creating responsive margins with different values for phones and tablets
  • Extracting dimension values to dedicated resource files for better maintainability

Steps to test this PR

Check the steps inside the following task to the the changes: https://app.asana.com/1/137249556945/project/1211724162604201/task/1213012607800059?focus=true

UI changes

Before changes

Phone Tablet
whats_new_phone_before_changes.mp4 (uploaded via Graphite) whats_new_tablet_before_changes.mp4 (uploaded via Graphite)

|

After changes

Phone Tablet
whats_new_phone.mp4 (uploaded via Graphite) whats_new_tablet_changes.mp4 (uploaded via Graphite)

Note

Low Risk
Low risk UI-only changes: layout constraints/margins and a small click-target wiring change for list items, with no business logic or data handling impact.

Overview
Improves the “What’s new” modal layout for larger screens by introducing a messageContentMaxWidth (600dp) and applying layout_constraintWidth_max across the header, section title, card items, featured item card, and the bottom action button to prevent stretching on tablets.

Updates featured list spacing to use extracted dimens (with values-sw600dp overrides) and refactors view_remote_message_card_item.xml to use an inner listItemContainer, updating CardsListAdapter to attach click handling to that container.

Written by Cursor Bugbot for commit e7f34d7. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown
Contributor Author

catalinradoiu commented Jan 28, 2026

@catalinradoiu catalinradoiu changed the title Adjust what's new items for tablet Adjust “What's new” modal UI and items for tablet Jan 28, 2026
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Base automatically changed from feature/cradoiu/whats-new-top-section-scrollable to develop February 4, 2026 10:13
# Conflicts:
#	remote-messaging/remote-messaging-impl/src/main/res/layout/view_remote_message_header.xml
Copy link
Copy Markdown
Contributor

@anikiki anikiki left a comment

Choose a reason for hiding this comment

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

Looks good and works as expected! 🎉

@catalinradoiu catalinradoiu merged commit b5a3283 into develop Feb 4, 2026
12 checks passed
@catalinradoiu catalinradoiu deleted the feature/cradoiu/whats-new-adjust-for-tablet branch February 4, 2026 11:22
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.

2 participants