Commit graph

144 commits

Author SHA1 Message Date
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
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
ea8849a782 Switch to LaunchMode.inAppBrowserView
Uses Chrome Custom Tabs which has a better navigation menu.
2024-08-12 21:55:28 -07:00
Tommy Chow
1594d40f48
Add option to enable historical recent messages in chat (#374)
* Add initial support for recent messages

* Add setting for recent messages

* Add setting to onboarding

* Activate buffer after connecting

* Update copy

* Remove unnecessay future delayed

* Remove old line

* Prefer message buffer
2024-08-12 00:01:45 -07:00
Tommy Chow
7d49f1748f Merge branch 'main' of https://github.com/tommyxchow/frosty 2024-08-10 20:32:13 -07:00
Tommy Chow
6c49c0b3a8
Add options to disable emotes and badges (#371)
* Add options to toggle emotes and badges

* Hide emote menu section when emotes disabled

* Hide emote menu button when emotes are disabled
2024-08-10 20:22:57 -07:00
Tommy Chow
8284c518e2 Decrease default landscape chat width 2024-08-10 20:22:34 -07:00
Tommy Chow
387246635f
Add option to sync message delay with stream latency (#364)
* Run build_runner

* Add option to sync messsage delay with stream latency

* Add experimental labbel

* Hide seconds indicator in chat only mode

* Consistent casing
2024-08-03 15:00:31 -07:00
Tommy Chow
49f11aa9cc Update copyright year 2024-04-22 19:35:36 -07:00
Tommy Chow
2b45cc0f10 Fix new Flutter lint errors 2024-04-21 14:42:39 -07:00
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
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
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
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
408590a9e7 Apply new lint rule fixes 2023-10-28 18:13:23 -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
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
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
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 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
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
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
Tommy Chow
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
Tommy Chow
b0ed3f28bc Enable PiP by default 2022-09-12 22:37:25 -04:00
Tommy Chow
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
Tommy Chow
d5e8d0c6c5 Enable zero width emotes by default 2022-09-08 16:04:13 -04:00
Tommy Chow
fc0f7cbff7
Add option to have emote menu button on left (#192) 2022-09-06 12:42:36 -04:00
Tommy Chow
f42ed2bc4e
Add first message highlights and various tweaks (#191)
* Add first msg & tweak chat message styles

* Add options to show/hide alerts

* Remove unused setting

* Fix color

* Change resume scroll arrrow

* Tweak streamer name and title opacity

* Tweak card weights

* Renamed followed streams tab

* Move settings stuff to details button

* Darken the dark theme again

* Remove unecessary observer

* Tweaks
2022-09-06 12:04:31 -04:00
Tommy Chow
53fabd067a
Restructure folders (#184)
* Split up `video_chat.dart`

* Restructure home folder

* Restructure settings folder

* Restructure channel folder

* More restructuring
2022-08-31 14:11:45 -04:00
Tommy Chow
20d6970519 Tweak button letter casing 2022-08-07 19:50:43 -04:00
Tommy Chow
7be8dcd63f
Add paste button for copied messages and option to move notification to the bottom of chat (#176)
* Add paste button to "message copied" notification

* Add option to move notification to bottom of chat
2022-08-05 22:53:24 -04:00
Tommy Chow
c8a1a2ad70 Fix landscapeCutout setting not resetting
[skip ci]
2022-07-31 18:38:14 -04:00
Tommy Chow
cec8323df6
Add options to override landscape cutout (#162) 2022-07-27 22:54:42 -04:00
Tommy Chow
8984efa4ed Add option to prevent chat sleep (#157) 2022-07-27 21:03:28 -04:00
Tommy Chow
5973bbb2b9
Merge pull request #160 from tommyxchow/154-pip-android
Add PiP to Android and optimize chat
2022-07-27 16:38:39 -04:00
Tommy Chow
997e6dfe3f Fix general settings not resetting 2022-07-27 01:57:58 -04:00
Tommy Chow
b2fe05a4c4 Fix stream info not refreshing 2022-07-27 01:19:25 -04:00
Tommy Chow
932412b75f Optimize chat (#154)
Optimized the chat so that resuming PiP does not cause stutters.

This new implementation makes it so that only the latest (100) messages are
rendered at any given time, rather than every single one.

Once autoscroll is disabled and we scroll up in chat, the most recent
messages will be added to a buffer to prevent shifting.

Essentially, I've made it so that the default chat shows only the (100)
most recent messages. When you want to scroll back, the chat will
silently switch to the version with the last (10000) messages, giving
the best of both worlds in performance and scrollback history.
2022-07-26 23:23:53 -04:00
Tommy Chow
402d75cc21 Add initial support for PiP on Android (#154) 2022-07-25 16:31:14 -04:00
Tommy Chow
f059140807 Add link to changelog (releases) in other settings 2022-07-05 06:06:56 -04:00
Tommy Chow
078f1f7cd3 Tweak chat settings (#90) 2022-07-05 04:16:43 -04:00
Tommy Chow
779c180e95 Add dividers to chat settings (#90) 2022-07-02 23:58:06 -04:00
Tommy Chow
a532c06ca1 Change settings casing & improve subtitles (#90) 2022-07-02 22:57:23 -04:00
Tommy Chow
30715a1c0e Use FrostyDialog for login dialog (#90) 2022-06-29 18:19:32 -04:00
Tommy Chow
ed657fbe79 Tweak section header & profile pic widget (#90) 2022-06-29 08:03:53 -04:00
Tommy Chow
d826f93f24 Change tooltips to sentence case (#90) 2022-06-29 05:49:39 -04:00