mawaqit / android-tv-app

Prayer times App for Android TV
https://mawaqit.net
Other
38 stars 17 forks source link

Enhance Announcement Workflow: Integrate New API, Implement Date Filtering, and Refactor State Management #1111

Closed YassinNouh21 closed 5 months ago

YassinNouh21 commented 5 months ago

📝 Summary

This PR introduces significant architectural enhancements and new features to the announcement workflow within the application. Key enhancements include integration with a new API endpoint /messages, a redesigned repository/data source layer architecture, and the addition of date filters to refine announcement queries. Additionally, unnecessary state management variables, such as indices used in loops, have been streamlined or removed for cleaner, more efficient code.

This PR for issue: #1037

Description

Tests

🧪 Use case 1

💬 Description: Test the retrieval and display of announcements from the new /messages endpoint with and without network connectivity.

📷 Screenshots or GIFs (if applicable): N/A (Please attach screenshots for frontend changes if applicable)

Checklist: