Commit graph

25 commits

Author SHA1 Message Date
tommyxchow
2df2326f73 Revert 05df4e8, comment additions & fixes
The previously removed requests in 05df4e8 were actually required for
rendering emotes whenever the user themself sends a message.
2021-11-02 03:51:34 -04:00
tommyxchow
05df4e8d2f Minor comment additions and fixes
Removed the redundant request for Twitch global and channel emotes in getAssets().

Since these emotes will be processed anyways when generating the span, there's no point in wasting bandwidth to fetch and store them.
2021-10-26 01:48:46 -04:00
tommyxchow
1afc979139 Add command enum, refactor chat store
- Added enum for IRC tag command for slightly better comparisons
- Moved span portion of renderMessage to its own function in irc_api.dart
- Moved message remove and end scroll to seperate function action
- Fixed emote tags applying to all users
2021-10-24 03:53:08 -04:00
tommyxchow
26e7a746db Fix handling of ROOMSTATE changes 2021-10-23 00:25:22 -04:00
tommyxchow
bb74b7bd6e Refactor IRC API
- Moved parse method to factory constructor in IRCMessage for better readability
- Renamed irc_message.dart to irc.dart to include other irc-related models
- Added ROOMSTATE model
- Moved addMessage functionality to chat store
2021-10-22 02:34:23 -04:00
tommyxchow
a897f1218e Add opacity to CLEARCHAT and CLEARMSG, fixes
- Increase chat message limit to 200
- Fix auto scroll post frame callback
2021-10-18 02:43:47 -04:00
tommyxchow
9eca5189db Renames, implement CLEARCHAT and CLEARMSG 2021-10-17 02:14:15 -04:00
tommyxchow
7673a2c8a0 Add IRC API 2021-10-16 18:25:32 -04:00
tommyxchow
b97a8b8975 Add IRC message model 2021-10-16 04:00:03 -04:00
Tommy Chow
3515418375 Remove provider and add get_it, updates 2021-10-03 22:05:55 -04:00
Tommy Chow
e2567e9466 Run build_runner 2021-09-23 18:08:18 -04:00
Tommy Chow
c3874075bf Fix 7TV emote nullable member 2021-09-06 00:00:13 -04:00
Tommy Chow
97f9f41671 Add 7TV emote models 2021-09-01 22:58:42 -04:00
Tommy Chow
a026d4f74c Fix channel crash
Tag ids are null when a channel just went live. They're now nullable.
2021-09-01 21:20:20 -04:00
Tommy Chow
64ccccaac2 Change to proxy provider for easier auth access 2021-08-26 15:57:16 -04:00
Tommy Chow
3dcba65b79 Fix user model view count type 2021-08-25 00:29:44 -04:00
Tommy Chow
a9f8694934 Add badge requets 2021-08-23 00:28:53 -04:00
Tommy Chow
ba60c164fe Fix twitch badge JSON decoding 2021-08-22 23:57:02 -04:00
Tommy Chow
5c1ec63ee0 Fix JSON twitch image decoding 2021-08-20 21:20:00 -04:00
Tommy Chow
db205035d2 Add channel card widget 2021-08-19 23:31:02 -04:00
Tommy Chow
b776d4ff38 Add constants 2021-08-19 18:18:48 -04:00
Tommy Chow
f269503f34 Add twitch (default) user model 2021-08-18 14:01:40 -04:00
Tommy Chow
a9053430ba Add channel (stream) model 2021-08-18 13:50:41 -04:00
Tommy Chow
d957cab877 Add Twitch badge model 2021-08-18 13:41:19 -04:00
Tommy Chow
c4eb59f3a5 Add emote models 2021-08-18 13:23:13 -04:00