zulip-android-legacy icon indicating copy to clipboard operation
zulip-android-legacy copied to clipboard

Fixes #433, Fixed disappearing ProgressDialog on touch

Open DravitLochan opened this issue 8 years ago • 12 comments

Fix:433

Summary of changes

While connecting to server, refreshing, deleting a db or at the time of logout, Progress dialog box won't be dismissed by taping outside the box.

  • [x] Code is formatted.

  • [x] Run the lint tests with ./gradlew lintDebug and make sure BUILD is SUCCESSFUL

  • [x] If new feature is implemeted then it is compatible with Night theme too.

  • [x] Commit messages are well-written.

DravitLochan avatar Mar 05 '17 09:03 DravitLochan

Automated message from Dropbox CLA bot

@DravitLochan, it looks like you've already signed the Dropbox CLA. Thanks!

smarx avatar Mar 05 '17 09:03 smarx

Again you are calling setCancelable before showWithMessage!

kunall17 avatar Mar 06 '17 13:03 kunall17

Ya. It's working fine.

DravitLochan avatar Mar 06 '17 13:03 DravitLochan

@saketkumar95 is there anything to change in this pr?

DravitLochan avatar Mar 07 '17 13:03 DravitLochan

@kunall17 ???

DravitLochan avatar Mar 11 '17 11:03 DravitLochan

@DravitLochan Hi and thanks for your pull request. I am not an Android developer so I can't really review your code, but I can help you with the style of your PR to make it easier for others to review!

Here's a guide to help you write commit messages that are more consistent with our style, which makes it easier for us in the future -- when someone's trying to solve a new problem, if commit messages are all in the same format, it's easier to skim them in logs and quickly understand what's happening.

Here are some tips on tidying your commit history, including changing your commit messages. And when you update your code or your commit message, you can update your pull request and the changes will appear here. :)

brainwane avatar Mar 11 '17 11:03 brainwane

Thanks @brainwane I have once again gone through the link you've attached. But I think I have followed them. please correct me if I am wrong... thanks once again!

DravitLochan avatar Mar 11 '17 11:03 DravitLochan

@DravitLochan Please take another look at https://zulip.readthedocs.io/en/latest/version-control.html#commit-messages . Zulip’s preferred style for this is to have the final paragraph of the commit message have the issue number with "Fixes:" before it, as in:

Fixes: #nnn.

Also, please use complete sentences, with proper punctuation, spacing, capitalization, etc. We have free English tutoring sessions in the next few weeks and days that can help you with grammar more generally! Here your commit message could be something like:

Fix disappearing ProgressDialog on touch.

When the user selects "refresh" from the overflow menu, the progress dialog should only appear if the user is connected to the network.

Fixes: #433.

If anything in my suggested commit message is inaccurate then of course please fix the inaccuracy in your revised message. :) Thanks.

brainwane avatar Mar 12 '17 02:03 brainwane

@brainwane I think you caught something wrong. The purpose ain't that. {When the user selects "refresh" from the overflow menu, the progress dialog should only appear if the user is connected to the network.}

@kunall17 can you please make the changes so that I can get to know where I am doing wrong?

DravitLochan avatar Mar 13 '17 09:03 DravitLochan

@DravitLochan, your pull request has developed a merge conflict! Please review the most recent commit (f791888) for conflicting changes and resolve your pull request's merge conflicts.

zulipbot avatar May 04 '17 18:05 zulipbot

@DravitLochan if I've misunderstood the purpose of your commit, then please explain the purpose so someone can clearly understand it. Thanks! :)

brainwane avatar May 04 '17 19:05 brainwane

I think functionality has been added properly. It's just the commit messages. That would be great help if someone from mentors can make the changes and guide me. :)

DravitLochan avatar May 08 '17 16:05 DravitLochan