Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add «Always expand description» in appearance settings, closes #1113 #2998

Closed
wants to merge 1 commit into from

Conversation

B0pol
Copy link
Member

@B0pol B0pol commented Jan 24, 2020

Closes #1113
I added a switch in appearance settings for that, and the default value is false (stays as it's now).

@B0pol B0pol changed the title add «Always expand description» in appearance settings, fixes #1113 add «Always expand description» in appearance settings, closes #1113 Jan 24, 2020
@Jethrobsn
Copy link

Can you guys make it compatible with android 4.1.2? Please???😢😢😢

@B0pol
Copy link
Member Author

B0pol commented Jan 24, 2020

I just added a settings to automatically launch or not toggleTitleAndDescription function. So it will work on all devices since the toggleTitleAndDescription function already works on all devices.

But if you wanna use NewPipe with android 4.1, look for NewPipe legacy

@Jethrobsn
Copy link

Jethrobsn commented Jan 24, 2020 via email

@Jethrobsn

This comment has been minimized.

@Jethrobsn

This comment has been minimized.

@harshlele

This comment has been minimized.

@Jethrobsn

This comment has been minimized.

@Jethrobsn

This comment has been minimized.

@TemporaryAccount0x1

This comment has been minimized.

@TobiGr TobiGr added this to the 0.18.4 milestone Jan 29, 2020
@Stypox
Copy link
Member

Stypox commented Feb 23, 2020

@B0pol could you provide a test apk? Code looks good to me ;-)

@B0pol
Copy link
Member Author

B0pol commented Feb 23, 2020

autoExpandDescription.zip
Here you go @Stypox

Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The apk works correctly. Just a small thing ;-)

Stypox
Stypox previously approved these changes Feb 23, 2020
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you :-D

@TobiGr
Copy link
Member

TobiGr commented Feb 23, 2020

I am not sure if this setting is really needed. That feature request is 2 years old and received only 3 votes.

@B0pol
Copy link
Member Author

B0pol commented Feb 23, 2020

Well, then remove from the projects issues you think unecessary, and also don't add the pr in milestones @TobiGr.

@opusforlife2
Copy link
Collaborator

Why not? More power to the user.

@justanidea
Copy link
Contributor

Im okey with this project too.

@Stypox
Copy link
Member

Stypox commented Feb 23, 2020

@B0pol sorry, my bad for adding it to Projects, apparently the feature is requested by a small number of people. Since this was added to the milestone I thought it was going to be merged, but I agree with @TobiGr
@opusforlife2 @gillhash it is not a good idea to have too many options, because then they can't be found anymore and the user can't come across them, therefore losing their purpose.
@TobiGr @B0pol we could add an "Advanced settings" entry in the main settings screen, so that we can add as many small and not-much-requested settings as we want without creating problems. What do you think?

@wb9688
Copy link
Contributor

wb9688 commented Feb 23, 2020

@Stypox: I think that'd be OK, but only for really small things (i.e. low maintanance burden). I'm not sure if "Advanced settings" would be the correct name for it though.

@B0pol
Copy link
Member Author

B0pol commented Feb 23, 2020

we could add an "Advanced settings" entry in the main settings screen, so that we can add as many small and not-much-requested settings as we want without creating problems. What do you think?

I don't think it's a good idea. Currently, settings are ok~ organized (why is main page content in appearance), so if you see the category, you'll know what it's about.

If you put advanced settings, you will throw settings in it and it will be shambolic

@Stypox
Copy link
Member

Stypox commented Feb 23, 2020

Or we could add a switch to enable advanced settings ("fine-tuning settings"?), just as in Android

@opusforlife2
Copy link
Collaborator

opusforlife2 commented Feb 23, 2020

Advanced or 'Miscellaneous Settings' is a good option, I think. Newpipe isn't some critical application which will have planet destroying settings if the users don't know what they're doing. In the worst case, they'll disable comments or delete their main page tabs and be faced with the default blank page.

I say let them mess with advanced settings at their own risk. Put it behind a Firefox about:config like warning.

@B0pol Very good point. Main page content should be in Content.

Edit: Actually, why can't this be the default state? Have the description always expanded. The user anyway has to scroll down for comments or suggested videos. It won't have any major impact. In fact, it might even lessen their distraction level. I know I've tapped on the first few suggested videos in a chain without watching any, once in a while.

@B0pol B0pol requested a review from Stypox March 14, 2020 09:46
@B0pol B0pol closed this Apr 7, 2020
@B0pol B0pol deleted the autoExpandDescription branch April 7, 2020 08:41
@opusforlife2
Copy link
Collaborator

Noooooooooooooooooo!

@git-mng
Copy link

git-mng commented Apr 7, 2020 via email

@gkeegan
Copy link
Contributor

