-
Notifications
You must be signed in to change notification settings - Fork 6
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
Hint functionality for user password #18
Conversation
Hi @Bhawna-Ad , as this is a UI change can you also update PR with the screenshot of your change? and I see that your fork dont have latest master changes.. so this is what you have to do: |
Sure, I will do the needful. Do I have to upload the screenshot here in this thread only? And also it is showing "some checks were not successful" so how do I resolve this? |
Alright, thanks! So after merging do I need to create another draft pull request?😅 |
no you only have to commit and push. It will automatically reflect here |
I have updated the Pull request with the image of the changes in the UI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed first set of changes.
few minor changes to do.. functionality wise everything is working as it should be 💯
Hey there ! |
I am glad to hear that! I have made the required changes now should I commit and push them to this PR only? |
yes once you make a PR, you only have to push to that branch and it will automatically reflect here |
The PR is updated. Please suggest if there are any other changes to be made and how to proceed further. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If done by mistake then you can undo it. or let me know if there is a reason behind it.
Next instead of validation, you can pick up to show this hint in login screen. Here I want you to be creative on how to show hint. always show it? show it on click of button? or show it on click of a text "show hint"? whatever looks good. I am more inclined toward showing it on click of a text. |
Well yes I like the idea of showing hint on clicking the text. I would like to implement that. |
yeah Room is very famous and also very easy to learn. not much will be required as part of this issue. next I will tell you how to encrypt the hint before adding in db as you are not doing it. and then later with room how to decrypt and get that hint in login view model |
Okay! I will update you once I am done with that. |
@Bhawna-Ad |
Yes I have updated my branch and now it is even with your master branch |
app/src/main/java/com/andryoga/safebox/data/db/secureDao/UserDetailsDaoSecure.kt
Outdated
Show resolved
Hide resolved
…eature/add-hint � Conflicts: � app/src/main/java/com/andryoga/safebox/ui/common/Utils.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
call dao.getHint method
app/src/main/java/com/andryoga/safebox/data/db/secureDao/UserDetailsDaoSecure.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make Hint optional everywhere
app/src/main/java/com/andryoga/safebox/data/db/dao/UserDetailsDao.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/andryoga/safebox/data/db/secureDao/UserDetailsDaoSecure.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/andryoga/safebox/data/repository/UserDetailsRepositoryImpl.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/andryoga/safebox/data/repository/interfaces/UserDetailsRepository.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!! operator will throw Null pointer exception if hint is null
app/src/main/java/com/andryoga/safebox/data/db/secureDao/UserDetailsDaoSecure.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/andryoga/safebox/data/repository/UserDetailsRepositoryImpl.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great !
…eature/add-hint � Conflicts: � app/src/main/java/com/andryoga/safebox/ui/common/Utils.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
excellent work with implementing LCS.
but functionality wise there are many issues, see my comments
app/src/main/java/com/andryoga/safebox/ui/view/chooseMasterPswrd/ChooseMasterPswrdFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/andryoga/safebox/ui/view/chooseMasterPswrd/ChooseMasterPswrdFragment.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hint is overriding pswrd validation rules !
app/src/main/java/com/andryoga/safebox/ui/view/chooseMasterPswrd/ChooseMasterPswrdFragment.kt
Outdated
Show resolved
Hide resolved
Signed-off-by: Nitin Verma <[email protected]>
Signed-off-by: Nitin Verma <[email protected]>
Awesome work again.. Thanks for your contribution :) |
It was an awesome experience working on this project.🙌 |
Description
Made the following changes :
Working on #3
Type of change
New feature
Code quality checklist
Just put an x in the [] where applicable.
gradlew lint
and found no new error related to my code in the report.Analyze>Inspect Code
and found no new error related to my code.