Commit graph

779 commits

Author SHA1 Message Date
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
Tommy
f17cef9523
Migrate to new Twitch badges endpoint (#256) 2023-04-11 08:52:18 -04:00
Tommy Chow
10a596a247 Fix FFZ emotes and badges no longer showing
Previously, emote and badge URLs from FFZ's API had the scheme
omitted. A recent update to the API has added these schemes, so we no
longer need to prepend it.
2023-03-05 05:23:06 -05:00
Tommy Chow
04a576dd9e Tweak chatters headline 2023-01-29 16:30:31 -05:00
Tommy Chow
d583bad004
Fix emote menu header not updating properly (#238)
Fix emote menu header not updating when changing pages
2023-01-29 01:04:18 -05:00
Tommy Chow
27ddb9c951
Fix badges/emotes in chat switching from old image (#234) 2023-01-27 00:23:30 -05:00
Tommy Chow
5d95843de8
Upgrade to Flutter 3.7.0 (#233)
* Rename `Badge` to `ChatBadge`
Flutter 3.7.0 adds a new `Badge` component that conflicts with the
existing badge widget.

* Fix new linting errors

* Upgrade packages
2023-01-26 23:56:16 -05:00
Tommy Chow
8f8bb1ae28
Fix pip exception on Android (#232) 2023-01-26 22:20:02 -05:00
Tommy Chow
1caae18148 Update copyright year 2023-01-20 01:09:41 -05:00
Tommy Chow
25e6bc478b Format remaining files to 120 line limit 2023-01-19 23:30:05 -05:00
Tommy Chow
aadac3e484 Fix rotation regression on iOS 2023-01-19 23:23:28 -05:00
Tommy Chow
c7e3537de6 Remove old unused first start dialog 2023-01-19 17:38:54 -05:00
Tommy Chow
5bc224b4bd Fix new onboarding still active on restart 2023-01-19 05:09:23 -05:00
Tommy Chow
2569e7274a
Add onboarding (#229)
* Move settings titles

* Add initial onboarding

* Reorder other settings for consistency with onboarding

* Update onboarding content
2023-01-19 02:27:51 -05:00
Tommy Chow
7881ce22b4
Improve design and usability, general tweaks and fixes (#226)
See #226 for more details.
2023-01-18 05:34:54 -05:00