gkeegan commented Apr 7, 2020

@B0pol why close? :(

@B0pol
Copy link
Member Author

B0pol commented Apr 7, 2020

Because it was in 0.18.4 milestone, then 0.19.0, and not anymore in 0.19.3, and it has been pending for two months for a really small PR. Also, TobiGr has shown he's not really for it.

ShareASmile added a commit to ShareASmile/FoxPipe that referenced this pull request Jun 14, 2024
…s of 15-01-2024 into pre-unified-legacy

This is a fork of TeamNewPipe/NewPipe-legacy that I have been patching for a few months now. There is no commit history as this has been a personal project up until today.

Pulled in a major chunk of related commits for NewPipe Preunified from upstream TeamNewPipe/NewPipe repository:
1. Update NewPipe extractor to fetch likes count Fix TeamNewPipe/NewPipe#10624
2. Access Background Player Queue from Main menu by HybridAU
TeamNewPipe/NewPipe#8419
3. Added Bandcamp Music Support Into NewPipeLegacy, Improve Bandcamp intent filters
TeamNewPipe/NewPipe#3741
TeamNewPipe/NewPipe#6373
TeamNewPipe/NewPipe#6456
4. Disable sending metrics to Google when using Android System WebView
TeamNewPipe/NewPipe#5337
5. Add basic resize functionality
TeamNewPipe/NewPipe#3948
6. [media.ccc.de] Add recent & live stream kiosk
TeamNewPipe/NewPipe#5251
TeamNewPipe/NewPipe#5286
[media.ccc.de] Fix service color
TeamNewPipe/NewPipe#5258
7. Ability to see Pinned Comment added by dkramer95
TeamNewPipe/NewPipe#7577
8. Clicking on Title In Background Player Should Open Video Details
TeamNewPipe/NewPipe#3808 by https://github.com/budde25
9. Added Swipe to Refresh for Channels New Videos in Subscription Feed
TeamNewPipe/NewPipe#4893
10. [peertube] implement sepia search
TeamNewPipe/NewPipe#5257
11. Allow installation on external storage by triallax in
TeamNewPipe/NewPipe#6037
12. Change UA to privacy.resistFingerprinting
TeamNewPipe/NewPipe#5649 by FireMasterK
13. Add formatting removal on paste for search TeamNewPipe/NewPipe#5912 by imericxu
14. Remember Last Selected Media Type For Downloads
TeamNewPipe/NewPipe#4038 by vmazoyer
15. Improve search suggestion experience when remote ones can't be fetched
TeamNewPipe/NewPipe#4029 by StyPox
16. Fix Download Button Not Visible After Playing Live Stream, Fix video detail controls visibility set inconsistently
Add this commit by StyPox
TeamNewPipe/NewPipe@dbb86d2 from
TeamNewPipe/NewPipe#4362
17. [Background Player] Fix very small thumbnails in Video Detail Page by TobiGR in
TeamNewPipe/NewPipe#5818
18. Add Always Expand Description In Appearance Settings
TeamNewPipe/NewPipe#2998 by B0pol
(Related) entries from search history Increased from 25 to 80 and Search Suggestions Entries from 3 to 60 commit copied from
TeamNewPipe/NewPipe#2666 thanks to ergor
20. Fixes snackbar error on disabled likes count
Fixes TeamNewPipe/NewPipe#7405 by TeamNewPipe/NewPipeExtractor#753
21. Fixed player controls not hiding after replay & Bluetooth headset button by Alexander--
TeamNewPipe/NewPipe#3547
22. update user agent in Downloader to firefox latest ESR 115 by Nickoriginal
TeamNewPipe/NewPipe#8269
23. Changed Dark Theme Colors To Darker Variant by sauravrao637
TeamNewPipe/NewPipe#6244
24. Support for PeerTube Short Links
TeamNewPipe/NewPipe#7353
25. Handle URLs for YouTube Shorts
TeamNewPipe/NewPipe#7181
26. Fix playback speed not being updated in Background Player & Fix TeamNewPipe/NewPipe#8058
Fixed Combinedly by TeamNewPipe/NewPipe#6421 by Tobius
and by seanzzy in
TeamNewPipe/NewPipe#8244
27. Added comments disabled functionallity by litetex in
TeamNewPipe/NewPipe#6483
28. [media.ccc.de] Fix service color
TeamNewPipe/NewPipe#5258
29. Ignore ContentNotSupportedException caused by Bandcamp fan pages
TeamNewPipe/NewPipeExtractor#1033
30. Crash when rotating device on unsupported channels
TeamNewPipe/NewPipe#6696
31. Correct Gigaget's license from GPLv2 to GPLv3
TeamNewPipe/NewPipe#4892
32. Add basic resize functionality [Samsung Dex Now Supported]
TeamNewPipe/NewPipe#3948
33. [Security] Update ktlint to 0.40.0
34. Fix security vulnerability update checkstyle / guava
35. Update ExoPlayer from 2.11.6 to 2.11.8
36. Update checkstyle, OkHttp, use Kotlin JDK8 by TacoTheDank added this commit
TeamNewPipe/NewPipe@79e2bb3
from TeamNewPipe/NewPipe#3909
37. Use user agent of DownloaderImpl also in ReCapthaActivity
TeamNewPipe/NewPipe#5215
38. Fix ACRA bug reports not containing stack trace, Do not init ACRA if inside its own process
TeamNewPipe/NewPipe#3982
39. Remove deprecated calls to set Sender class to ACRA
TeamNewPipe/NewPipe#3982
40.Use SubtitlesStream#getUrl instead of getURL
TeamNewPipe/NewPipe#4120
41. Remove pbj=1 parameter from YouYube urls in recaptcha activity
TeamNewPipe/NewPipe#5208
42. Set notification style in Android 11 to MediaStyle Thanks to XiangRongLin for Limted Support for preunified refer to this commit
XiangRongLin@aa55a09
43. Click on title in background player opens video details
TeamNewPipe/NewPipe#3808
44. Add 2K and 4K to the options list for default resolution
 TeamNewPipe/NewPipe#2968
45. Fix crash when opening video in local playlist tab
Fixes TeamNewPipe/NewPipe#3887
by TeamNewPipe/NewPipe#3892 by wb9688
46.  Handle ContentNotSupportedException
TeamNewPipe/NewPipe#3300
47. [YouTube] Improve download speed by Theta-dev
TeamNewPipe/NewPipe#9948
48. Disable commenter image when disabling thumbnails loading by 4D17Y4
Fixes TeamNewPipe/NewPipe#4205
TeamNewPipe/NewPipe#4350
49. Adapt opacity of popup close button to allow touches in other apps on Android >=11
Fixes TeamNewPipe/NewPipe#6770
TeamNewPipe/NewPipe#8279
50. Better error messages for SoundCloud and YouTube unavailable contents
TeamNewPipe/NewPipe#5385
51. Mitigating long buffering on initial video playback by using custom progress-load-interval in exoplayer,
Use 16 KiB as the default progressive load interval by karyogamy
TeamNewPipe/NewPipe#7919
52. Support for opening YouTube Live URLs
TeamNewPipe/NewPipe#9725

Co-Authored-By: Tobi <17365767+tobigr@users.noreply.github.com>
Co-Authored-By: Stypox <stypox@pm.me>
Co-Authored-By: Audric V. <74829229+audricv@users.noreply.github.com>
Co-Authored-By: bopol <58657617+b0pol@users.noreply.github.com>
Co-Authored-By: Isira Seneviratne <31027858+isira-seneviratne@users.noreply.github.com>
Co-Authored-By: opusforlife2 <53176348+opusforlife2@users.noreply.github.com>
Co-Authored-By: fynngodau <fynngodau@mailbox.org>
Co-Authored-By: David Kramer <6166095+dkramer95@users.noreply.github.com>
Co-Authored-By: Ethan Budd <budde25@protonmail.com>
Co-Authored-By: triallax <triallax@tutanota.com>
Co-Authored-By: Kavin <20838718+firemasterk@users.noreply.github.com>
Co-Authored-By: Eric Xu <xeric.2002@gmail.com>
Co-Authored-By: Vincent Mazoyer <17800856+vmazoyer@users.noreply.github.com>
Co-Authored-By: Erol Gorancic <erol@gorancic.no>
Co-Authored-By: Alexander-- <1107390+alexander--@users.noreply.github.com>
Co-Authored-By: Saurav Rao <56369484+sauravrao637@users.noreply.github.com>
Co-Authored-By: Nickoriginal <85299944+nickoriginal@users.noreply.github.com>
Co-Authored-By: Ziyan Zhang <71145592+seanzzy@users.noreply.github.com>
Co-Authored-By: litetex <40789489+litetex@users.noreply.github.com>
Co-Authored-By: XiangRongLin <41164160+xiangronglin@users.noreply.github.com>
Co-Authored-By: wb9688 <46277131+wb9688@users.noreply.github.com>
Co-Authored-By: Okan25 <92695587+okan25@users.noreply.github.com>
Co-Authored-By: Michael Van Delft <1610265+hybridau@users.noreply.github.com>
Co-Authored-By: Taco <32376686+tacothedank@users.noreply.github.com>
Co-Authored-By: ThetaDev <thetadev@magenta.de>
Co-Authored-By: Aditya-Srivastav <54016427+4d17y4@users.noreply.github.com>
Co-Authored-By: John Zhen Mo <zhenmogukl@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Auto expand description