1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-01-09 17:00:32 +00:00
Commit Graph

11078 Commits

Author SHA1 Message Date
evermind
7b300eca6f use FilterItem for tabs 2024-01-01 23:34:19 +01:00
evermind
6bcca69563 searchfilters: replace old filter interaction and integrate new dialog into SearchFragment
There is also a configuration option to choose between different search
UI's
2024-01-01 00:48:47 +01:00
evermind
94511671cf searchfilters: rework getTranslatedFilterString() method to use NewPipeExtractor's LibraryStringIds class 2024-01-01 00:48:47 +01:00
evermind
8858e7e3a7 searchfilters: ViewModel for SearchFragment* and SearchFilter*DialogFragment
The ViewModel that hosts the search filters logic. It facilitates
the communication with the SearchFragment* and the
SearchFilter*DialogFragment based search filter UI's
2024-01-01 00:48:47 +01:00
evermind
a434af6987 searchfilters: 4th dialog: every search filter option is a Chip 2024-01-01 00:48:47 +01:00
evermind
a0d576ffc3 searchfilters: 3rd Ui: action based UI (enhanched legacy menu)
This approach is more or less a hack but if all else fails. Could later
be dropped or right away.
2024-01-01 00:48:47 +01:00
evermind
466ddb60c0 searchfilters: 2nd Ui: Action menu feel alike dialog
Dialog looks similar to a action menu based approach but is faster.
2024-01-01 00:48:47 +01:00
evermind
05ffe276c0 searchfilters: 1st Ui: default dialog for search content and sort filters 2024-01-01 00:48:47 +01:00
evermind
7c650f6e9d searchfilters: Moving DividerItem from NewPipeExtractor into NewPipe
DividerItem was inserted in the content filter framework in the
NewPipeExtractor to have a section title for YoutubeMusic. But as
UI releated stuff seems a bit out of place in the Extractor I came
up with injecting the DividerItem aka section title in the frontend
without having to change too much in the frontend.
2024-01-01 00:48:47 +01:00
evermind
3c038aaf7c searchfilters: common base classes for DialogFragment based UI's 2024-01-01 00:48:47 +01:00
evermind
651a333393 searchfilters: unit test for SearchFilterLogic and BaseSearchFilterUiGenerator 2024-01-01 00:48:47 +01:00
evermind
e2bce99e91 searchfilters: dynamically generate UIs and evaluate selected sort and content filters
SearchFilterLogic.java:
=======================
This class handles all the user interaction with the content and sort filters
of NewPipeExtractor.

The class works standalone to just get the default selected filters eg.
during init phase. See in SearchFragment#initializeFilterData()

BaseSearchFilterUiGenerator.java:
=================================
It extends SearchFilterLogic and is used as a base class to implement the UI interface
for content and sort filter dialogs eg. SearchFilterDialogGenerator or
SearchFilterOptionMenuAlikeDialogGenerator.
2024-01-01 00:48:47 +01:00
Stypox
1d8850d1b2
Merge pull request #10712 from Stypox/notification-actions-api-33-2
[Android 13+] Restore support of custom notification actions
2023-12-30 21:55:44 +01:00
Stypox
f98548698a
Android 33 -> Android 13
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2023-12-30 21:55:32 +01:00
Stypox
4b1824e8c1
Allow play/pausing from notification when buffering
This change is in line with a recent change in how the play/pause button behaves in the player ui: if the buffering indicator is shown, it's still possible to toggle play/pause, to allow e.g. pausing videos before they even start.
This change was needed because on Android 13+ notification actions can't be null, and thus the buffering hourglass action wasn't shown.
2023-12-29 16:18:26 +01:00
Stypox
17e88f1749
Do not update notification actions if nothing changed
This should avoid costly updates of the media session.
2023-12-29 16:16:45 +01:00
Stypox
5edafca05a
Implement notification actions via MediaSessionConnector on Android 13+ 2023-12-29 15:54:15 +01:00
Stypox
2c4c283099
Extract NotificationActionData from NotificationUtil 2023-12-29 15:54:15 +01:00
Stypox
9fb8125655
Allow each notification slot to contain any possible action 2023-12-29 15:54:15 +01:00
Stypox
aab6580195
Extract NotificationSlot from NotificationActionsPreference 2023-12-29 12:31:59 +01:00
Stypox
30f0db1d28
Customize only 2 notification actions on Android 13+ 2023-12-29 12:13:08 +01:00
Stypox
5a4dae2070
Fix settings_notification.xml indentation 2023-12-29 11:37:17 +01:00
Stypox
8345f348f6
Merge pull request #10091 from TeamNewPipe/feat/playlist_description
Add playlist description to playlist fragment
2023-12-29 10:58:13 +01:00
Stypox
9220e32463
Fix FeedDAOTest 2023-12-29 10:54:31 +01:00
Stypox
845e72bf4a
Merge branch 'master' into dev 2023-12-29 10:48:37 +01:00
Tobi
49429ff40a
Merge pull request #10700 from TeamNewPipe/newpipe_0.26.1
Newpipe 0.26.1
2023-12-26 18:26:48 +01:00
TobiGr
3df21ad25e Bump version to 0.26.1 (996) 2023-12-26 16:59:02 +01:00
TobiGr
d0f4600be4 Add changelog for NewPipe 0.26.1 2023-12-26 16:58:49 +01:00
TobiGr
0fa2e76c3e Fix NPE when ChannelTabLHFactory not implemented for a service
Fixes #10698
2023-12-26 16:55:52 +01:00
Stypox
9ff1b5230f
Improve TextEllipsizer class 2023-12-23 18:04:05 +01:00
TobiGr
65eb631711
Ellipsize playlist description if it is longer than 5 lines
The description can be expanded / collapsed via a "show more" / "show less" button.
2023-12-23 12:33:52 +01:00
TobiGr
6c99557553
Add playlist description to PlaylistFragment 2023-12-23 12:13:34 +01:00
Stypox
2b4357fa87
Merge pull request #10530 from TacoTheDank/bumpMiscLibraries
Update miscellaneous libraries
2023-12-23 12:06:42 +01:00
Stypox
cda4b3faaa
Update AGP and Gradle 2023-12-23 12:01:50 +01:00
Stypox
5d09a88335
Update more libraries 2023-12-23 11:58:58 +01:00
TacoTheDank
edd4f6b9f3
Update Studio and desugaring versions 2023-12-23 11:47:57 +01:00
TacoTheDank
1e7e2109d2
Exclude RxJava file from META-INF 2023-12-23 11:47:57 +01:00
TacoTheDank
b31d3831e6
Change Converters to class to fix build 2023-12-23 11:47:57 +01:00
TacoTheDank
0f81a0504c
Use 'tasks.register' for Gradle tasks 2023-12-23 11:47:57 +01:00
TacoTheDank
4a7fda95ae
Update miscellaneous libraries 2023-12-23 11:47:57 +01:00
Stypox
ee3455e1e5
Merge pull request #10086 from TacoTheDank/bumpAndroidX
Update some AndroidX libraries and compileSdk to 34
2023-12-23 11:46:28 +01:00
Isira Seneviratne
f9fc1cd817
Store/retrieve parcelable arrays as lists instead. 2023-12-23 11:38:40 +01:00
TacoTheDank
76f1e588f7
Utilize BundleCompat and IntentCompat methods 2023-12-23 11:38:40 +01:00
Isira Seneviratne
f3b458c803
Bump compileSdk to 34 2023-12-23 11:38:32 +01:00
TacoTheDank
00566ed4d4
Fix AndroidX Work deprecation 2023-12-23 11:36:33 +01:00
TacoTheDank
e4a07411b8
Update some AndroidX libraries 2023-12-23 11:36:32 +01:00
Stypox
2c1bb2706f
Merge pull request #10018 from Stypox/comment-replies
Add support for comment replies
2023-12-23 11:01:07 +01:00
Stypox
aa84d6fc8f
Add @NonNull annotations 2023-12-22 18:52:42 +01:00
Stypox
d76e9b0bd8
Fix scrolling to correct comment after closing replies 2023-12-22 18:52:42 +01:00
TobiGr
b4016c91c1
scroll last comment into view 2023-12-22 11:57:55 +01:00