Skip to content

feat: Enhance splash screen and add user search functionality#7

Merged
CGreenP merged 1 commit intomasterfrom
dev
Apr 5, 2025
Merged

feat: Enhance splash screen and add user search functionality#7
CGreenP merged 1 commit intomasterfrom
dev

Conversation

@CGreenP
Copy link
Copy Markdown
Owner

@CGreenP CGreenP commented Apr 5, 2025

Bonus Features

Enhances the app's splash screen with a custom exit animation and introduces the ability to search for users within the app.

This commit enhances the app's splash screen with a custom exit animation and introduces the ability to search for users within the app.

Changes:

-   **Splash Screen Animation:**
    -   Implemented a custom exit animation for the splash screen that zooms out and rotates the icon, using `ObjectAnimator` and `OvershootInterpolator`.
    -   Added `Theme.App.Starting` style for splash screen configuration, including background color, icon background color, and animated icon.
    - Added  `logo_animator.xml` and `animated_logo.xml` to add animation in splash screen icon
    -  Added new `ic_launcher_foreground` in `mipmap` folders and `ic_launcher_background.xml`
- Added new `app_logo.xml` in `drawable` folder
    -   Updated `ic_launcher.xml` and `ic_launcher_round.xml` in `mipmap-anydpi-v26` to remove deprecated drawables.
    - updated `AndroidManifest.xml` to use splash screen theme
    - Updated `themes.xml` to add splash screen style and `themes.xml (v31)`
- updated all `ic_launcher` and `ic_launcher_round` to webp format in all `mipmap` folders
- Added `ic_launcher-playstore.png`

-   **User Search Functionality:**
    -   Added `searchQuery`, `allUsers` state flows to `MainViewModel` to manage user search.
    -   Implemented `setSearchQuery` to update the search query and filter users.
    -   Implemented `filterUsers` to filter the `allUsers` based on the current search query, updating the `uiState` accordingly.
    -   Modified `HomeScreenTopBar` to include a search bar and search icon.
    - Added search functionality and animated icon in `HomeScreenTopBar`
    -   Added `DockedSearchBar` to `HomeScreenTopBar` for user search.
    - Added `clearSearchQuery` action in `HomeScreenTopBar`
    -  Added `BackHandler` in `HomeScreen` to clear the search field when user back press.
    -   Updated `UserList` to display a message when no users are found, including an error icon.
    - Display `UserListFooter` only if there are users in the list
    - Changed `bs` title in `UserDetailsItemCompanyRow` to `Business`
    - Added `Icon` in case of error in `UserList`
    - Updated `HomeScreenContent` to remove `contentAlignment = Alignment.Center`
    - Added `TechExactlyApplication` to apply Koin configuration
@CGreenP CGreenP merged commit 8404b63 into master Apr 5, 2025
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.

1 participant