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
Copy link
Copy Markdown
Contributor

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

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
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