Commit Graph

57 Commits

Author SHA1 Message Date
Bnyro
f35ea239d5 feat: chapters support for downloaded videos 2024-04-06 15:24:34 +02:00
Bnyro
0b5e4185d8 fix: various comment/replies related issues 2024-03-28 17:30:07 +01:00
Bnyro
cee1414ef1 fix: crashes during pagination on server side cancelled requests 2024-03-20 18:51:22 +01:00
Isira Seneviratne
e1e18a793d fix: searching sometimes returns strange results 2024-03-20 18:28:17 +01:00
Bnyro
ae51baaf2b
Merge pull request #5751 from Bnyro/fix-comment-replies
fix: false message about no comments and scroll to top button
2024-03-17 13:00:58 +01:00
Nikita
64829dc198 fix: btnTop scroll didn't work in replies 2024-03-17 12:51:25 +01:00
Bnyro
a4ff63190a fix: playback pauses after orientation change 2024-03-17 12:36:52 +01:00
Bnyro
70bfaddb2e chore: reformat code using ktlint 2024-02-28 13:39:55 +01:00
Bnyro
0a4ccae79a refactor: don't recreate player on orientation change 2024-02-18 16:59:53 +01: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
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
Isira Seneviratne
28e653120f refactor: Simplify getVideoIdFromUrl 2024-01-31 06:25:28 +05:30
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
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
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
338ef22a18 refactor: simplify initalization of MutableLiveData in PlayerViewModel.kt 2024-01-18 17:26:47 +01:00
IndusAryan
eda53bea03 refactor: use a view model for the trends fragment 2024-01-18 17:13:29 +01:00
Bnyro
8edef3583c fix: don't use dead fallback instances api anymore 2023-12-17 16:29:07 +01:00
Bnyro
acb8e8ec03 refactor: remove bottom reached toast and show progress indicator instead 2023-11-27 20:23:58 +01:00
Bnyro
14c6ae36b5 feat: show toast if the bottom/end of comments/replies is reached 2023-11-17 15:32:08 +01:00
Bnyro
155682bccc refactor: simplify logic of loading comments and replies 2023-11-17 15:23:53 +01:00
FineFindus
9e8216acb0
feat(comments): show if creator replied 2023-10-11 18:04:25 +02:00
Bnyro
064c5279a6 fix: conflicts between chapters and video highlight 2023-10-06 17:37:20 +02:00
Bnyro
cb4afc2584 style: run ktlint 2023-09-13 17:50:17 +02:00
Bnyro
8adb2b1fec refactor: remove fragment constructors from channel groups sheets 2023-09-13 17:44:53 +02:00
Bnyro
efa1c44b8d refactor: remove constructors from ChaptersBottomSheet 2023-09-13 16:14:21 +02:00
Bnyro
b577d96795 feat: allow interacting with player while viewing chapters 2023-08-20 18:02:28 +02:00
salahmak
8230c7598a
fix: duplicated comments (#4422) 2023-08-11 17:42:42 +02:00
Bnyro
3a106c449b chore: remove unneeded type annotations 2023-08-03 14:39:35 +02:00
Bnyro
508573a1c1 refactor: cleanup CommentsSheet 2023-07-31 15:22:07 +02:00
Bnyro
5bb076c94f refactor: cleanup subscriptions fragment 2023-07-20 10:57:09 +02:00
Isira Seneviratne
0537247f43 Accept application parameter in WelcomeModel. 2023-07-03 04:51:36 +05:30
Bnyro
4bb64bee05 Reformat project as attempt to fix the ktlint action 2023-06-24 19:57:00 +02:00
Bnyro
108b4c5f79 Improve welcome screen in landscape: remember selection and scrollable 2023-06-12 20:07:18 +02:00
Bnyro
aa21ef28f7 Fix (disable) notifications for already seen videos 2023-06-02 15:58:35 +02:00
Bnyro
c4ccdedb93 Remember the comments progress, scroll to top button for comments 2023-04-30 11:14:22 +02:00
xz-dev
f6884204fd
Half expand comment dialog when roll player 2023-04-26 20:36:17 +08:00
Bnyro
91f11b60b6 Clickable comment timestamps 2023-03-03 17:54:51 +01:00
Isira Seneviratne
d1fd030ab0 Use viewModelScope extension. 2023-02-20 19:13:55 +05:30
Faisal Khan
6053eae99b
Filter out null comments returned from Piped API. (#3061)
* Made improvement to player double-tap further.

* Minor fixes.

* fix ktlint

* Filter out null comments returned from Piped API.
2023-02-13 18:08:56 +01:00
Bnyro
b734c69ea8 Move helpers from .util to .ui.listeners and .helpers 2023-01-31 16:43:39 +01:00
faisalcodes
4b395e0372 Fixes #2878 : Using multi-level comments display. 2023-01-28 23:42:51 +05:30
Isira Seneviratne
cf9c6ffb99 Convert LocalSubscriptionDao methods to suspend functions, remove unused methods. 2023-01-23 19:14:49 +05:30
Isira Seneviratne
ef103284af Use Kotlinx Serialization with comments. 2023-01-19 04:47:49 +05:30
Bnyro
0045e41902 Use a ViewModel for the CommentsSheet 2022-12-26 15:55:14 +01:00