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

Improvement: Global connection status for iPhone #1027

Merged
merged 5 commits into from
Apr 21, 2024

Conversation

wutschel
Copy link
Collaborator

@wutschel wutschel commented Apr 4, 2024

Description

This PR introduces a globally visible connection status icon for iPhone. On iPad this was already visible in the right corner of the toolbar, on iPhone an upper left position on top of the navigation bar is chosen. With this change it is possible to recognize connection state without moving through the menus to a remote screen or the server list.

The status icon is not visible when entering the Kodi settings. I will not fix this as the code in this area will anyway change when the settings are moved to main menu.

Screenshots: https://ibb.co/g3CdX7c

Summary for release notes

Improvement: Global connection status for iPhone

@wutschel
Copy link
Collaborator Author

wutschel commented Apr 4, 2024

Keeping this draft for now as there are still some points of discussion:

  • Does it disturb the look of fullscreen fanart or NowPlaying
  • Does it disturb the user experience as the icon is kind of stuck on top of moving slides (like the status bar content)
  • Is it possibly allowed to draw into the status bar? How could this conflicts with content placed there already?

@wutschel wutschel force-pushed the feature_global_status branch 2 times, most recently from 30f3401 to aa2f408 Compare April 8, 2024 06:09
@wutschel wutschel marked this pull request as ready for review April 8, 2024 06:10
XBMC Remote/MasterViewController.m Outdated Show resolved Hide resolved
XBMC Remote/ViewControllerIPad.m Show resolved Hide resolved
Allows to use serverOnLine for checking the connection status instead of comparing the icon name. In addition remove obsolete declaration of method.
Introduces new ivar globalConnectionStatus which holds the image reflecting the current connection status. This image view is added to the root view to be always visible. The first row in main menu is now showing a Kodi icon instead of the traffic light status.
Aligns the code for iPad and iPhone. This cannot be further simplified as there are different specific actions need for iPad and iPhone caused by different UI elements.
@wutschel
Copy link
Collaborator Author

Resolved first finding, squashed this and rebased to master.

@kambala-decapitator kambala-decapitator merged commit 276fb3e into xbmc:master Apr 21, 2024
@wutschel wutschel deleted the feature_global_status branch April 21, 2024 09:33
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.

None yet

2 participants