Commit Graph

810 Commits

Author SHA1 Message Date
Bnyro
17615b3eab feat: don't seek after scrubbing when stopping gesture above timebar 2024-03-05 20:31:04 +01:00
Bnyro
beb42245e2 fix: paused video autoplays when unlock screen after few minutes locked 2024-03-05 18:56:07 +01:00
Bnyro
70bfaddb2e chore: reformat code using ktlint 2024-02-28 13:39:55 +01:00
Bnyro
951dc7737c refactor: simplify watch position timer tasks 2024-02-27 14:58:59 +01:00
Bnyro
4b06bfb687 feat: watch positions support for downloaded media 2024-02-27 14:38:15 +01:00
Bnyro
bf0d6bde2c chore: bump target sdk to 34 and fix pip issues 2024-02-26 12:33:30 +01:00
Bnyro
f0a779b4d1 feat: support for filtering by group in subscriptions -> channels 2024-02-25 14:21:25 +01:00
Bnyro
1257ed44b9 fix: stuttering when scrolling in watch history 2024-02-25 14:08:56 +01:00
Bnyro
c493ada148 refactor: simplify scrolling logic 2024-02-25 14:02:50 +01:00
Bnyro
eb4190abd0 fix: bad performance when scrolling in subscriptions feed 2024-02-25 13:54:08 +01:00
Bnyro
066e01be51
Merge pull request #5607 from abGit9/fix_stuttering_list_2
fix: resolve stuttering when scrolling to the bottom of channel/playlist videos list
2024-02-25 12:56:20 +01:00
Ankur
6f471163ce Fix [PlaylistFragment]: main layout becomes visible after data fetched 2024-02-20 15:01:49 -08:00
Bnyro
0b059ccc12 feat(player): support for keyboard navigation 2024-02-19 21:56:33 +01:00
Bnyro
0a4ccae79a refactor: don't recreate player on orientation change 2024-02-18 16:59:53 +01:00
FineFindus
fece82e8c3
fix: set music playback speed only once
Fixes https://github.com/libre-tube/LibreTube/issues/5626. The playback speed for music videos was set to 1.0x on every event, instead of only once when starting the video.
2024-02-18 13:15:20 +01:00
Ankur
0d77505285 Fix [ChannelFragment]: main layout becomes visible after data fetched 2024-02-12 18:39:25 -08:00
Isira Seneviratne
69cf74e590
refactor: Rewrite comments fragments using Paging library (#5589)
* refactor: Rewrite comments fragment using Paging library

* Fix lint issue

* refactor: Rewrite comment replies to use paging adapter

* Add cachedIn step

* Address review comments, display parent comment
2024-02-11 18:08:06 +05:30
Bnyro
f87e22dd3f feat: (re)add player actions for external player and pip 2024-02-11 12:39:48 +01:00
Ankur
b698699679 Fix [PlaylistFragment]: resolve stuttering at bottom of scroll
-Removed ScrollView. RecyclerView itself handles scrolling, nesting it inside a ScrollView is possibly leading to conflicting scrolling behavior effecting performance(i.e stuttering when scrolling at bottom and updating list with new data items).

-Used AppBarLayout and CollapsingToolbarLayout as containers for content(image etc) above list of video items. Together with CoordinatorLayout, these components streamline scrolling behavior and UI interactions with each other and RecyclerView.
2024-02-06 20:22:50 -08:00
Ankur
277ad0d62d Fix [ChannelFragment]: swipe refresh only at top of scroll
Implemented listeners to provide distinction between scrolling upward and swiping to refresh layout. When a user scrolls up, the refresh layout is only triggered once they are at the top of the scroll.
2024-02-06 17:15:29 -08:00
Ankur
5d65725ead Fix [ChannelFragment]: resolve stuttering at bottom of scroll
-Removed ScrollView. RecyclerView itself handles scrolling, nesting it inside a ScrollView is possibly leading to conflicting scrolling behavior effecting performance(i.e stuttering when scrolling at bottom and updating list with new data items).

-Used AppBarLayout and CollapsingToolbarLayout as containers for content(banner etc) above list of videos items. Together with CoordinatorLayout, these components streamline scrolling behavior and UI interactions with each other and RecyclerView.
2024-02-06 16:17:52 -08:00
Manish Kumar Verma
7db816d612 feat: Give up timer on long buffering
Stops buffering after 10 minutes
2024-02-05 16:46:08 +01:00
Isira Seneviratne
28e653120f refactor: Simplify getVideoIdFromUrl 2024-01-31 06:25:28 +05:30
Isira Seneviratne
939668d3b8
Merge pull request #5569 from Isira-Seneviratne/Collection
refactor: Avoid boxing for segment pair
2024-01-30 05:52:33 +05:30
Bnyro
25ef9ec318
Merge pull request #5565 from arkibax/also-clear-watch-positions
feat: add option to also clear watch positions when clearing history in the watch history screen
2024-01-29 17:32:24 +01:00
Isira Seneviratne
59385b0c73 refactor: Avoid boxing for segment pair 2024-01-29 05:27:55 +05:30
arkibax
c94a3ff526 added string resource 2024-01-27 10:25:03 +01:00
Isira Seneviratne
9b963a3e28
refactor: Simplify ContentFilter toggling (#5544)
* refactor: Simplify ContentFilter toggling

* refactor: Update backup helper

* fix: Handle old content filter preference if present

* Add todo comment
2024-01-27 09:30:47 +05:30
arkibax
8287e87785 feat: add option to also clear watch positions when clearing history in the watch history screen 2024-01-26 21:13:21 +01:00
Manish Kumar Verma
9fc80a2877
fix: clearing watch positions doesn't works sometimes (#5557) 2024-01-26 18:50:35 +01:00
Bnyro
3d96e22844
Merge pull request #5560 from Bnyro/master
fix: playing queue actions still visible after miniplayer closed by swipe
2024-01-26 14:23:10 +01:00
Bnyro
e807d0dcdc fix: playing queue actions still visible after miniplayer closed by swipe 2024-01-26 14:22:47 +01:00
Isira Seneviratne
858dbe7ede
refactor: Rewrite search functionality using Paging (#5528)
* refactor: Rewrite search functionality using Paging

* Apply code review comments

* Update app/src/main/java/com/github/libretube/ui/adapters/SearchChannelAdapter.kt

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>

* Apply code review suggestions

---------

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2024-01-25 15:30:40 +05:30
Isira Seneviratne
588ef35296 refactor: Add parcelableArrayList extension 2024-01-23 16:48:51 +05:30
Vedant.R.J.Chourey
02d30f1f17 feat: add delete all button for downloads 2024-01-22 19:34:17 +01:00
Bnyro
385f12a1d8 fix: switch back to home bookmarks layout on home screen 2024-01-22 14:41:52 +01:00
Bnyro
c32506887c
Merge pull request #5515 from IndusAryan/vm
feat(ui): save scroll position in trends
2024-01-22 14:19:17 +01:00
IndusAryan
c8e921de16 feat(ui): save scroll position in trends 2024-01-22 14:18:51 +01:00
Bnyro
88a1679315 refactor: remember video feed, don't auto reload 2024-01-20 20:31:22 +01:00
RafaRamos
e31943f5ab
feat: Improve new user experience + adjust home load (#5491)
* Added necessary translations

* Added support for redirecting directly to IntentSettings

* Create HomeViewModel

* Used HomeViewModel

* Update app/src/main/java/com/github/libretube/ui/fragments/HomeFragment.kt

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>

* Update app/src/main/java/com/github/libretube/ui/fragments/HomeFragment.kt

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>

* Update app/src/main/java/com/github/libretube/ui/fragments/HomeFragment.kt

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>

* Swap elvis operator for if statement for improved readability.

* Move runSafely to separate file

* Change when statement by if statement

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>

* Format if statement

* * Remove LiveData properties;
* Change buttons style for consistency;
* Move updateIfChanged to a separate file;

---------

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2024-01-19 16:03:17 +01:00
Bnyro
ec8c9bad4b
Merge pull request #5498 from IndusAryan/mvvm
feat: seperate trends fragment into a viewmodel to improve ux
2024-01-18 17:14:12 +01:00
IndusAryan
eda53bea03 refactor: use a view model for the trends fragment 2024-01-18 17:13:29 +01:00
Bnyro
ed48f0ca49 feat: option to shuffle downloads in background 2024-01-17 17:45:30 +01:00
Bnyro
1876fa643c feat: add 'hide watched videos' to feed filter options 2024-01-15 18:00:43 +01:00
RafaRamos
444eb693d4
feat: Support multiple filter selection (#5478)
Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2024-01-12 15:56:17 +01:00
Bnyro
46acd28c26 feat: show repeat button in audio player when playback finished 2024-01-08 19:17:09 +01:00
Bnyro
73c98368a7 fix: improve solo queue repetition performance and make independent of autoplay 2024-01-08 19:01:16 +01:00
Bnyro
8ab491afa7 fix: can't open channel from player fragment 2024-01-06 21:19:11 +01:00
Bnyro
4c1604a646 fix: only apply white image background to channel avatars 2024-01-06 14:23:03 +01:00
Bnyro
3661cd82f7 fix: can't open playlists 2024-01-06 14:19:17 +01:00