TrueSparrowSystems / AI-SalesSparrow-Android-App

MIT License
1 stars 0 forks source link

Create task update #90

Closed dakshbhardwaj closed 1 year ago

dakshbhardwaj commented 1 year ago

Summary:

Summary by CodeRabbit

coderabbitai[bot] commented 1 year ago

Walkthrough

This pull request introduces significant changes to the Android project, focusing on enhancing the user interface and improving the handling of tasks. It includes updates to various components, view models, and repositories, with a particular emphasis on task management and navigation.

Changes

File Summary
app/build.gradle.kts Updated versionCode and application ID suffix for the staging build variant.
.../sales/MainActivity.kt Removed viewModel property and updated setContent call in onCreate.
.../common_components/*.kt Introduced new UI components and modified existing ones for better task management and user interaction.
.../sales/models/SaveNote.kt Added new data class Tasks for task management.
.../sales/repository/*.kt Minor changes including logging and formatting.
.../sales/screens/*.kt Updated screens to handle API responses and state variables, and simplified navigation routes.
.../sales/services/NavigationService.kt Removed viewModel parameter from function and calls.
.../sales/util/Screens.kt Modified TaskScreen route by removing {id} parameter.
.../sales/viewmodals/*.kt Updated view models to handle task updates and retrievals, and removed unnecessary parameters.

"With each commit we make, our code takes shape 🐇💻
Like a garden tended, it's a beautiful landscape 🌷🌳
From main activity to the smallest snippet, every line has its place 📝✨
In the world of coding, there's no room for waste! 🚀🎉"

Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - Mention `@coderabbitai` in any *review comment* for bot assistance. The bot stays silent unless called upon. - Note: Review comments are made on code diffs or files, not on the PR overview. ### Pause Incremental Reviews - Insert `@coderabbitai: ignore` in the PR description to halt the bot's ongoing reviews. Remove the line to resume.