Skip to content

Document extension offline mode after unlock - #34

Merged
zzzoryn merged 2 commits into
v1.0.0-beta.4from
cursor/tsk-425-extension-offline
Dec 1, 2026
Merged

zzzoryn merged 2 commits into
v1.0.0-beta.4from
cursor/tsk-425-extension-offline

Conversation

@zzzoryn

@zzzoryn zzzoryn commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Document browser extension offline behavior after unlock in RU and EN (docs/, versioned_docs/version-v1.0/, and matching i18n/en trees).
  • Cover the saved-data banner, disabled server actions with the required-connection hint, empty offline header, reconnect without re-unlock, master-password server requirement, and sign-in again when the session is no longer valid.
  • Add a short unlock-page link to the new extension section; leave existing F5 and PRF content unchanged.

Verification

  • Checked against okkey PR #447 (merge 5eb47d76, head b0421e72) and extension locales on that commit.
  • npm run docs:check passed.
  • npm run build passed for ru and en.
Open in Web Open in Cursor 

Describe the post-unlock offline banner, disabled server actions,
empty offline header, reconnect without re-unlock, and link unlock
docs to the extension section in RU and EN trees.

Co-authored-by: Alexander Zorin <zzzoryn@users.noreply.github.com>

@zzzoryn zzzoryn left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Review of head 9f9dd7f against okkey dev (b9f13617; extension offline code from #447, merge 5eb47d76, unchanged on dev since), extension strings in packages/i18n/src/locales/web/{ru,en}.json and the docs rules.

Verdict: PASS, no blockers. Ready for Alex's merge decision.

Checked:

  • Base v1.0.0-beta.4, 1 commit behind (#35), no overlapping files, merges cleanly; nothing from #35 is reverted. Also merges cleanly together with #33 (both touch apps/extension.md, different blocks).
  • CI build green; mergeable clean. Local build of #33 + #34 on the current base passes (docs:check, ru + en, broken links and anchors throw); the new anchors #офлайн / #offline resolve.
  • All 4 trees identical (RU current = RU v1.0, EN current = EN v1.0).
  • Strings match the app in RU and EN: the saved-data banner, "Offline" header, "No connection to the server", "A server connection is required for this action.", "Create item".
  • Behavior matches VaultPopup.tsx / extensionOfflineVaultUi.ts: banner only when offline with saved data, Create item and other server actions disabled with the hint, vault icons as online, "Offline" header plus the no-connection text without saved data, reconnect without unlocking again, master password needs the server, invalid session leads to sign-in again.
  • No storage names, HTTP codes, task numbers or competitor names; hyphens only. Existing F5 / PRF text untouched.

Optional polish (not blocking):

  1. docs/account/unlock.md:21 reads awkwardly in Russian ("После разблокировки ... см."). Suggest: "Что показывает браузерное расширение после разблокировки без связи с сервером, см. в разделе Без соединения с сервером." EN account/unlock.md:21: "For what the browser extension shows after unlock without a server connection, see No server connection." (all 4 trees)

Not merged, not approved - merge only on Alex's word.

Point readers to what the browser extension shows after unlock
without a server connection, keeping the verified offline anchors.

Co-authored-by: Alexander Zorin <zzzoryn@users.noreply.github.com>

@zzzoryn zzzoryn left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Re-review of head e539b80 against the previous optional wording on account/unlock.md and okkey dev (b9f13617; extension offline code from #447, merge 5eb47d76, unchanged on dev since).

Verdict: PASS, no blockers. Ready for Alex's merge decision.

Checked:

  • Head matches the claimed SHA. Incremental diff from 9f9dd7f only rewrites the unlock cross-link in all 4 trees; the wording matches the earlier suggestion. Anchors #офлайн / #offline are unchanged.
  • All 4 trees identical (RU current = RU v1.0, EN current = EN v1.0). docs:check passed. Local npm run build for ru and en passed with onBrokenLinks / onBrokenAnchors set to throw. In the built v1.0 site (includeCurrentVersion: false, so v1.0 is what is served): RU unlock links to /apps/extension#офлайн, and the heading id офлайн is present on "Без соединения с сервером"; EN unlock links to /en/apps/extension#offline, and the heading id offline is present on "No server connection".
  • Still 1 commit behind base v1.0.0-beta.4 (#35), no overlapping files, merges cleanly. Also merges cleanly with #33 (both touch apps/extension.md, different blocks). CI build green (https://github.com/okkeyapp/okkey-docs/actions/runs/46732521859). mergeable clean. Remains a draft.

Not merged, not approved - merge only on Alex's word.

@zzzoryn
zzzoryn marked this pull request as ready for review December 1, 2026 20:11
@zzzoryn
zzzoryn merged commit 402606e into v1.0.0-beta.4 Dec 1, 2026
1 check passed
cursor Bot pushed a commit that referenced this pull request Dec 2, 2026
Resolve squash-merge conflicts from parent PRs #36/#37 (and #33/#34).
Keep v1.0.0-beta.4 docs content; retain #38 locale enablement changes
in docusaurus.config.ts, scripts/sync-docs-version.mjs, and README.md.

Co-authored-by: Alexander Zorin <zzzoryn@users.noreply.github.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.

2 participants