Commit graph

749 commits

Author SHA1 Message Date
Artiu
c58eda9ff5
Improve custom overlay player and add information about latency (#313)
* Add latency

* Improve removing twitch overlay

* Update for player

* Remove hiding overlay for offline channels

* Improvements
2023-12-20 20:53:00 -05:00
Tommy Chow
d61b938cbe Underline links in chat 2023-12-17 23:16:31 -05:00
Artiu
663b32b945
Add user mention clickability (#314)
* Add handle for clicking on user ping

* Add trailing coma
2023-12-17 21:47:44 -05:00
Tommy Chow
02a3fb042b Fix 7TV listener not using chat delay setting 2023-12-16 18:11:15 -05:00
Tommy Chow
364b94411d Fix rare case where 7TV emotes don't show
7TV emotes are locked to 4x size, but if that doesn't exist an exception
is thrown. The lack of 4x size seems to
be caused by a new emote still in processing.
2023-11-30 17:59:43 -05:00
Tommy Chow
1a55bd2e63
Fix own display name not showing in chat (#309) 2023-11-30 17:23:09 -05:00
Tommy Chow
1f231473d0
Improve chat alerts and highlights design (#307)
* Update chat highlights design

* Update first time chatter copy

* Increase alert message font weight

* Refactor chat message and tweak icons

* Show highlighted messages based on setting

* Prioritize user mentions

* Add icon for raid alert
2023-11-28 22:29:58 -05:00
Tommy Chow
40cdc14a36 Fix reply thread message tap area not stretching 2023-11-28 19:53:52 -05:00
Tommy Chow
2801c6405b Fix missing username in sub notices 2023-11-28 14:41:02 -05:00
Tommy Chow
bdba3c08d2 Make Owner7TV nullable
Some emotes don't have an owner, causing parsing errors and resulting in
emotes not showing in chat.
2023-11-28 06:15:00 -05:00
Tommy Chow
04ac5346a6 Remove avatarUrl field from Owner7TV 2023-11-28 05:53:11 -05:00
Tommy Chow
f719832f43 Fix auto pip triggering in chat-only mode 2023-11-28 05:22:16 -05:00
Tommy Chow
c937c4a6fc Limit reconnect retries to 5 2023-11-28 04:13:53 -05:00
Tommy Chow
12d00b16cc Restore haptic feedback behavior for long-press chat message 2023-11-28 04:03:57 -05:00
Tommy Chow
61fb990fc7 Use details bottom sheet for autocomplete emotes 2023-11-28 04:00:33 -05:00
Tommy Chow
9e91208555
Add support for 7TV and FFZ emote authors (#306) 2023-11-28 03:58:07 -05:00
Tommy Chow
8fab6bdbc9
Add support for 7TV emote update events (#305)
* Get 7TV emote set id

* Add initial support for 7TV emote set events in chat

* Add 7TV emote add/remove alerts in chat

* Add author to 7TV events
2023-11-28 03:21:05 -05:00
Tommy Chow
466adea731 Maintain highest quality on refresh 2023-11-27 17:10:19 -05:00
Tommy Chow
a58824ac63 Restore debugShowCheckedModeBanner 2023-11-26 13:36:18 -05:00
Tommy Chow
0b0db46507 Hide stream quality options on iOS
Twitch doesn't expose stream quality options on web iOS :(
2023-11-26 04:33:15 -05:00
Tommy Chow
69b01f8cc7 Add option to default to highest quality 2023-11-26 04:18:28 -05:00
Tommy Chow
cbaef7c81c Tweak stream quality sheet flexibility & design 2023-11-25 23:58:24 -05:00
Artiu
e2f83aaa97
Add quality change feature to custom overlay (#302)
Add menu for quality change
2023-11-25 23:23:21 -05:00
Tommy Chow
4cc82042c0 Add tooltip to chat reply box 2023-11-24 17:09:52 -05:00
Tommy Chow
59b15ffe60
Fix recent emotes not clearing (#301) 2023-11-24 16:55:07 -05:00
Tommy Chow
da491bdc50 Infer isLightTheme from provided context 2023-11-24 16:25:15 -05:00
Tommy Chow
6ed7de2804 Tweak reply modal actions copy 2023-11-24 16:15:44 -05:00
Tommy Chow
27ab0434f5 Change text field hint when replying 2023-11-24 16:08:37 -05:00
Tommy Chow
92c534d843 Use default font weight in chat message sheet 2023-11-24 16:07:21 -05:00
Tommy Chow
23a5572c84 Move callbacks outside build method in ChatMessage 2023-11-24 16:05:13 -05:00
Tommy Chow
b15ee89307 Use DefaultTextStyle & ListTile for reply box 2023-11-24 15:58:51 -05:00
Artiu
df409378b0
Support replying to messages (#300)
* Add message menu with reply

* Fix merge

* Change endings to LF
2023-11-24 14:36:59 -05:00
Tommy Chow
45bba5ff1c
Fix multiline message clipping text fields (#298)
* Reduce chat text field max lines to 3

* Increase text field content padding
2023-11-21 02:16:02 -05:00
Tommy Chow
b238e35b4c Fix emote copy name using full name 2023-11-21 01:42:32 -05:00
Tommy Chow
7c1fb1cd58 Remove deprecated 7TV badges request 2023-11-21 01:33:27 -05:00
Tommy Chow
f2a54b4398
Upgrade to Flutter 3.16 (#297)
* MIgrate to new APIs

* Use Material 3 by default

* Migrate to onPopInvoked

* Fix tab bar alignment

* Upgrade packages

* Update pods

* Fix chat pop behavior on iOS
2023-11-21 00:38:59 -05:00
Tommy Chow
86324a4b22 Check and use proper flag for 7TV zero-width 2023-11-01 22:38:16 -04:00
Tommy Chow
1cb04bed2d
Fix 7TV zero-width emotes not working (#292)
Use flags to determine 7TV zero width emote
2023-11-01 18:16:57 -04:00
Tommy Chow
bc67aad670
Fix 7TV emotes not using custom names (#291)
* Fix 7TV emotes not using custom set names

* Show real name in emote details
2023-11-01 17:55:49 -04:00
Tommy Chow
a981cec250
Migrate 7TV emotes to V3 API (#287)
* Migrate 7TV global emotes to V3 API

* Migrate 7TV channel emotes to V3 API
2023-11-01 13:34:21 -04:00
Tommy Chow
408590a9e7 Apply new lint rule fixes 2023-10-28 18:13:23 -04:00
Tommy Chow
00678129a8 Constrain badge details size 2023-10-23 22:33:14 -04:00
Tommy Chow
41445c9632
Hide subtitles on iOS (#282) 2023-10-23 18:58:42 -04:00
Tommy Chow
583e0dcbea Fix category card text clipping 2023-10-23 18:46:07 -04:00
Tommy Chow
82ca63fd6f Make only replies in reply thread scrollable 2023-10-23 12:57:00 -04:00
Tommy Chow
cba6600d5f
Add Twitch sub emotes to emote menu (#281)
* Fix subbed emotes not showing when enabling turbo emotes

* Add twitch channel emotes to emote menu

* Add ability to show emote details in emote menu

* Add haptic feedback

* Add emote details sheet to recent emotes

* Diisable chat logs
2023-10-23 11:52:04 -04:00
Tommy Chow
9a6892746d
Update to Material 3/You and other changes/fixes (#280)
* Use adaptive refresh indicators

* Add new message count indicator in chat

* Sync pubspec.lock

* Initial migration to material 3

* Restore default bottom sheet style

* Remove FrostyListTile and reset styles

* Use "Clear" button for all search history

* Add `require_trailing_commas` lint rule

* Exclude generated files from linter

* Use ListView for safe area support in bottom sheet

* Add initial dark theme

* Make sizing and units consistent

* Update onbaording spacings & copy

* Migrate to default material 3 buttons

* Add headers to chat details bottom sheet

* Simplify token log in method

* Use bottom sheet for account options

* Remove `AnimateScale` widget

* Tweak search paddings

* Update message spacing divisions

* Upgrade packages

* Update message spacing divisions

* Regenerate splash screens

* Update Inter & add google fonts

* Add initial material 3 themes

* Use adaptive alert dialogs

* Revert to oultined inputs

* Fix tooltip message

* Revert add google_fonts

* Improve themes and various styling

* Convert categories grid to list

* Tweak stream card thumbnail radii

* Tweak settings headers

* Left align floating snackbars

* Tweak search header padding

* Fix profile pics occasionally not rounded

* Use profile pic for settings button if logged in

* Redesign sleep timer

* Use divider theme and reduce thickness

* Use 0 letter spacing for tab bar titles

* Redesign category streams list

* Add border to tooltips

* Increase category card font weight

* Use outlined icon btton for chat user modal

* Reduce profile pic radius in search results

* Fix scrolll to top button safe area

* Add support for reply threads

* Reduce tooltip and snackbar border thickness

* Rebuild reply threads on new messages

* Upgrade packages (iOS)

* Reduce font weight for all chat alerts

* Use tabbars for pageview

* Add dividers everywhere

* Revert "Add dividers everywhere"

This reverts commit 5f0d349fdb.

* Remove fill from inputs

* Add dividers to settings

* Use segmented button for settings list

* Add scrollbar to lists with scrollcontroller

* Redesign badge/emote tooltip

* Remove outline from chat user modal buttons

* Remove divider from reply thread

* Use tap for chatters list and increase font weight

* Constrain emote tooltip width
2023-10-22 18:38:32 -04:00
Tommy
698fe8d05d
Fix audio playing in chat-only mode (#272)
* Rely on widget lifecycle for video

* Remove old comments

* Remove unnecessary webview reload

* Fix js exceptions
2023-06-19 22:02:18 -04:00
Tommy
843931c079
Fix chat autocomplete not updating (#267) 2023-06-02 20:12:28 -04:00
Tommy Chow
dca2956c47 Fix video not loading on iOS
Looks like Twitch made some updates to their mobile player on iOS where
it will first navigate to a bunch of URLs (probably related to ads
or analytics based on the domains). This resulted in the
`NavigationDelegate` not picking this up and preventing the loading by
default.

To fix, I've just removed the `NavigationDelegate` because it's
legacy code that really isn't needed anymore.
2023-05-31 19:42:54 -04:00