Skip to content

Conversation

@sherlockbeard
Copy link
Contributor

#2827 is fixed with this . the title with drop down is show only when the user is trying delete his own upload . and the dialog with text appear when user is trying to nominate someone else picture.

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

✅ A review job has been created and sent to the PullRequest network.


@sherlockbeard you can click here to see the review status or cancel the code review job.

@codecov-io
Copy link

codecov-io commented Jun 11, 2019

Codecov Report

Merging #3009 into master will decrease coverage by <.01%.
The diff coverage is 2%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #3009      +/-   ##
=========================================
- Coverage    3.74%   3.74%   -0.01%     
=========================================
  Files         249     249              
  Lines       12090   12102      +12     
  Branches     1070    1070              
=========================================
  Hits          453     453              
- Misses      11603   11615      +12     
  Partials       34      34
Impacted Files Coverage Δ
...fr/free/nrw/commons/media/MediaDetailFragment.java 0% <0%> (ø) ⬆️
.../java/fr/free/nrw/commons/delete/DeleteHelper.java 56.62% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 69e23b7...918032a. Read the comment docs.

@sherlockbeard
Copy link
Contributor Author

fixed the #2703. as they both were interdependent.
test the fix of user talk in production . because the beta mediawiki which is in debug mode doesn't support nomination. only the stable version of mediawiki supports it.
@nicolas-raoul

@sherlockbeard sherlockbeard changed the title fix the the dialog box error fix the the dialog box error and the user talk issue Jun 11, 2019
@nicolas-raoul
Copy link
Member

When you are finished testing, please provide a link to the talk page(s) that were edited by the app, thanks :-)

@sherlockbeard
Copy link
Contributor Author

sherlockbeard commented Jun 11, 2019

dialog.show();
if (isDeleted) {
dialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(false);
}
Copy link
Member

Choose a reason for hiding this comment

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

It seems that you have reformatted the code? That makes it difficult to see what has actually changed. Better send a first pull request with only the real changes, and then optionally later a second pull request with only the reformatting. Thanks! :-)

mwApi.appendEdit(editToken, userPageString + "\n",
"User_Talk:" + sessionManager.getCurrentAccount().name, summary);
"User_Talk:" + media.getCreator(), summary);

Copy link
Member

Choose a reason for hiding this comment

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

Good :-)

okButton.setEnabled(false);
} else {
okButton.setEnabled(true);
else {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same thing @nicolas-raoul pointed happened here too. Indentation of several lines are changed. Reviewers click "files changed" tab on your pull request page and see changed lines. When you made additional changes it is hard to understand for us what will be inserted into our code base if we merge this changes. Even if your additional changes are beneficial for code quality etc. please send them in separate pull request. We should be seeing only relevant lines changed under a single pull request.

This was referenced Jun 12, 2019
@sherlockbeard
Copy link
Contributor Author

@nicolas-raoul @neslihanturan i have created a new pr with all the changes requested . #3014

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.

4 participants