OwnTube-tv / web-client

Portable video client for PeerTube in React Native
https://owntube-tv.github.io/web-client/
The Unlicense
3 stars 12 forks source link

Prettify build/system info #76

Closed mblomdahl closed 3 months ago

mblomdahl commented 3 months ago

From implementing #14, we have some nice information on the front page like "/.../ current deployed revision is 917e278 (link) built at Monday, Jun 10th 2024 09:58. (Your friendly mykhailodanilenko (link) 🙋‍♀️ was here!)". It was good as a starting point, but now when we're maturing the functionality this information should be hidden to not obscure initial impressions.

New solution for displaying build info: When tapping/clicking the background 10 times within a 5 second time frame, open a snackbar at the top of the page that remains visible for 10 seconds and then disappears. The text in the snackbar should be

"Revision 917e278 (linked as before), built at 2024-06-10T09:58Z by @mykhailodanilenko (linked as before)"

... instead of

"... deployed revision is 917e278 (link) built at Monday, Jun 10th 2024 09:58...".

The tapping/clicking for build info feature, it should work on all views (home, settings, video player). How it will work on TVs that does not have tapping/clicking, this we will ignore for now.

mykhailodanilenko commented 3 months ago

Closed with #84