Skip to content

Issue 1191 display basic msg details#1197

Merged
DenBond7 merged 14 commits intomasterfrom
issue_1191_display_basic_msg_details
Apr 28, 2021
Merged

Issue 1191 display basic msg details#1197
DenBond7 merged 14 commits intomasterfrom
issue_1191_display_basic_msg_details

Conversation

@DenBond7
Copy link
Collaborator

@DenBond7 DenBond7 commented Apr 26, 2021

This PR added displaying basic msg info, added versions support for flowcrypt-email-server

close #1191
close #1151


Tests (delete all except exactly one):

  • Tests added or updated

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities

@DenBond7 DenBond7 added the PR submitted PR is submitted for this issue label Apr 26, 2021
@DenBond7 DenBond7 added this to the 1.1.8 milestone Apr 26, 2021
@DenBond7 DenBond7 marked this pull request as draft April 26, 2021 19:36
IvanPizhenko
IvanPizhenko previously approved these changes Apr 26, 2021
Copy link
Contributor

@IvanPizhenko IvanPizhenko left a comment

Choose a reason for hiding this comment

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

Small comment here

}
}

fun InternetAddress.getPersonalElseEmail(): CharSequence {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe val InternetAddress.personalOrEmail = get() ...?

@@ -0,0 +1,53 @@
{
"encryptionType": "STANDARD",
"inlineSubject": "Standard message - plane text",
Copy link
Contributor

Choose a reason for hiding this comment

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

Tiny nitpick - I believe 'plane text' should be 'plain text', if you mean human readable characters, or 'plaintext' if you mean unencrypted text.

If it's intentional then I'm sorry for my misunderstanding, otherwise if it's a misspelling then I can add a commit changing it.

Copy link
Contributor

Choose a reason for hiding this comment

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

taking into account file name that is really likely should have been "plain text" or even "plaintext" (as a single word).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@seisvelas

'plaintext' if you mean unencrypted text.

That's what I meant

I can add a commit changing it.

Please don't worry. I will do it myself. Thank you for noticing

@DenBond7 DenBond7 marked this pull request as ready for review April 27, 2021 14:02
Copy link
Contributor

@seisvelas seisvelas left a comment

Choose a reason for hiding this comment

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

Yay! As a user of the Android app, I'm really happy about this functionality being added. I tested this functionality on my phone, here's what it looks like:

Screenshot_20210427-232818

Great.

Here's how I'm testing this btw:

export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk
git checkout [whatever branch I'm testing]
./gradlew assembleDebug
adb install FlowCrypt/build/outputs/apk/consumer/debug/FlowCrypt-consumer-debug.apk

Then I just open it in my phone. Which is pretty convenient. Is that the normal, correct way to go about this when I need to manually test the app? Maybe I've been doing it wrong this whole time, lol.

@DenBond7 DenBond7 merged commit b5680b5 into master Apr 28, 2021
@DenBond7 DenBond7 deleted the issue_1191_display_basic_msg_details branch April 28, 2021 06:12
@DenBond7
Copy link
Collaborator Author

@seisvelas

Is that the normal, correct way to go about this when I need to manually test the app?

You do all things correctly. I just can recommend you use a little simpler solution

export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk
git checkout [whatever branch I'm testing]
- ./gradlew assembleDebug
- adb install FlowCrypt/build/outputs/apk/consumer/debug/FlowCrypt-consumer-debug.apk
+ ./gradlew clean :FlowCrypt:installConsumerDebug

@DenBond7 DenBond7 mentioned this pull request May 19, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR submitted PR is submitted for this issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display basic message information Add versions support for 'flowcrypt-email-server'

3 participants