-
Notifications
You must be signed in to change notification settings - Fork 11
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
UI for password encrypted message functionality #1620
Comments
Actually, it's an interesting issue :). It seems we have a not simple logic here. |
Before starting to work on this issue need to understand what exactly we do here. As I understand we have the following:
and attachments( Just a simplified version what I see. @tomholub Please correct me if needed |
We also should take into account that enterprise customers may have their own FES instance. |
I wanted to do this on one platform first (iOS in this case) so that we can see it in action and settle the exact UI before doing it on a second platform (Android). That's why I tried to assign you non-ui tasks here and assign Roman UI tasks there, so I don't have to be potentially wrong twice per platform for all tasks (because I'm not too sure until I see it). |
we call it a password in this case to differentiate, though it's true it doesn't sound that different |
This is outside of scope of this issue, so we don't have to discuss it in detail yet. But basically
|
@sosnovsky you can have a look at the sketches above in case it helps you with FlowCrypt/flowcrypt-ios#1221 |
Looks good, I currently have more basic UI implementation: |
I think the screenshots on both platforms are appropriate (for the level of implementation / features already available for that platform). So it looks on a good track. I think on iOS, above the password, we could add another paragraph of text about the user being responsible to share the password. Per the Android screenshot "You are responsible ..." |
I've provided only UI (after checking the web version.). Just sketches without logic. I have not added logic yet :)
It depends on our needs. For example, we can show |
Yes. And do UI is not bad. So you can use this. |
The float sounds good. |
@DenBond7 does Android have any database entry that indicates if FES is available for that user? |
We store OrgRules. If it contains such info (some entry that indicates FES) my answer - yes. |
@tomholub Can we fetch edit: when |
@tomholub It seems FlowCrypt/flowcrypt-ios#1221 is already closed.
I can to come back to this issue. How can I test the last changes for iOS? Would you like to share any instruction for UI for this issue? |
Your UI example, with my comments here #1620 (comment) looks good to me for Android. |
I'll build you the iOS app so you can test it too. |
…ord" button. Refactored code.| #1620
@tomholub I think UI is done. Please look at the video. Maybe you would like to change something Screencast.2022-01-12.10.43.12.mp4 |
This is good. Please, for now, hide the strength evaluation - there will be different rules for evaluating strength of passwords (as opposed to pass phrases). Else this looks great. |
* Moved CreateMessageFragment to fragment package.| #1620 * Added a template of ProvidePasswordToProtectMsgDialogFragment.| #1620 * CreateMessageFragment. Migrated to use binding.| #1620 * CreateMessageActivity. Refactoring and improving the code.| #1620 * Refactored code.| #1620 * CreateMessageFragment. Modified logic to show the "Protect with Password" button. Refactored code.| #1620 * Refactored code.| #1620 * Added IllegalTextForStrengthMeasuring. Refactored code.| #1620 * Added a workable realization to support password-protected messages.| #1620 * Enabled password-protected messages only for "flowcrypt.com" domain.| #1620 * Fixed some bugs. Refactored code.| #1620 * Fixed some more bugs.| #1620 * Reverted back some changes in CheckPassphraseStrengthFragment. Refactored code.| #1620 * Added missing russian translation.| #1620 * Fix translation.| #1620 * Simplified some code.| #1620 * Fixed lint warnings.| #1620 * Fixed russian translation.| #1620 * Fixed some existing tests.| #1620 * Fixed CheckPassphraseStrengthFragmentTest.| #1620 * Added CreateMessageFragmentPasswordProtectedTest.| #1620 * Modifed logic in BetterInternetAddressTest to fix tests that use "localhost" as an email domain.| #1620 * Fixed "com.project.starter:easylauncher" usage.| #1620 * Modified tests. Fixed rules ordering. Refactored code.| #1620
See FlowCrypt/flowcrypt-ios#1221
The text was updated successfully, but these errors were encountered: