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

refactor/data-layer #253

Merged
merged 3 commits into from
Feb 6, 2025
Merged

refactor/data-layer #253

merged 3 commits into from
Feb 6, 2025

Conversation

Kaaveh
Copy link
Owner

@Kaaveh Kaaveh commented Feb 6, 2025


name: Pull request
about: Create a pull request
label: 'triage me'

  • Run ./git-hooks/setup.sh
  • Import the code formatting style as explained in the setup script.

Fixes #<issue_number_goes_here> 🦕

-   Update `MarketDetailDtoMapper` to use `toMarketDetail` and `toMarketData` for mapping `MarketDetailResponse` to `MarketDetail` domain model.
-   Modify `MarketData` model to hold values of `high24hUSD`, `low24hUSD`, `marketCapUSD` and  `marketCapRank`.
-   Remove redundant intermediate classes for high, low and market cap in `MarketData`.
-   Update UI components to reflect changes in the `MarketDetail` domain model.
-   Update `MarketDetailState` to handle nullable `MarketDetail`.
-   Set default value for properties of `MarketDetail` model.
The .gitignore file has been updated to ignore additional build artifacts and IDE-generated files, enhancing the cleanliness of the repository. Specifically, these changes include:

-   Adding the pattern `/*/build` to ignore build directories that are in nested structures.
-   Adding `.kotlin` files to the list of ignored files.
Copy link

github-actions bot commented Feb 6, 2025

1 Warning
⚠️ Please add labels to this PR.
2 Messages
📖 Thanks @Kaaveh!
📖 🎉 Code Cleanup!

Generated by 🚫 Danger

@Kaaveh Kaaveh requested a review from VahidGarousi February 6, 2025 14:16
@Kaaveh Kaaveh self-assigned this Feb 6, 2025
@Kaaveh Kaaveh added the refactor label Feb 6, 2025
@Kaaveh Kaaveh merged commit b77bcbb into kmp Feb 6, 2025
3 checks passed
@Kaaveh Kaaveh deleted the refactor/data-layer branch February 6, 2025 15:40
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.

2 participants