Skip to content

Conversation

@WoodyMats
Copy link
Contributor

@WoodyMats WoodyMats commented Jan 31, 2021

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

Due diligence

@WoodyMats
Copy link
Contributor Author

#5428 = Linked issue.

@triallax
Copy link
Contributor

triallax commented Feb 1, 2021

@WoodyMats thanks for opening a PR! Could you please not remove the template next time you open a PR?

<string name="recent">Recent</string>
<string name="chapters">Chapters</string>
<string name="no_app_to_open_intent">No app on your device can open this</string>
<string name="download_has_started">Download has started</string>
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe it should be Downloading $VIDEO_NAME instead.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't see it as needed. The issue does not ask for this.

Copy link
Contributor Author

@WoodyMats WoodyMats Feb 1, 2021

Choose a reason for hiding this comment

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

@WoodyMats thanks for opening a PR! Could you please not remove the template next time you open a PR?

Sorry! Now i just see the PR template. I modified my PR to contain the template. :)

@XiangRongLin
Copy link
Collaborator

Please don't open the PR against the release branch. It needs to be dev branch

@Stypox Stypox changed the base branch from release_0.20.9 to dev February 1, 2021 07:33
Copy link
Contributor

@triallax triallax left a comment

Choose a reason for hiding this comment

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

Since your PR was initially opened against the release branch and then changed to the development branch, you still have a commit from the release branch (the commit that changes app/build.gradle). Could you revert that commit?

@WoodyMats
Copy link
Contributor Author

Since your PR was initially opened against the release branch and then changed to the development branch, you still have a commit from the release branch (the commit that changes app/build.gradle). Could you revert that commit?

May i also add the Video name as you said in previous comment?

@triallax
Copy link
Contributor

triallax commented Feb 2, 2021

There isn't consensus on that, so you probably shouldn't add it for now.

@WoodyMats
Copy link
Contributor Author

There isn't consensus on that, so you probably shouldn't add it for now.

Okk! The requested change just done. 😃

Copy link
Collaborator

@XiangRongLin XiangRongLin left a comment

Choose a reason for hiding this comment

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

Other than that get the attention of the guy who opened the issue to test out the changes please.

Edit: and others who have shown interest in the issue being resolved

.apply();

Toast.makeText(context, getString(R.string.download_has_started),
Toast.LENGTH_LONG).show();
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is something someone with a better eye for UX can answer, but i don't think LENGTH_LONG (3.5 seconds) is necessary. LENGTH_SHORT (2 seconds) should be enough in my view.

https://stackoverflow.com/questions/7965135/what-is-the-duration-of-a-toast-length-long-and-length-short

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right. I tried both and i think that LENGTH_SHORT looks more consistent. I'm changing it now.

@triallax triallax added the GUI Issue is related to the graphical user interface label Feb 3, 2021
@WoodyMats
Copy link
Contributor Author

Good morning! 😄 I have changed the toast notification's duration from LENGTH_LONG to LENGTH_SHORT. You can check it! @mhmdanas

@XiangRongLin
Copy link
Collaborator

Other than that get the attention of the guy who opened the issue to test out the changes please.

Edit: and others who have shown interest in the issue being resolved

@WoodyMats see my last comment

@TobiGr TobiGr force-pushed the dev branch 2 times, most recently from 679bc75 to 2aeccc0 Compare March 16, 2021 08:24
@Stypox
Copy link
Member

Stypox commented Mar 18, 2021

@XiangRongLin is there anything preventing this commit from being merged?

@XiangRongLin
Copy link
Collaborator

@Stypox Codewise nothing. As i said in my last comment it would be good to let the issue opener test out the changes. To see if it solves the problem for them.

@Stypox
Copy link
Member

Stypox commented Mar 19, 2021

@illustribe could you test, please?

@illustribe
Copy link

@Stypox I've tested in version 0.20.11 and there's no toast message when one starts a download 🤷‍♂️ both while downloading audio or video...

@triallax
Copy link
Contributor

triallax commented Mar 19, 2021

@illustribe you're supposed to test this PR's APK, as this change has not been incorporated into 0.20.11. Here's the link.

@illustribe
Copy link

@Stypox it's working well! 👍

Add toast to inform the user that download started and add the right string in values.
@Stypox Stypox merged commit c7efa8c into TeamNewPipe:dev Mar 20, 2021
@Stypox
Copy link
Member

Stypox commented Mar 20, 2021

@WoodyMats @illustribe thank you!

This was referenced Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GUI Issue is related to the graphical user interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Toast notification when download started

5 participants