Commit graph

743 commits

Author SHA1 Message Date
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
Tommy
9bfcd49037
Upgrade Flutter/Dart and dependencies (#265)
* Fix new lint issues

* Upgrade packages and remove `device_preview`

* Regenerate splash assets

* Migrate to `webview_flutter` 4.0

* Upgrade to Flutter 3.10 and Dart 3

* Update Podfile

* Fix video not disposing when leaving channel

* Remove `tuple` package

* Upgrade packages

* Upgrade packages

* Update podfile

* Upgrade packages

* Upgrade packages
2023-05-30 21:10:04 -04:00
Tommy Chow
b98dd967cb Add in-app review prompt 2023-05-03 22:19:24 -04:00
Tommy Chow
ba38c26053 Sort chatters alphabetically 2023-04-30 15:04:14 -04:00
Tommy
e369a77115
Migrate to Firebase for crash logs & analytics (#263)
* Remove Sentry Flutter

* Install and configure firebase

* Install and configure firebase crashlytics

* Install firebase performance monitoring

* Install firebase analytics

* Remove Sentry from github actions

* Update iOS configs

* Update setting toggle for firebase
2023-04-30 00:07:43 -04:00
Tommy
37297870c5
Obtain chatters based on chat messages (#262)
* Remove chatters API endpoint

* Get chatters based on chat messages
2023-04-29 22:49:50 -04:00
Tommy
3af5406f60
Update linting and formatting rules (#261)
* Add new linting rules

* Apply new linting rules

* Fix dart sdk version

* Format code to 80 lines
2023-04-29 11:34:28 -04:00