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

Add empty state UI #674

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Conversation

stonko1994
Copy link
Collaborator

Description

Problem

When the initial source loading takes longer than loading the UI, the values displayed by the UI are fallback values. Usually it shows a duration of 00:00 and a current time of 00:01. This is particular problematic when the stream is actually a live stream.

Changes

To prevent this issue we add an empty state UI with only the PlaybackToggleButton, Buffering- and ErrorOverlay. This improves the initial UI displayed in case no Source is loaded yet.

@stonko1994 stonko1994 requested a review from dweinber January 14, 2025 07:43
Base automatically changed from feature/auto-resolve-tv-ui to feature/modern-ui-base January 14, 2025 12:53
Copy link
Member

@dweinber dweinber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One open question, but code looks good and seems to work nicely in my tests!

@stonko1994 stonko1994 merged commit 08382a3 into feature/modern-ui-base Jan 15, 2025
3 checks passed
@stonko1994 stonko1994 deleted the feature/empty-startup-ui branch January 15, 2025 13:01
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.

2 participants