Skip to content

Add top level goal explanation and clarify some point #7

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kylie-bee
Copy link

No description provided.

@kylie-bee kylie-bee requested a review from cmin764 June 9, 2023 16:23
@kylie-bee kylie-bee self-assigned this Jun 9, 2023
@kylie-bee kylie-bee added the documentation Improvements or additions to documentation label Jun 9, 2023
Copy link
Contributor

@cmin764 cmin764 left a comment

Choose a reason for hiding this comment

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

I like the fact that we put into highlight when to generate the token (that requires human intervention) and when that isn't needed anymore!

Although it was already clearly explained twice here under Robot run:
Screenshot 2023-06-15 at 11 05 53

But is good to have it stated one more time from the beginning!

Comment on lines +9 to +13
<table><td>:memo: **Note**:
This more complex authorization flow must be done once via an attended run, but once
completed, your automation using the final vault objects will be able to send and
receive emails unattendedly. We recommend you use this portal bot to complete the
initial setup within your workspace.</td></table>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<table><td>:memo: **Note**:
This more complex authorization flow must be done once via an attended run, but once
completed, your automation using the final vault objects will be able to send and
receive emails unattendedly. We recommend you use this portal bot to complete the
initial setup within your workspace.</td></table>
<table><td>:memo: Note:
This more complex authorization flow must be done once via an attended run, but once
completed, your automation using the final token from the Vault will be able to send and
receive e-mails unattendedly. We recommend you use this Portal robot to complete the
initial setup within your workspace.</td></table>
  • The Note strong emphasis
  • Small Vault reformulation

Since it was rendered like (no full Markdown support I believe):
Screenshot 2023-06-15 at 10 56 26

@@ -108,8 +115,10 @@ token itself needs an entry in the Vault so the robot can update its value in th

### Online Control Room Vault

Create a secret called `email_oauth_google/microsoft` in Control Room's Vault with the
following entries (and make sure to connect **VSCode** to the online Vault afterwards):
Create a secret called `email_oauth_[service]` (where you replace `[service]` with either
Copy link
Contributor

Choose a reason for hiding this comment

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

Good refactoring, thank you!

@@ -131,14 +140,15 @@ If you can't use the online cloud Vault:
## Robot run

Run with **VSCode** or **rcc** the following tasks in order:
1. `Init Google/Microsoft OAuth`: Opens a browser window for you to authenticate and
1. `Init Google` / `Microsoft OAuth`: Opens a browser window for you to authenticate and
Copy link
Contributor

Choose a reason for hiding this comment

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

This might create some confusion, as there's no individual Init Google or Microsoft OAuth task.

What about:

Suggested change
1. `Init Google` / `Microsoft OAuth`: Opens a browser window for you to authenticate and
1. `Init Google OAuth` / `Init Microsoft OAuth`: Opens a browser window for you to authenticate and

?

And make sure you apply the same idiom in other places like Tasks as well:
Screenshot 2023-06-15 at 11 03 27

@@ -155,7 +165,7 @@ Run with **VSCode** or **rcc** the following tasks in order:
- This step is required to be run once, requires human intervention (attended) and
once you get your token generated, it will stay valid (by refreshing itself)
indefinitely.
2. `Send Google/Microsoft Email`: Sends a test e-mail to yourself given the credentials
2. `Send Google` / `Microsoft Email`: Sends a test e-mail to yourself given the credentials
Copy link
Contributor

Choose a reason for hiding this comment

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

☝🏼 Same as on the point above, with the Init ... keywords.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants