821 Commits

Author SHA1 Message Date
92c534d843 Use default font weight in chat message sheet 2023-11-24 16:07:21 -05:00
23a5572c84 Move callbacks outside build method in ChatMessage 2023-11-24 16:05:13 -05:00
b15ee89307 Use DefaultTextStyle & ListTile for reply box 2023-11-24 15:58:51 -05:00
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
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
b238e35b4c Fix emote copy name using full name 2023-11-21 01:42:32 -05:00
7c1fb1cd58 Remove deprecated 7TV badges request 2023-11-21 01:33:27 -05:00
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
86324a4b22 Check and use proper flag for 7TV zero-width 2023-11-01 22:38:16 -04:00
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
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
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
408590a9e7 Apply new lint rule fixes 2023-10-28 18:13:23 -04:00
00678129a8 Constrain badge details size 2023-10-23 22:33:14 -04:00
41445c9632 Hide subtitles on iOS (#282) 2023-10-23 18:58:42 -04:00
583e0dcbea Fix category card text clipping 2023-10-23 18:46:07 -04:00
82ca63fd6f Make only replies in reply thread scrollable 2023-10-23 12:57:00 -04:00
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
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 5f0d349fdbb0afad313cfb88e8c359714b3ea87a.

* 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
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
843931c079 Fix chat autocomplete not updating (#267) 2023-06-02 20:12:28 -04:00
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
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
b98dd967cb Add in-app review prompt 2023-05-03 22:19:24 -04:00
ba38c26053 Sort chatters alphabetically 2023-04-30 15:04:14 -04:00
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
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
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
f17cef9523 Migrate to new Twitch badges endpoint (#256) 2023-04-11 08:52:18 -04:00
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
04a576dd9e Tweak chatters headline 2023-01-29 16:30:31 -05:00
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
27ddb9c951 Fix badges/emotes in chat switching from old image (#234) 2023-01-27 00:23:30 -05:00
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
8f8bb1ae28 Fix pip exception on Android (#232) 2023-01-26 22:20:02 -05:00
1caae18148 Update copyright year 2023-01-20 01:09:41 -05:00
25e6bc478b Format remaining files to 120 line limit 2023-01-19 23:30:05 -05:00
aadac3e484 Fix rotation regression on iOS 2023-01-19 23:23:28 -05:00
c7e3537de6 Remove old unused first start dialog 2023-01-19 17:38:54 -05:00
5bc224b4bd Fix new onboarding still active on restart 2023-01-19 05:09:23 -05:00
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
7881ce22b4 Improve design and usability, general tweaks and fixes (#226)
See #226 for more details.
2023-01-18 05:34:54 -05:00
90841e0589 Update streams/categories lists when resuming after 5 mins (#221)
* Refresh streams/categories when leaving for >5 min

* Check and update when rebuilding lists
2022-12-30 00:04:02 -05:00
9570d43e43 Add auto PiP on Android and redesign stream overlay (#218)
* Improve PiP behavior (Android)
Added the ability to enter PiP mode when leaving the app on Android.

* Add automatic PiP option

* Redesign video overlay

* Update stream card uptime counter

* Use gradient for overlay opacity

* Restore play button when paused on iOS

* Restore refresh button on overlay

* Prefer above for category tooltip

* Increase default overlay opacity to 80%

* Improve pip behavior

* Fix uptime setState after dispose

* Remove automatic pip option
Redundant since you can disable it in system settings

* Check if `setAutoEnterEnabled` is available

* Fix missing pip auto enter

* Disable auto pip when leaving channel

* Fix pip exception on iOS
2022-12-27 23:47:55 -05:00
b0ed3f28bc Enable PiP by default 2022-09-12 22:37:25 -04:00
b2f932d4c0 Reduce video overlay title font weight
To be consistent with the stream card font weight.
2022-09-12 18:20:56 -04:00
3d0b8451eb Add option to force vertical chat in landscape mode (#196)
* Add option to force vertical chat in landscape

* Set `isThreeLine` for new setting
2022-09-12 18:18:28 -04:00
d5e8d0c6c5 Enable zero width emotes by default 2022-09-08 16:04:13 -04:00
772055de4e Reorder emote menu 2022-09-08 15:13:13 -04:00
b605e48efa Revert remove renderMessages
I realized the use of `renderMessages` prevents stuttering when resuming
scroll.
2022-09-07 11:16:35 -04:00