Commit Graph

11352 Commits

Author SHA1 Message Date
Stypox b584353f4d
Small fixes to code style 2024-11-21 10:52:15 +01:00
Isira Seneviratne d73314b4dd Make App instance variable immutable outside class 2024-11-21 08:09:57 +05:30
Isira Seneviratne 9f4a33c7a8 Fix lint 2024-11-21 06:56:10 +05:30
Isira Seneviratne 3a9540b042
Update app/src/main/java/org/schabi/newpipe/App.kt
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2024-11-20 16:04:39 +05:30
Isira Seneviratne ca855cbca0 Migrate to Coil 3 2024-11-20 09:28:20 +05:30
Isira Seneviratne 6a98b1dac7 Rename .java to .kt 2024-11-20 08:44:16 +05:30
Stypox 13585ca0be
Avoid drawing surface background twice for comments fragment 2024-11-11 16:15:36 +01:00
Stypox 62ab9bd740
Merge pull request #11060 from Isira-Seneviratne/Comments-Compose
Migrate comment fragments to Jetpack Compose
2024-11-11 16:12:53 +01:00
Stypox fdf36cbad6
Deduplicate and improve Scrollbar theme 2024-11-11 15:20:38 +01:00
Stypox aea2b7c7f3
Show correct reply count in dialog 2024-11-11 14:58:54 +01:00
Stypox 37d1c784fa
Create utilities to copy to clipboard in Compose code 2024-11-11 14:58:54 +01:00
Stypox cea149f852
Add .kotlin/ to gitignore 2024-11-11 14:26:01 +01:00
Stypox a92a28517e
Use Icons.Default.* instead of vector assets 2024-11-11 14:25:28 +01:00
Stypox 800961c3d7
Unexpand bottom sheet dialog when clicking on a channel 2024-11-11 13:51:24 +01:00
Stypox 9d8a79b0bd
Slightly improve comment replies header spacing 2024-11-11 13:34:18 +01:00
Stypox ef56dea817
Fix content color in comment replies fragment 2024-11-11 00:29:29 +01:00
Stypox 23b3835af0
Fix PagingSource for comments
The previous implementation was skipping the first page of comments
2024-11-11 00:16:32 +01:00
Stypox 412e1d602a
Better handle unknown values for comment & like count 2024-11-10 23:45:10 +01:00
Stypox 802a094154
Improve comment replies dialog layout 2024-11-10 23:28:59 +01:00
Stypox e6b1341246
Improve Comment layout 2024-11-10 23:09:29 +01:00
Stypox 36ede243e3
Update compose bom and fix navigation compose without version 2024-11-10 20:53:49 +01:00
Stypox bac9f7eebf
Merge branch 'refactor' into pr11060 2024-11-10 16:50:46 +01:00
litetex 8ada566bf1
Replaced ``Icepick`` with ``Bridge`` and ``Android-State``
* IcePick fails on Java 21 (default in Android Studio 2024.2)
* Bridge is the most modern alternative that is currently available. It is backed by ``Android-State`` and can be configured with various frameworks
* In the long term this should be replaced with something better
2024-11-10 16:42:42 +01:00
litetex 5bd4ed77df
Fix Android Gradle plugin warning 2024-11-10 16:42:42 +01:00
litetex 97652ac015
Update Gradle to latest version 2024-11-10 16:42:41 +01:00
litetex 6dd24033a4
Replace symlink with original
Co-Authored-By: Thompson3142 <115718208+thompson3142@users.noreply.github.com>
2024-11-10 16:42:41 +01:00
litetex 4de3ef20be
Delete symlink 2024-11-10 16:42:41 +01:00
litetex 702f74291d
Use working Extractor version
The tag can't be resolved by Jitpack so use the commit-hash instead
2024-11-10 16:42:41 +01:00
litetex d8759993a9
CI: Use Java 21 2024-11-10 16:42:41 +01:00
litetex 7787eafd3a
Fix build failing locally due to outdated kotlin version 2024-11-10 16:42:41 +01:00
Siddhesh Naik b399030e19
Settings redesign debug page (#10876)
Initial Work for Settings Page with Jetpack Compose

- Implemented a new settings page using Jetpack Compose.
- Added a new settings option to enable the redesigned settings page.
- This option allows for gradual integration and testing of the new
  settings page, minimizing disruptions to current functionality.

Plan for Settings Items:
- Jetpack Compose does not have a direct equivalent to the
  Preference/settings library.
- We could consider using third-party libraries that offer preference
  items as composables.
- However, these libraries may be incomplete or lack active development.
- Given our specific needs for only a subset of preference types,
  creating custom composables would be beneficial.
- This approach allows for fine-tuning the components to our specific
  use case.
2024-10-22 00:47:26 +05:30
Stypox 49bcf2c41b
Merge branch 'dev' into refactor 2024-09-24 14:45:59 +02:00
Isira Seneviratne 3177ca6e8a Avoid issues if context is a ContextWrapper 2024-09-11 21:57:51 +05:30
Isira Seneviratne 5017f4f05a Update dependencies 2024-09-05 09:23:00 +05:30
Mihael_River 035c394cf6
Fixing the 404 page not found, when clicking on "contribution notes" in multiple README.md's translated into different languages (#11487)
Link to contribution notes wasn't working

* Update README.de.md, fix grammar in README.de.md
* Update README.asm.md
* Update README.fr.md
* Update README.hi.md
* Update README.it.md
* Update README.pa.md
* Update README.pt_BR.md
* Update README.ru.md
* Update README.sr.md

---------

Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2024-08-30 16:32:42 +02:00
Isira Seneviratne 823d4a041f Improve loading indicator positioning 2024-08-30 16:59:15 +05:30
Isira Seneviratne 62d4044d6c Make lazy column scrollbars red 2024-08-30 09:02:56 +05:30
Isira Seneviratne 3785404618 Display number of comments 2024-08-30 08:46:02 +05:30
Isira Seneviratne 4cac111b66 Reduce preview count 2024-08-29 07:46:37 +05:30
Isira Seneviratne 941b8eb194 Implement copy on long click 2024-08-29 07:24:03 +05:30
Isira Seneviratne b1add13bfd Address code review comments 2024-08-28 18:15:11 +05:30
Isira Seneviratne 5fffee2c7d Fix text color in bottom sheet 2024-08-28 17:59:38 +05:30
Isira Seneviratne f9340ae604 Improve compose function organisation 2024-08-27 08:19:37 +05:30
Isira Seneviratne d3a6991fd4 Use Fragment.content extension, improve comment composables 2024-08-26 19:29:46 +05:30
Isira Seneviratne 3641698379 Merge branch 'refs/heads/refactor' into Comments-Compose
# Conflicts:
#	app/build.gradle
2024-08-23 20:13:03 +05:30
Isira Seneviratne 2836191fb3
Migrate related items fragment to Jetpack Compose (#11383)
* Rename .java to .kt

* Migrate related items fragment to Jetpack Compose

* Specify mode parameter explicitly

* Rm unused class

* Fix list item size

* Added stream progress bar, separate stream and playlist thumbnails

* Display message if no related streams are available

* Dispose of related items when closing the video player

* Add modifiers for no items message function

* Implement remaining stream menu items

* Improved stream composables

* Use view model lifecycle scope

* Make live color solid red

* Use nested scroll modifier

* Simplify determineItemViewMode()
2024-08-23 19:51:32 +05:30
Isira Seneviratne 294b9cf347 Rm unused declaration 2024-08-17 08:25:39 +05:30
Tobi fad3120b00
Merge pull request #11428 from Two-Ai/remove-returnActivity-test
Remove outdated returnActivity test code
2024-08-15 01:53:28 +02:00
TwoAi 38c823a042 Remove outdated returnActivity test code
returnActivity was removed in 463dd8e
2024-08-10 23:09:54 -04:00
Isira Seneviratne e082bca5e0 Use nested scroll modifier 2024-08-11 08:23:13 +05:30