Commit Graph

11298 Commits

Author SHA1 Message Date
Isira Seneviratne 823d4a041f Improve loading indicator positioning 2024-08-30 16:59:15 +05:30
Isira Seneviratne 62d4044d6c Make lazy column scrollbars red 2024-08-30 09:02:56 +05:30
Isira Seneviratne 3785404618 Display number of comments 2024-08-30 08:46:02 +05:30
Isira Seneviratne 4cac111b66 Reduce preview count 2024-08-29 07:46:37 +05:30
Isira Seneviratne 941b8eb194 Implement copy on long click 2024-08-29 07:24:03 +05:30
Isira Seneviratne b1add13bfd Address code review comments 2024-08-28 18:15:11 +05:30
Isira Seneviratne 5fffee2c7d Fix text color in bottom sheet 2024-08-28 17:59:38 +05:30
Isira Seneviratne f9340ae604 Improve compose function organisation 2024-08-27 08:19:37 +05:30
Isira Seneviratne d3a6991fd4 Use Fragment.content extension, improve comment composables 2024-08-26 19:29:46 +05:30
Isira Seneviratne 3641698379 Merge branch 'refs/heads/refactor' into Comments-Compose
# Conflicts:
#	app/build.gradle
2024-08-23 20:13:03 +05:30
Isira Seneviratne 2836191fb3
Migrate related items fragment to Jetpack Compose (#11383)
* Rename .java to .kt

* Migrate related items fragment to Jetpack Compose

* Specify mode parameter explicitly

* Rm unused class

* Fix list item size

* Added stream progress bar, separate stream and playlist thumbnails

* Display message if no related streams are available

* Dispose of related items when closing the video player

* Add modifiers for no items message function

* Implement remaining stream menu items

* Improved stream composables

* Use view model lifecycle scope

* Make live color solid red

* Use nested scroll modifier

* Simplify determineItemViewMode()
2024-08-23 19:51:32 +05:30
Isira Seneviratne 294b9cf347 Rm unused declaration 2024-08-17 08:25:39 +05:30
Isira Seneviratne e082bca5e0 Use nested scroll modifier 2024-08-11 08:23:13 +05:30
Isira Seneviratne f9dae9078e Always show comment thumbnails, even if placeholders 2024-08-11 08:23:13 +05:30
Isira Seneviratne e955beeef1 Update Kotlin to 2.0, update dependencies and fix issues 2024-08-11 08:23:10 +05:30
Isira Seneviratne eaac7f3f85 Improved component organisation 2024-08-11 08:21:53 +05:30
Isira Seneviratne ea414f57d4 Added DescriptionText composable 2024-08-11 08:21:53 +05:30
Isira Seneviratne f984b26626 Fix some modifiers 2024-08-11 08:21:53 +05:30
Isira Seneviratne edab9a6a1f Fix alignment of comment message 2024-08-11 08:21:53 +05:30
Isira Seneviratne 4740e3be86 Make parsed links clickable, visible 2024-08-11 08:21:53 +05:30
Isira Seneviratne e639b02fed Animate comment expand/collapse 2024-08-11 08:21:53 +05:30
Isira Seneviratne ac1ca1412d Improve comment loading smoothness 2024-08-11 08:21:52 +05:30
Isira Seneviratne d131d3399a Rm unused method 2024-08-11 08:21:52 +05:30
Isira Seneviratne 1009dc4d4e Added loading indicator 2024-08-11 08:21:52 +05:30
Isira Seneviratne 42cb914616 Replace padding modifier with verticalArrangement in comment header 2024-08-11 08:21:52 +05:30
Isira Seneviratne e72da94eb1 Rm extra padding in header 2024-08-11 08:21:52 +05:30
Isira Seneviratne c5d94a5b60 Add comment view model 2024-08-11 08:21:52 +05:30
Isira Seneviratne 02c5f2607a Cache paging data using the cachedIn() extension 2024-08-11 08:21:52 +05:30
Isira Seneviratne 369a46f8fe Improve code organization 2024-08-11 08:21:52 +05:30
Isira Seneviratne 909d214002 Rm redundant Surface 2024-08-11 08:21:52 +05:30
Isira Seneviratne 5e7e14ee4d Handle no comments and comments disabled scenarios 2024-08-11 08:21:52 +05:30
Isira Seneviratne b092fe2c76 Replace Spacers with the horizontalArrangement parameter 2024-08-11 08:21:52 +05:30
Isira Seneviratne b9dd7078ad Replace CommentRepliesFragment with bottom sheet composable, improve previews 2024-08-11 08:21:52 +05:30
Isira Seneviratne 93310955f2 Added scrollbar to comment section 2024-08-11 08:21:52 +05:30
Isira Seneviratne 9c52e039ee Migrate comments fragment to Jetpack Compose 2024-08-11 08:21:52 +05:30
Isira Seneviratne be037e0756 Rename .java to .kt 2024-08-11 08:21:52 +05:30
Isira Seneviratne 5bfb0449cf Fixed fragment title 2024-08-11 08:21:52 +05:30
Isira Seneviratne 0ec81c9e52 Fixed like count display 2024-08-11 08:21:52 +05:30
Isira Seneviratne 5841eaa6d7 Set view strategy 2024-08-11 08:21:52 +05:30
Isira Seneviratne e92ba8f5d1 Add replies button 2024-08-11 08:21:52 +05:30
Isira Seneviratne 1908e18dc4 Use AnnotatedString to handle HTML parsing 2024-08-11 08:21:52 +05:30
Isira Seneviratne e30d5e4305 Fixed some comment issues 2024-08-11 08:21:52 +05:30
Isira Seneviratne 11bb2495ba Improve previews, display date of comment 2024-08-11 08:21:52 +05:30
Isira Seneviratne 341cc37ce7 Update replies fragment to use the comment composable as well 2024-08-11 08:21:52 +05:30
Isira Seneviratne 1620668966 Add comment ellipsis 2024-08-11 08:21:51 +05:30
Isira Seneviratne 56c80ce6dd Added missing comment features, fixed theming 2024-08-11 08:21:51 +05:30
Isira Seneviratne 8ce9a7e43c Added like count 2024-08-11 08:21:51 +05:30
Isira Seneviratne e05d97732e Use reply header composable in fragment 2024-08-11 08:21:51 +05:30
Isira Seneviratne 644a345b55 Rename .java to .kt 2024-08-11 08:21:51 +05:30
Isira Seneviratne bda961a04c Convert comment replies views to Jetpack Compose 2024-08-11 08:21:51 +05:30