mawaqit / android-tv-app

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

Fix Announcement Workflow to Prevent Stuck Announcements #1085

Closed YassinNouh21 closed 3 months ago

YassinNouh21 commented 3 months ago

๐Ÿ“ Summary

This PR addresses the issue of announcements getting stuck by refining the announcement workflow and improving state management. The main focus has been on fixing the AnnouncementScreen and related state management.

Description

The proposed changes involve:

Tests

๐Ÿงช Use case 1

๐Ÿ’ฌ Description: Tested the announcement workflow with various scenarios, including with and without videos, to ensure that announcements transition smoothly and do not get stuck. Special attention was given to the scenario where announcements include videos, ensuring that video playback does not hinder the progression to the next announcement.

๐Ÿ“ท Screenshots or GIFs (if applicable): Due to the nature of the fix, visual documentation of the code execution and its effects (e.g., logs demonstrating smooth transitions and absence of getting stuck) would be applicable rather than screenshots.

Checklist: