Skip to content

docs(outlook-addon): default-off, fail-closed send, Settings view - #77

Merged
rubenhensen merged 1 commit into
mainfrom
update-outlook-addon-defaults-off-fail-closed
May 12, 2026
Merged

docs(outlook-addon): default-off, fail-closed send, Settings view#77
rubenhensen merged 1 commit into
mainfrom
update-outlook-addon-defaults-off-fail-closed

Conversation

@dobby-coder

@dobby-coder dobby-coder Bot commented May 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates docs/repos/postguard-outlook-addon.md after postguard-outlook-addon#67 and postguard-outlook-addon#63.

  • New Encryption defaults and per-draft control section: opt-in default, pg.encryptionEnabled mailbox-wide setting, x-pg-encrypt-on-send header, persistent compose banner, fail-closed/fail-open contract via committedToEncrypt.
  • New Settings view section covering the gear icon, both roaming toggles, and Yivi sign-attribute prefills.
  • Architecture bullet rewritten to mention OnNewMessageCompose alongside OnMessageSend and src/lib/settings.ts.
  • Per-platform behaviour table reworked around the new promptBeforeOpen: true default and the pg.allowOptimisticDialog opt-in.
  • displayDialogAsync code excerpt replaced with the new optimistic-vs-prompt block, pinned to current master HEAD (2fcc56e).
  • Dispatch-loop snippet repinned to the same commit and trimmed to match the current file.

Closes #76.

Verification

  • npm run docs:build — passes (~5s).
  • dist/repos/postguard-outlook-addon.html contains all new identifiers: OnNewMessageCompose, x-pg-encrypt-on-send, pg.encryptionEnabled, pg.allowOptimisticDialog, committedToEncrypt, "Settings view".
  • Source URLs return HTTP 200 at the pinned hash.

Reviewer quickstart

git fetch origin && git checkout update-outlook-addon-defaults-off-fail-closed && npm install && npm run docs:dev

Then open /repos/postguard-outlook-addon in the preview and check the Encryption defaults and per-draft control, Settings view, and Per-platform behaviour sections.

Reflects postguard-outlook-addon PRs #63 and #67. Old defaults
(opt-out + optimistic displayDialogAsync) are gone; new model:

- New "Encryption defaults and per-draft control" section covering
  pg.encryptionEnabled (mailbox-wide default off), the
  x-pg-encrypt-on-send header, the persistent compose banner, and the
  fail-closed/fail-open contract.
- New "Settings view" section for the gear icon, pg.encryptionEnabled,
  pg.allowOptimisticDialog, and the sign-attribute prefills.
- Architecture section mentions OnNewMessageCompose alongside
  OnMessageSend and the new settings.ts helper.
- Per-platform behaviour table rewritten around the new
  prompt-by-default open path and the optimistic opt-in.
- displayDialogAsync code excerpt replaced with the new
  optimistic-vs-prompt logic, pinned to current master HEAD.

Closes #76
@rubenhensen
rubenhensen merged commit 95f1ad4 into main May 12, 2026
1 check passed
@rubenhensen
rubenhensen deleted the update-outlook-addon-defaults-off-fail-closed branch May 12, 2026 07:25
rubenhensen pushed a commit that referenced this pull request Jul 10, 2026
* docs: add pg-node example page (from encryption4all/postguard-examples#46)

New Node.js example added in postguard-examples. Adds the page, sidebar
entry, and overview row.

* docs: cover Node 20.3+/Bun/Deno + notify validator (from encryption4all/postguard-js#76, #77)

- Add Server-side usage section to postguard-js page
- Note upfront YiviSessionError for non-DOM runtimes
- Mention validateUploadOptions and the silent-notify console.info

* docs: document NetworkException.Url (from encryption4all/postguard-dotnet#31)

* docs: document X-POSTGUARD-CLIENT-VERSION header (from encryption4all/postguard-js#90, postguard-dotnet#33)

* docs: bump .NET SDK prerequisite to 10.0+ (from encryption4all/postguard-dotnet#35)

The postguard-dotnet SDK and the pg-dotnet example both multi-target
net8.0;net10.0, so a .NET 10 SDK is required to compile the highest
target. Verified against E4A.PostGuard.csproj and the example's
PostGuard.Example.csproj.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* docs: document Outlook read dialog for decrypted email (from encryption4all/postguard-outlook-addon#110)

Read-mode decryption now shows the plaintext message in a larger popup
read dialog (src/read-dialog/, manifest ReadDialog.Url) with the
taskpane inline render kept only as a fallback. Updates the architecture
section and the read-mode flow note.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* docs: document PKG /statusevents SSE proxy endpoint (from encryption4all/postguard#200)

* docs: note websiteUrl https validation in createEnvelope (from encryption4all/postguard-js#95)

---------

Co-authored-by: dobby-yivi-agent[bot] <275734547+dobby-yivi-agent[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update outlook-addon docs: default-off, fail-closed, new Settings view (postguard-outlook-addon#63, #67)

1 participant