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
Bnyro
89be23a858
improve home section
2022-11-18 16:23:45 +01:00
Bnyro
42e326f9b8
fix the lagging user experience
2022-11-18 16:08:09 +01:00
Bnyro
df00881cff
fix new home tab issues
2022-11-18 15:57:16 +01:00
Bnyro
576f72bc36
fix some scrolling issues
2022-11-17 19:01:46 +01:00
Bnyro
214aaf6612
implement logic
2022-11-17 18:58:53 +01:00
Bnyro
79b08c2e5a
initial UI creation
2022-11-17 18:16:12 +01:00
Bnyro
c21f553fa4
layout fixes
2022-11-06 16:35:36 +01:00