Commit Graph

1496 Commits

Author SHA1 Message Date
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
Bnyro
b6669cf65d refactor: merge PiP and pause on quit preference into one 2024-02-05 17:22:16 +01:00
Bnyro
f9fa732cb4
Merge pull request #5587 from manish99verma/Give-up-timer-on-long-buffering
feat: stop loading after long unsuccessful buffering
2024-02-05 16:47:13 +01: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
Bnyro
2bde360518 refactor: simplify home view model logic 2024-02-05 16:31:18 +01:00
Jt90-spec
d4802d175e fix: Resolve homepage not loading when 'trending' is not selected among home tab content 2024-02-05 16:31:18 +01:00
Isira Seneviratne
3166df3496 fix: Remove inappropriate runBlocking call 2024-02-03 17:30:08 +05:30
Bnyro
6948d48612
Merge pull request #5575 from nik-conder/fix
fix: correctly display colors in system panel
2024-01-31 16:10:32 +01:00
Nikita
43eed17c9d fix: correctly display colors in system panel 2024-01-31 16:08:46 +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
3f391c3795
Merge pull request #5561 from Bnyro/master
fix: player seekbar can be hard to grab
2024-01-26 14:47:10 +01:00
Bnyro
e6abf05cb3 fix: player seekbar can be hard to grab 2024-01-26 14:46:48 +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
Bnyro
c086379959
Merge pull request #5559 from Bnyro/master
fix: don't toggle system bars in player fragment when locking player
2024-01-26 14:20:04 +01:00
Bnyro
a5af986c13 fix: don't toggle system bars in player fragment when locking player 2024-01-26 14:19:35 +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
16c7986469 feat: support for downloading whole playlist at once 2024-01-22 14:00:04 +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
338ef22a18 refactor: simplify initalization of MutableLiveData in PlayerViewModel.kt 2024-01-18 17:26:47 +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
RafaRamos
2290951a4d Clear views on VideoAdapter' onBindViewHolder 2024-01-16 12:03:40 +01:00
Bnyro
4cd6552c38
Merge pull request #5486 from abGit9/Show_Channel_Page
fix: don't show history when closing video on channel page
2024-01-15 18:03:24 +01:00
Bnyro
1876fa643c feat: add 'hide watched videos' to feed filter options 2024-01-15 18:00:43 +01:00
Ankur
c781de4e60 fix: Show Channel Page 2024-01-13 19:09:58 -08: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
0e960e1a6c
Merge pull request #5482 from Bnyro/master
feat: support for exporting and importing channel groups
2024-01-11 20:25:43 +01:00
Bnyro
d46c030242 feat: support for exporting and importing channel groups 2024-01-11 20:25:26 +01:00
RafaRamos
769919bb7c Fix instance reload on instance changed in settings. 2024-01-11 16:39:45 +01:00
Bnyro
94f9be7297
Merge pull request #5464 from Bnyro/master
feat: show duration in downloads and improve downloads UI
2024-01-08 20:02:09 +01:00
Bnyro
d7f95cd23d feat: show duration in downloads and improve downloads UI 2024-01-08 20:01:48 +01:00
Bnyro
aea631bb01
Merge pull request #5463 from Bnyro/master
feat: show repeat button in audio player when playback finished
2024-01-08 19:17:34 +01:00
Bnyro
46acd28c26 feat: show repeat button in audio player when playback finished 2024-01-08 19:17:09 +01:00