Skip to content
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

Migrate search fragment to compose UI #2108

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

niyajali
Copy link
Contributor

@niyajali niyajali commented Jun 5, 2024

Fixes MIFOSAC-168

Please Add Screenshots If there are any UI changes.

screen-20240605-225004.mp4

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the MifosStyle.xml style template to your code in Android Studio.

  • Run the unit tests with ./gradlew check to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

# Conflicts:
#	mifosng-android/build.gradle.kts
#	mifosng-android/src/main/java/com/mifos/mifosxdroid/online/search/SearchFragment.kt
#	mifosng-android/src/main/java/com/mifos/mifosxdroid/online/search/SearchUiState.kt
#	mifosng-android/src/main/java/com/mifos/mifosxdroid/online/search/SearchViewModel.kt
#	mifosng-android/src/test/java/com/mifos/viewmodels/SearchViewModelTest.kt
# Conflicts:
#	mifosng-android/build.gradle.kts
…to MIFOSAC-168-migrate-search-fragment-to-compose

# Conflicts:
#	mifosng-android/build.gradle.kts
#	mifosng-android/src/main/java/com/mifos/mifosxdroid/online/search/SearchViewModel.kt
#	mifosng-android/src/test/java/com/mifos/viewmodels/SearchViewModelTest.kt
- Moved files to specific package
- Created new search module
- Fixed search screen UX/UI
@niyajali niyajali changed the title Mifosac 168 migrate search fragment to compose UI Migrate search fragment to compose UI Jun 5, 2024
@niyajali
Copy link
Contributor Author

niyajali commented Jun 6, 2024

@therajanmaurya @Aditya-gupta99 pls review this pr

Comment on lines +10 to +23
// @Mock
// lateinit var searchRepository: SearchRepository
//
// private lateinit var searchViewModel: SearchViewModel
//
// private val dispatcher: TestDispatcher = StandardTestDispatcher()
//
// @OptIn(ExperimentalCoroutinesApi::class)
// @Before
// fun setUp() {
// MockitoAnnotations.openMocks(this)
// searchViewModel = SearchViewModel(searchRepository)
// Dispatchers.setMain(dispatcher)
// }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why you have commented this code ?

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.

None yet

3 participants