Skip to content

fix: Improve code quality and state priority list screen#700

Merged
marwanqashwa merged 2 commits intodevelopfrom
refactor/list-screen
Aug 19, 2025
Merged

fix: Improve code quality and state priority list screen#700
marwanqashwa merged 2 commits intodevelopfrom
refactor/list-screen

Conversation

@marwanqashwa
Copy link
Contributor

What does this PR do?

  • Refactored ListViewModel for better readability and organization by extracting logic into private functions and simplifying existing ones.
  • Removed the handlePagingLoadingAutomatically parameter from viewItemsScreen.kt as it's now handled by default in BuildScreen.kt.
  • Updated BuildScreen.kt to handle paging loading automatically by default and adjusted the order of conditional checks.
  • Applied consistent bottom padding for navigation bars across various screens (CategoriesScreen.kt, listScreen.kt, SearchScreen.kt, HomeScreen.kt, AccountScreen.kt) using a new navBarBottomPadding modifier extension.

Type of Change

  • 🔧 Refactoring
  • 🎨 UI changes

Changes Made

  • Compose UI

@london-bot
Copy link
Contributor

london-bot bot commented Aug 19, 2025

[London Bot] Metrics Update Status

📊 PR metrics successfully updated for event: closed.

@london-bot
Copy link
Contributor

london-bot bot commented Aug 19, 2025

[London Bot] Auto-update Status

✅ Branch successfully updated from develop.

@github-actions
Copy link

github-actions bot commented Aug 19, 2025

Code Coverage Summary

File Coverage [0.00%]
presentation/src/main/java/com/london/presentation/feature/list/savedlist/ListViewModel.kt 0.00%
Total Project Coverage 60.35%

@marwanqashwa marwanqashwa enabled auto-merge (squash) August 19, 2025 19:20
Copy link
Contributor

@ahmeddsamii ahmeddsamii left a comment

Choose a reason for hiding this comment

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

Great job, marwan

@marwanqashwa marwanqashwa merged commit cc187cd into develop Aug 19, 2025
12 checks passed
@marwanqashwa marwanqashwa deleted the refactor/list-screen branch August 19, 2025 19:33
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