Skip to content

Revamp Main tab - #55

Merged
nhoxbypass merged 5 commits into
developfrom
feature/revamp_main_tab
Apr 19, 2026
Merged

Revamp Main tab#55
nhoxbypass merged 5 commits into
developfrom
feature/revamp_main_tab

Conversation

@nhoxbypass

Copy link
Copy Markdown
Owner

No description provided.

@nhoxbypass nhoxbypass self-assigned this Apr 18, 2026
@codecov

codecov Bot commented Apr 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 17.86%. Comparing base (851d600) to head (3c08062).
⚠️ Report is 7 commits behind head on develop.

Files with missing lines Patch % Lines
...iceteaviet/fastfoodfinder/ui/main/MainViewModel.kt 0.00% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop      #55      +/-   ##
=============================================
+ Coverage      17.31%   17.86%   +0.55%     
  Complexity       196      196              
=============================================
  Files             97       94       -3     
  Lines           2536     2457      -79     
  Branches         223      222       -1     
=============================================
  Hits             439      439              
+ Misses          2080     2001      -79     
  Partials          17       17              

☔ 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.

@nhoxbypass
nhoxbypass force-pushed the feature/revamp_main_tab branch from 34a7f10 to 4246f0f Compare April 18, 2026 17:25
- Add `.agents/rules/android-architecture.md` to enforce Clean Architecture and ViewModel independence from the Android framework.
- Add `.agents/rules/android-tech-stack.md` to define the preferred stack, including Jetpack Compose, Kotlin Coroutines, Hilt, and Retrofit.
- Add `.agents/rules/android-testing-quality.md` to require unit tests for business logic and mandate the use of string resources over hardcoded strings.
@nhoxbypass
nhoxbypass force-pushed the feature/revamp_main_tab branch from 17aef4a to 025cb16 Compare April 19, 2026 04:33
- Delete `MainRecentlyFragment`, `MainRecentlyViewModel`, and `RecentlyStoreAdapter`.
- Remove corresponding layouts `fragment_main_recently.xml` and `item_recently_location.xml`.
- Update `MainPagerAdapter` to reduce page count from 3 to 2, removing the "Recently" tab.
- Adjust `offscreenPageLimit` in `MainFragment` to reflect the reduced number of tabs.
- Add "Favourite" item to the navigation drawer menu.
- Update `MainViewModel` and `MainActivity` to handle navigation to the Favourite screen.
- Remove "Favourite" tab from `MainPagerAdapter`, reducing the main pager to a single "Map" tab.
- Implement `showFavouriteView` in `MainActivity` to display `MainFavouriteFragment` as a separate fragment.
…ault view

- Remove `MainFragment`, `MainPagerAdapter`, and their associated layout `fragment_main.xml`.
- Update `MainActivity` to host `MainMapFragment` directly in the fragment placeholder.
- Remove top margin from `map_placeholder` in `fragment_main_map.xml`.
@nhoxbypass
nhoxbypass force-pushed the feature/revamp_main_tab branch from 025cb16 to 3c08062 Compare April 19, 2026 05:06
@nhoxbypass
nhoxbypass merged commit 3134a8d into develop Apr 19, 2026
3 of 4 checks passed
@nhoxbypass
nhoxbypass deleted the feature/revamp_main_tab branch April 19, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant