Stypox
3aa5edc453
Add more documentation
...
Especially in and around LongPressAction.kt
Also add some logging / Toast when fetchAllAndShuffle() has to stop early
2026-02-10 22:41:12 +01:00
Stypox
d075539a8a
Add Context.findFragmentManager() extension function
2026-02-10 22:41:12 +01:00
Stypox
9c558d97e9
Build LongPressAction lists using builder pattern
2026-02-10 22:41:12 +01:00
Stypox
08300951ed
Add Subscribe button to LongPressMenu
2026-02-10 22:41:12 +01:00
Stypox
920d630409
Add some documentation to tests
2026-02-10 22:41:12 +01:00
Stypox
5b10a93577
Embed actions impls inside LongPressAction when possible
...
... and add TODO comments for the `onDelete` implementations, which will be embeddable only after migrating the list fragments to Compose.
Also remove incomplete and misleading toStreamInfoItem() implementations in StreamStatisticsEntry and PlaylistStreamEntry. Now one has to do statisticsEntry.streamEntry.toStreamInfoItem() instead, making it clear that the call only uses data from streamEntry.
2026-02-10 22:41:12 +01:00
Stypox
d561444836
Implement getPlayQueueStartingAt for Compose ItemList too
2026-02-10 22:41:12 +01:00
Stypox
f65094b5fd
Use getPlayQueueStartingAt in BaseListFragment
...
Instead of overriding the whole showInfoItemDialog
2026-02-10 22:41:12 +01:00
Stypox
3b19d637c9
Remove unused field uploaderUrl from LongPressable
2026-02-10 22:41:12 +01:00
Stypox
03325682a1
Add -grpc to emulator options for CI
2026-02-10 22:41:12 +01:00
Stypox
512b536248
Resizing display in tests is only supported on API>=24
2026-02-10 22:41:12 +01:00
Stypox
dc7ed1ce8d
Add 38 UI tests for LongPressMenu
2026-02-10 22:41:12 +01:00
Stypox
2a28e7a805
Make LongPressMenu scrollable if it does not fit on screen
2026-02-10 22:41:12 +01:00
Stypox
a92c8b2243
Setup espresso for testing
2026-02-10 22:41:12 +01:00
Stypox
48010d014b
Extract some common test methods to InstrumentedTestUtil
2026-02-10 22:41:12 +01:00
Stypox
35e673a5ce
Add tests for LongPressMenuSettings
2026-02-10 22:41:12 +01:00
Stypox
3ee031efb9
Add accessibility label to show channel details button
2026-02-10 22:41:12 +01:00
Stypox
5094caf92b
Fix LongPressMenu crashing if dismissed while loading
2026-02-10 22:41:12 +01:00
Stypox
59841e966e
Correctly handle Kodi action in long press menu
...
Automatically enable/disable it when changing the "Show play with Kodi" setting
Include it in the default actions if the "Show play with Kodi" setting is enabled
Hide the Kodi action if Kodi would not support the service.
2026-02-10 22:41:12 +01:00
Stypox
f495cc075e
Fix player shuffle state not starting out synchronized with queue
2026-02-10 22:41:12 +01:00
Stypox
b3b6cf30dc
Add bg/popup/play shuffled actions
2026-02-10 22:41:12 +01:00
Stypox
96a57803a6
Add reset button to long press menu editor
2026-02-10 22:41:12 +01:00
Stypox
378fdef27a
Fix opening channel fragment from anywhere
2026-02-10 22:41:12 +01:00
Stypox
5e0b307c5e
Allow playing local playlists directly
2026-02-10 22:41:12 +01:00
Stypox
ec75ddabda
Only show Enqueue and EnqueueNext if player open
2026-02-10 22:41:12 +01:00
Stypox
70c502d31f
Fix formatting with new ktlint rules
2026-02-10 22:41:12 +01:00
Stypox
8f19f95fee
Show loading when action takes some time
...
Convert RxJava3 calls to suspend functions, sometimes requiring .await() to bridge between the two
Also migrate play queue items' popup menu to new long press menu
Also do centralized error handling
2026-02-10 22:41:12 +01:00
Stypox
c62004d903
Load settings in LongPressMenu too
2026-02-10 22:41:12 +01:00
Stypox
85cb372f5f
Persist long press actions to settings
2026-02-09 22:51:12 +01:00
Stypox
3d62b923c7
Separate @Composables from state logic for actions editor
2026-02-09 22:51:10 +01:00
Stypox
1a42f300f2
Improve some strings and add some comments
2026-02-07 11:58:48 +01:00
Stypox
4d8cdc4681
Fix strange animations when quickly reording items
2026-02-07 11:58:48 +01:00
Stypox
cf4bfa522e
Make it clearer when items are being dragged under the finger
2026-02-07 11:58:48 +01:00
Stypox
b9485488f8
Tune long press menu UI
2026-02-07 11:58:48 +01:00
Stypox
44dc35a108
Make channel link less attractive
2026-02-07 11:58:48 +01:00
Stypox
35401e7ab4
Distinguish between isDraggable and isCaption
2026-02-07 11:58:48 +01:00
Stypox
f2a1a638db
DetectDragModifier now detects long-presses
...
The long press initiates an item drag; otherwise the view just scrolls on drag.
2026-02-07 11:58:48 +01:00
Stypox
032a853072
Fix long press menu on DPAD clicks onEditActions right after opened
...
Also see the comment
2026-02-07 11:58:48 +01:00
Stypox
3d6c37a513
Autoscroll when dragging close to border
2026-02-07 11:58:48 +01:00
Stypox
444aba2c38
Handle scrolling on Android TV
2026-02-07 11:58:48 +01:00
Stypox
f0c324835f
Fix an edge case on the DragMarker position logic
2026-02-07 11:58:48 +01:00
Stypox
e350b10b14
Make LongPressMenuEditor work with DPAD / Android TV
2026-02-07 11:58:47 +01:00
Stypox
6396c97c9a
Rewrite LongPressMenuEditor logic
2026-02-07 11:58:47 +01:00
Stypox
0cc63347af
Access editor from long press menu + fix scrolling
2026-02-07 11:58:47 +01:00
Stypox
a3af6e20ce
Add Back content description to toolbar back buttons
2026-02-07 11:58:47 +01:00
Stypox
9e1c3406a1
Implement LongPressMenuEditor UI (still not persisted)
2026-02-07 11:58:47 +01:00
Stypox
23c2de7c22
Extract FixedHeightCenteredText from LongPressMenu
2026-02-07 11:58:47 +01:00
Stypox
162c9ce565
Address Isira review comment
2026-02-07 11:58:47 +01:00
Stypox
701e8c59c5
Consider duration 0 as duration not known
2026-02-07 11:58:47 +01:00
Stypox
9f4730e61f
Implement long pressing on subscriptions
2026-02-07 11:58:47 +01:00