Skip to content

Conversation

@Arkariang
Copy link
Contributor

@Arkariang Arkariang commented Jul 21, 2025

📲 What

Search & filter UI empty states polishes

👀 See

EmptyStates.mp4

| --- | --- |
| | |

📋 QA

  • Search for a query that will yield no results without applying any filter
  • Search for queries and apply filters that will yield no results.

Story 📖

MBL-2617

@codecov-commenter
Copy link

codecov-commenter commented Jul 21, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 46.15385% with 42 lines in your changes missing coverage. Please review.

Project coverage is 66.16%. Comparing base (58417b6) to head (6b80c87).

Files with missing lines Patch % Lines
...arter/ui/activities/compose/search/SearchScreen.kt 18.18% 26 Missing and 1 partial ⚠️
...er/ui/activities/compose/search/SearchEmptyView.kt 66.66% 12 Missing and 3 partials ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2381      +/-   ##
============================================
- Coverage     66.18%   66.16%   -0.03%     
- Complexity     2345     2346       +1     
============================================
  Files           377      377              
  Lines         27593    27653      +60     
  Branches       4181     4191      +10     
============================================
+ Hits          18263    18297      +34     
- Misses         7094     7119      +25     
- Partials       2236     2237       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Arkariang Arkariang marked this pull request as ready for review July 21, 2025 22:52
@Arkariang Arkariang self-assigned this Jul 21, 2025
@Arkariang Arkariang closed this Jul 21, 2025
@Arkariang Arkariang reopened this Jul 21, 2025
) {
val mod = if (shouldWrapContentWidth)
modifier.wrapContentWidth()
else modifier.fillMaxWidth()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Quite probably for our design system health we should not set width for buttons within the button itself, but on the modifier outside of the button itself, (fyi: modifiers in compose do follow the builder pattern, if we setup with within the button itself it will be the latest one applied)
Will add a follow up design system refactor ticket for this specific point to not set fillMaxWidth() nor wrapContentWidth() within the button component. Adding this solution temporarily to not hold any release

leighdouglas
leighdouglas previously approved these changes Jul 22, 2025
Copy link
Contributor

@jlplks jlplks left a comment

Choose a reason for hiding this comment

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

LGTM!

@Arkariang Arkariang merged commit d219eb8 into master Jul 23, 2025
3 checks passed
@Arkariang Arkariang deleted the imartin/MBL-2617-empty-states branch July 23, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants