42 Commits

Author SHA1 Message Date
630a6725d1 Fix animated FFZ emotes not animating (#370)
Support animated FFZ emotes
2024-08-09 21:23:34 -07:00
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
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
04ac5346a6 Remove avatarUrl field from Owner7TV 2023-11-28 05:53:11 -05:00
9e91208555 Add support for 7TV and FFZ emote authors (#306) 2023-11-28 03:58:07 -05:00
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
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
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
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
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
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
c4f904ecca Remove unused model fields (#167)
* Remove unused fields from badges

* Remove unused emote fields

* Update emote tests

* Remove unused channel fields

* Remove unused stream fields

* Remove unused user fields

* Update tests
2022-07-31 18:23:54 -04:00
898a1c2d00 Fix 7TV emotes not showing in chat
There was a recent change in the 7TV api that resulted in the `tags`
field returning null. The serializer currently doesn't handle `null`
cases so it was causing a deserialize error.

A simple fix is to make the field nullable, but I've decided to remove
it completely since it's not used anywhere in the app.
2022-07-29 11:58:35 -04:00
b9ef4661cf Separate sub emotes in emote menu (#142)
Closes #142
2022-07-03 05:43:29 -04:00
9b88463d39 Upgrade packages & apply new lints (#113) 2022-05-12 04:58:03 -04:00
2d0c1bee5f Fix 7TV zero-width randomly not working (#112) 2022-05-11 23:10:02 -04:00
254968a2d6 Improve tooltips for zero-width emotes 2022-03-30 16:09:35 -04:00
4a65da68a7 Apply emote sizes from FFZ/7TV APIs to chat and emote menu (#96)
* Apply emote heights from API in chat (#95)

* Apply emote widths from API in chat (#95)

* Apply emote sizes from API in emote menu (#95)
2022-03-28 02:48:32 -04:00
6718ee180a Update analysis_options.yaml 2022-03-23 20:13:45 -04:00
00972e13cd Fix twitch emotes tooltips 2022-02-03 21:43:59 -05:00
ec77d0e29a Add recent emotes section to emote menu 2022-01-19 23:01:31 -05:00
7e3cbf9ed9 Renames due to type error, upgrade packages 2022-01-16 20:14:24 -05:00
09edf1cb1d Fix emoji sizing, add common badge model 2022-01-12 09:29:31 -05:00
2ca1221fb1 Restructure folders 2022-01-07 21:56:45 -05:00
e768a05c37 Migrate from BTTV's FFZ API to FFZ's official API 2021-12-31 20:34:12 -05:00
d9bca9cc59 Add 2x fallback for FFZ emotes 2021-12-30 20:19:50 -05:00
9f7529d2cc Add twitchSub & twitchUnlocked enum emote type 2021-12-22 17:50:42 -05:00
8337a454fc Add experimental support for zero-width emotes 2021-12-15 01:49:25 -05:00
934732770a Add common emote class
When deserialized, emotes have different fields with conflicting names
and extraneous fields. This new class allows for a common class that
prevents type errors.
2021-12-12 16:02:46 -05:00
051b8678e5 Add top games request, tweak models (#40)
[skip ci]
2021-11-18 22:13:01 -05:00
3515418375 Remove provider and add get_it, updates 2021-10-03 22:05:55 -04:00
9fc9fd5de5 Revert "Improve chat performance/battery usage" 2021-09-23 17:32:41 -04:00
23a9895995 Limit chat messages to 100 2021-09-19 03:38:52 -04:00
c3874075bf Fix 7TV emote nullable member 2021-09-06 00:00:13 -04:00
97f9f41671 Add 7TV emote models 2021-09-01 22:58:42 -04:00
5c1ec63ee0 Fix JSON twitch image decoding 2021-08-20 21:20:00 -04:00
b776d4ff38 Add constants 2021-08-19 18:18:48 -04:00
d957cab877 Add Twitch badge model 2021-08-18 13:41:19 -04:00
c4eb59f3a5 Add emote models 2021-08-18 13:23:13 -04:00