Commit graph

29 commits

Author SHA1 Message Date
tommyxchow
dc47812a6b Implement ROOMSTATE
- Added ROOMSTATE observable
- Fixed ROOMSTATE not registering in handleWebsocketData due to returnining in the for loop
2021-10-22 02:46:06 -04:00
tommyxchow
58041d4126 Refactor IRC functions & tweak padding 2021-10-20 05:12:15 -04:00
tommyxchow
7a490f1ae7 Minor tweaks
- More token validation in auth store
- Made ban message bold
- Re-styled chat text field
- Settings screen is now a fullscreen dialog
2021-10-18 03:29:45 -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
65611469f3 Add chat send message feature, refactoring
- Added userState and globalUserState fields to keep track of user data while chatting
- Adjusted CAP REQ commands to receive GLOBALUSERSTATE
- Adjusted return and break statements in switch and general cleanup
- Added sendMessage and dispose method
2021-10-17 17:56:16 -04:00
tommyxchow
d632850b50 Fix computed headers not updating, improve logout 2021-10-17 16:26:02 -04:00
tommyxchow
7a0efa6658 Move scroll callback back to chat store
Also added the stream listener which I accidentally omitted in the last commit!
2021-10-17 02:25:40 -04:00
tommyxchow
fec255cceb Convert messages to observable, minor refactor 2021-10-17 02:15:51 -04:00
tommyxchow
9bcc9a0479 Refactor chat store
- Added user login to IRC NICK command
- Added first iteration of clearChat (#8)
- Moved parse method to irc_api.dart
- Fixed extra element when splitting snapshot data message
2021-10-16 19:11:35 -04:00
tommyxchow
7673a2c8a0 Add IRC API 2021-10-16 18:25:32 -04:00
tommyxchow
63a63635c8 Remove unnecessary observables from auth store 2021-10-16 04:01:09 -04:00
Tommy Chow
f72081b536 Replace observable with readonly in auth store 2021-10-11 23:01:40 -04:00
Tommy Chow
0305b12521 Add alert when searching for invalid channel 2021-10-10 01:43:24 -04:00
Tommy Chow
c8187fc719 Fix excessive rebuilds when tapping the same tab 2021-10-10 00:11:50 -04:00
Tommy Chow
6f3259ff45 Add ability to search a specific channel
Closes #28 and closes #29
2021-10-10 00:10:58 -04:00
Tommy Chow
0366b087e8 Refactor home to use constructor injection
[skip ci]
2021-10-09 04:02:55 -04:00
Tommy Chow
d01289c9c6 Renames 2021-10-09 03:51:06 -04:00
Tommy Chow
4920a927bf Update home to use BottomNavigationBar 2021-10-08 02:14:05 -04:00
Tommy Chow
df86c222ff Add settings store & video option 2021-10-07 23:12:28 -04:00
Tommy Chow
a6efcfdf15 Add doc comments to channel list store 2021-10-05 03:10:30 -04:00
Tommy Chow
514e3ebb6a Fix auth store doc comments 2021-10-05 03:08:38 -04:00
Tommy Chow
dc5b1547bc Fix logout not clearing tokens
[skip ci]
2021-10-05 00:44:46 -04:00
Tommy Chow
ae47476b0d Fix flash when refreshing 2021-10-03 23:54:27 -04:00
Tommy Chow
9bcefba327 Update chat store compatibility 2021-10-03 22:14:55 -04:00
Tommy Chow
ca482ceb05 Refactor channel list store 2021-10-03 22:14:02 -04:00
Tommy Chow
14b7aa9662 Refactor and streamline auth store with comments 2021-10-03 22:13:36 -04:00
Tommy Chow
a5acd74351 Revert chat changes 2021-10-01 03:02:14 -04:00
Tommy Chow
5b8ebb65eb Renames & minor fixes 2021-10-01 03:01:45 -04:00
Tommy Chow
b86b989507 Convert providers to MobX stores 2021-10-01 00:08:19 -04:00