Commit graph

794 commits

Author SHA1 Message Date
Tommy Chow
8984efa4ed Add option to prevent chat sleep (#157) 2022-07-27 21:03:28 -04:00
Tommy Chow
0028c96099 Prevent sleep in chat only mode (#157) 2022-07-27 20:04:02 -04:00
Tommy Chow
c2320c845e Add wakelock package (#157) 2022-07-27 20:03:42 -04:00
Tommy Chow
f87a140e36 Fix chat resume scroll
When messages are added at the same time as the resume scroll button is
pressed, the scroll offset won't be at the edge.

This commit adds an additional post frame callback so that we will also
scroll to the bottom after the build is completed.
2022-07-27 18:07:17 -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
47894f4746 Fix message buffer behavior (#154) 2022-07-27 16:25:34 -04:00
Tommy Chow
717d989954 Convert chat to from builder to ListView (#154)
Since widgets are built bottom up in the chat, most of the benefits of
the `ListView.builder` are likely null.
2022-07-27 16:17:15 -04:00
Tommy Chow
997e6dfe3f Fix general settings not resetting 2022-07-27 01:57:58 -04:00
Tommy Chow
9911ed49e6 Fix floating throwing exception on iOS 2022-07-27 01:57:10 -04:00
Tommy Chow
b2fe05a4c4 Fix stream info not refreshing 2022-07-27 01:19:25 -04:00
Tommy Chow
98fa3a68fa Update chatters when opening chat details 2022-07-26 23:30:16 -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
e91f231173 Add floating package 2022-07-25 16:29:02 -04:00
Tommy Chow
9ef2e210c7 Update Podfile.lock 2022-07-06 04:26:44 -04:00
Tommy Chow
fe5d292a62 Bump version to 2.0.0 & upgrade packages 2022-07-06 04:13:44 -04:00
Tommy Chow
92a59e18fd Update README.md 2022-07-06 04:06:38 -04:00
Tommy Chow
ad4289230b Update README.md 2022-07-06 04:04:43 -04:00
Tommy Chow
ea2f6c7ee5 Tweak first run message 2022-07-06 00:51:58 -04:00
Tommy Chow
5ce4b3beac Tweak bottom bar padding 2022-07-06 00:00:02 -04:00
Tommy Chow
9e1c8480a4 Fix empty blank categories 2022-07-05 23:13:43 -04:00
Tommy Chow
f059140807 Add link to changelog (releases) in other settings 2022-07-05 06:06:56 -04:00
Tommy Chow
8215755eda Decrease infinite scroll fetch index 2022-07-05 05:28:58 -04:00
Tommy Chow
89b385215a Fix long alerts getting cut off 2022-07-05 04:57:47 -04:00
Tommy Chow
c9cdd663bb
Merge pull request #155 from tommyxchow/90-redesign
Refactor chat message widget and other chat fixes
2022-07-05 04:38:38 -04:00
Tommy Chow
078f1f7cd3 Tweak chat settings (#90) 2022-07-05 04:16:43 -04:00
Tommy Chow
0af1c796f2 Fix landscape chat safe area (#90) 2022-07-04 22:18:19 -04:00
Tommy Chow
a3b3ef3126 Automatically update messages in user modal (#90) 2022-07-03 23:49:44 -04:00
Tommy Chow
0e4e50e3c3 Refactor & Improve message tappable area (#90) 2022-07-03 23:49:05 -04:00
Tommy Chow
9fe06f95bc
Merge pull request #152 from tommyxchow/dev
Merge latest changes from dev into 90
2022-07-03 23:24:54 -04:00
Tommy Chow
18d311f76f Add refresh emotes button to emote menu 2022-07-03 06:31:07 -04:00
Tommy Chow
fa9c8688de
Merge pull request #151 from tommyxchow/142-better-sorting-for-emotes
Improve sorting for subscribed emotes in emote menu
2022-07-03 05:46:26 -04:00
Tommy Chow
b9ef4661cf Separate sub emotes in emote menu (#142)
Closes #142
2022-07-03 05:43:29 -04:00
Tommy Chow
c911767008
Merge pull request #150 from tommyxchow/90-redesign
Redesign and tweak various widgets and styles
2022-07-03 02:00:07 -04:00
Tommy Chow
779c180e95 Add dividers to chat settings (#90) 2022-07-02 23:58:06 -04:00
Tommy Chow
3eea1736ab Add divider option to section header (#90) 2022-07-02 23:56:38 -04:00
Tommy Chow
0d961517b7 Fix hide thumbnails for large stream cards (#90) 2022-07-02 22:59:04 -04:00
Tommy Chow
a532c06ca1 Change settings casing & improve subtitles (#90) 2022-07-02 22:57:23 -04:00
Tommy Chow
43d50f2b31 Reduce chat input padding & add delay notice (#90) 2022-07-02 19:37:14 -04:00
Tommy Chow
912f07bc5a Use ClipOval for profile picture (#90) 2022-07-02 19:13:26 -04:00
Tommy Chow
68c3bec568 Revert highlight color (#90) 2022-07-02 05:44:47 -04:00
Tommy Chow
5ac3724ed4 Reorder bottom bar & tweak behavior (#90)
- Moved the details button to the right side
- The send button will now hide when text is empty, same behavior in
official Twitch app
- Fix textfield width when in landscape and chat only mode
2022-07-02 02:46:20 -04:00
Tommy Chow
33840d3e73 Tweak profile picture widget (#90)
- The fade animation will no longer stop abrubtly when scrolling fast
- Another attempt to fix null profile pictures causing gray block
2022-07-02 01:49:04 -04:00
Tommy Chow
c353dbd2bc Tweak bottom navigation bar style (#90)
- Added divider to top of navigation bar
- Removed bottom app bar shifting animation
- Improve bottom app bar tooltips
2022-07-02 00:50:58 -04:00
Tommy Chow
cea34af9d7 Remove highlight on iOS (#90) 2022-07-02 00:48:26 -04:00
Tommy Chow
9b202c7977 Refactor search (#90)
- The clear button on search will now hide when searching
- Tapping a recent search while focused will properly move the cursor to
the end
2022-07-01 21:22:09 -04:00
Tommy Chow
99f298ff6c Increase section header letter spacing (#90) 2022-07-01 17:56:58 -04:00
Tommy Chow
4bdefca0b8 Fix plural on chat modes tooltip (#90) 2022-07-01 17:56:07 -04:00
Tommy Chow
a057fe465d Refactor chat users list (#90)
- The clear button is now hidden when unfocused
- Chatter count on the filter list will now hide when typing
- Clearing will now only dismiss the keyboard if the textfield is empty
2022-07-01 17:15:07 -04:00
Tommy Chow
8cc3501568 Tweak chat padding & CLEARMSG casing (#90) 2022-06-30 15:33:23 -04:00