Commit graph

921 commits

Author SHA1 Message Date
Tommy Chow
5163068c2d use cacheKey 2025-04-06 21:53:57 -07:00
Artiu
f72614afa7
Fix large cache size (#437)
* Add custom cache manager

* Fix

* Add cleanup

* Remove prints for debugging

* Remove unnecessary code

* Change nr of max cache objects
2025-04-06 19:58:37 -07:00
Tommy Chow
eb3d09749f update copyright year to 2025 2025-04-05 17:59:22 -07:00
Tommy Chow
39176f7f11 optimize chat rendering 2025-04-05 15:27:41 -07:00
Artiu
d95ffb250b
Fix latency and stream qualities, improve ux (#436)
* Fix latency and stream qualities on android

* Add remembering last choosed quality

* Improve user experience

* Revert _queuePromise

* Fix
2025-04-05 10:51:58 -07:00
Tommy Chow
7ce307ece2 add missing cleanup in chat store 2025-03-23 22:11:09 -07:00
Tommy Chow
c7c85af6b4 improve link regex 2025-03-23 21:53:47 -07:00
Tommy Chow
f799e5f858
fix missing emotes on channels that don't have 7tv enabled (#426)
* fix wrong type

* fix missing emotes caused by wrong `catchError` handler
2024-12-30 20:10:15 -05:00
Tommy Chow
f711004165 add new video setting on Android to toggle hybrid composition 2024-12-30 18:29:56 -05:00
Tommy Chow
1238867802 tweak shared chat source tooltip 2024-12-27 04:48:07 -05:00
Tommy Chow
045bb775ee fix incorrect badge order and spacing for ffz bots 2024-12-27 04:46:27 -05:00
Tommy Chow
aa43cb6a29 temporarily ignore deprecated method
New method is coming in the next stable release: https://github.com/flutter/flutter/issues/160184#issuecomment-2560184639
2024-12-25 03:43:54 -05:00
Tommy Chow
ebe0342c56 move shared chat logic to assets store, fix missing chat message badges 2024-12-23 22:52:48 -05:00
Tommy Chow
f7f0f22bb5 middle-align new badges 2024-12-23 22:04:24 -05:00
Tommy Chow
80837beaa8 use badge for historical message indicator 2024-12-23 17:40:00 -05:00
Tommy Chow
817289a01d
add shared chat session support (#424)
* dispose overlay timer

* fix pip

* add channel indicators to messages for shared chat sessions

* add tooltip to chat message pfp

* remove tooltip marign/padding

* return null instead of throwing error

* fix build error
2024-12-23 16:05:07 -05:00
Tommy Chow
4f28408be6 use tabular figures for chat message timestamps 2024-12-23 15:28:38 -05:00
Tommy Chow
b9dae5df88 fix deprecated and lint warnings 2024-12-23 15:09:28 -05:00
Tommy Chow
ca9dd32555 fix new pipLayout enum casing 2024-12-23 14:53:10 -05:00
Tommy Chow
362977c360 fix video crashing app on some Android devices
Forces Hybrid Composition in the webview. By default the webview uses Texture Layer Hybrid Composition which was causing crashes on my Pixel 7 and likely other devices reported by users.

https://pub.dev/packages/webview_flutter#platformview-implementation-on-android
2024-12-23 14:37:33 -05:00
Su-Shing Chen
b5126c7246
Further improve initial playback stability (#414) 2024-11-19 17:30:12 -08:00
Tommy Chow
2bb5afc4f4 dispose controllers 2024-11-12 18:48:34 -08:00
Corentin Detry
a7619027af
Add ability to mute keywords from chat (#413)
* Added ability to mute keywords from chat

* Muted words logic in widget, added Json Converter

Created a json converter to to serialize the observable list of muted keywords, this required a static method for the default value. Also moved the logic for the muted keyword widget to the widget itself

* Removed JSON Converter and ObservableList

* remove unused imports

---------

Co-authored-by: Tommy Chow <tommyxchow@gmail.com>
2024-11-12 18:42:33 -08:00
Su-Shing Chen
5276ddb8d4
Improve initial playback stability (#411)
* Add window-level promise queuing and _asyncQuerySelector

* Use _asyncQuerySelector to initialize video element
2024-11-10 15:00:25 -08:00
joaopjrn
5df7138b85
accept content warning automatically (#406)
Closes #404
2024-11-10 13:47:05 -08:00
Tommy Chow
94a63900a4 Remove vertical chat divider in fullscreen overlay mode
Fixes #397
2024-09-15 23:42:51 -07:00
Tommy Chow
07c23e64e9 Tweak 'Pinned' header padding 2024-09-13 18:04:10 -07:00
Tommy Chow
e4c519a4c3 Fix typo 2024-09-13 18:00:40 -07:00
Tommy Chow
1938fb910d Fix historical recent messages not decoding properly
For non-ASCII characters, we need to explicitly decode with utf8.

Fixes Chat history encoding issue #396
2024-09-11 19:09:22 -07:00
Tommy Chow
3a4cd449f7
Add ability to pin channels in "Following" tab (#395)
* add pinned channels list global config setting

* add ability to pin streams

* ensure that all pinned streams are fetched

* rename

* tweak padding

* fix typo
2024-09-09 22:09:20 -07:00
Tommy Chow
0d503935df Tweak padding 2024-09-09 19:45:19 -07:00
Tommy Chow
9d85f0781e Change chat-only mode icon 2024-09-09 00:19:02 -07:00
Tommy Chow
a90d357c9b Remove app bar border from onboarding 2024-09-08 12:41:50 -07:00
Tommy Chow
a00139fa8c Add accent color option to onboarding setup 2024-09-08 12:41:36 -07:00
Tommy Chow
fbe3ee09b4 Use sliver shorthands 2024-09-08 11:37:12 -07:00
Tommy Chow
d89980e0de Fix stream quality divider and increase bottom padding 2024-09-08 10:38:48 -07:00
Tommy Chow
f68de827cd
Refresh themes and styling (#394)
* consolidate themes

* update and tweak styles, add border styling

* add borders between video and chat

* tweak heights

* improve reply threads
- taller new design
- can now tap parent's reply
- fix crash when tapping self

* tweak border colors

* tweak theme

* tweak theme

* tweak theme

* add accent color picker in settings

* overhaul colors and styles

* remove print

* add divider to chat user modal and revert height

* increase deleted message opacity

* revert highlight color

* tweak color

* tweak colors

* tweak padding

* tweak padding

* tweak placeholder color

* revert input fill color

* use error color
2024-09-06 21:43:27 -07:00
Tommy Chow
29cd8ee455 Reduce default message spacing 2024-09-06 18:25:05 -07:00
Tommy Chow
f3d930d499 Add "My channel" shortcut in profile settings 2024-09-04 23:26:11 -07:00
Tommy Chow
584451e082 Add workaround dialog to profile card login 2024-08-16 20:38:57 -07:00
Tommy Chow
0d68ef6756 Update markdown style sheet 2024-08-16 20:21:17 -07:00
Tommy Chow
e297e38178
Fix and add workaround for cookie banner blocking login (#381)
* Constraint cookie banner description height

* Add workaround instructions for cookie banner blocking
2024-08-16 18:53:09 -07:00
Su-Shing Chen
5a374f74bc
Move exact matches of searched categories to the top (#379) 2024-08-16 15:27:14 -07:00
Su-Shing Chen
c022db9c20
Show video quality settings on iPad (#378)
Show iPad quality settings on iPad
2024-08-16 15:22:34 -07:00
Tommy Chow
e9c49ab0e6 Add option to un-darken historical recent messages 2024-08-14 17:50:59 -07:00
Tommy Chow
19d33289d1 Fix notice when toggling chat-only mode 2024-08-14 16:50:41 -07:00
Tommy Chow
68dce429ee Update release notes pref only after popping 2024-08-13 18:36:03 -07:00
Tommy Chow
7ddd0ac26a
Add release notes on launch (#375)
* Add markdown release notes

* Show release notes on first launch

* Update release notes and styles
2024-08-13 00:41:06 -07:00
Tommy Chow
6444a52eec Move Firebase initialization to top of main 2024-08-12 23:06:05 -07:00
Tommy Chow
ea8849a782 Switch to LaunchMode.inAppBrowserView
Uses Chrome Custom Tabs which has a better navigation menu.
2024-08-12 21:55:28 -07:00