Commit Graph

793 Commits

Author SHA1 Message Date
Ankur
0d77505285 Fix [ChannelFragment]: main layout becomes visible after data fetched 2024-02-12 18:39:25 -08: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
Bnyro
9c2abeeca1
Merge pull request #5443 from RafaelsRamos/imp/feed
fix: Improve home feed layout and fix issue where incorrect cache size was defaulted.
2024-01-06 14:03:31 +01:00
RafaRamos
0e927b4b18 Fix issue where no caching was being done by default. 2024-01-06 14:03:07 +01:00
Bnyro
c4da395b58
Merge pull request #5425 from RafaelsRamos/feat/5418
feat: Support setting sleep timer on Audio player
2024-01-06 14:00:24 +01:00
RafaRamos
7a30741664 Ensure no main navigation scene is performed if there are no tabs. 2024-01-04 16:06:09 +01:00
RafaRamos
bccac2a0ab Redirect to Sleep timer bottom sheet, on Sleep timer icon click. 2024-01-03 14:05:29 +01:00
Bnyro
759e31f906 fix: remove unnecessary subscription status api call in channel fragment 2023-12-30 17:23:31 +01:00
Bnyro
2e551c8226 fix: regressions by persistent notification lifecycle fix 2023-12-30 16:20:46 +01:00
RafaRamos
65f113c445
fix: ensure correct persistent notification lifecycle (#5388)
Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-12-30 16:11:30 +01:00
Isira Seneviratne
37de6a7374
Merge pull request #5380 from Isira-Seneviratne/Navigation_safe_args
refactor: Use Navigation Safe Args
2023-12-29 06:47:50 +05:30
RafaRamos
84dbabe23e Supports close video on MiniPlayer swipe down 2023-12-26 16:31:40 +01:00
Bnyro
7221126e1d
Merge pull request #5386 from RafaelsRamos/fix/5361
fix: oldest videos repeatedly displayed when loading channel videos
2023-12-26 12:02:34 +01:00
RafaRamos
4782c24185 Fix infinite repeated videos load on ChannelFragment.kt 2023-12-24 11:55:39 +01:00
Isira Seneviratne
b70e2c2630 refactor: Use SoftwareKeyboardControllerCompat 2023-12-24 08:01:41 +05:30
Bnyro
f86eaccf95
Merge pull request #5381 from Bnyro/master
fix: clicking now playing notification in offline player opens audio player
2023-12-23 10:40:31 +01:00
Bnyro
998abf8252 fix: clicking now playing notification in offline player opens audio player 2023-12-23 10:33:22 +01:00
Isira Seneviratne
f573ec7434 refactor: Use Navigation Safe Args 2023-12-23 08:10:26 +05:30
Bnyro
5c8bcc5fe1
Merge pull request #5364 from FineFindus/feat/copy-video-id
feat: add copy video ID button in stats sheet
2023-12-21 22:21:45 +01:00