Skip to content

Document permanent delete and empty trash for Recently deleted - #33

Merged
zzzoryn merged 2 commits into
v1.0.0-beta.4from
cursor/tsk-352-permanent-delete
Dec 1, 2026
Merged

zzzoryn merged 2 commits into
v1.0.0-beta.4from
cursor/tsk-352-permanent-delete

Conversation

@zzzoryn

@zzzoryn zzzoryn commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents web-app permanent deletion from Recently deleted: single item, bulk selection, and Empty trash, including confirmations, delete permission, re-auth, network errors, retention wording, and the note that the browser extension has no permanent delete or empty trash.

Verified against okkey dev after merged PR #381 (squash 969565c1).

Docs changed (all 4 trees)

  • items/actions.md - permissions, bulk, confirmations, re-auth, network error
  • items/lists.md - Recently deleted retention / permanent delete
  • workspace/index.md - Deleted items retention
  • apps/extension.md - web-only permanent delete / empty trash

Checks

  • npm run docs:check - pass
  • npm run build (ru + en) - pass
Open in Web Open in Cursor 

Cover web-only permanent delete, bulk purge, empty trash, confirmations,
re-auth, network errors, and retention wording across RU/EN current and
version-v1.0 docs 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 793b440 against okkey dev (b9f13617), web locales packages/i18n/src/locales/web/{ru,en}.json, the list/card code (ItemsListLeftPane.tsx, ItemDetailCard.tsx, ItemDetailTopBar.tsx, PurgeItemsConfirmPopup.tsx) and the docs rules.

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

Checked:

  • Base v1.0.0-beta.4, 1 commit behind (docs: first-run setup wizard #35), no overlapping files, merges cleanly; nothing from #35 is reverted.
  • CI build green; mergeable clean. Local build of this PR together with #34 on top of the current base passes (docs:check, ru + en, broken links and anchors throw).
  • All 4 trees changed identically (RU current = RU v1.0, EN current = EN v1.0).
  • Every UI string matches the app on dev in RU and EN: "Delete permanently", "Empty trash", both dialog titles, the single/multiple/empty-trash texts (including the 01.12 wording "that you can restore"), the error text.
  • Behavior matches the code: the command only on deleted rows with delete permission (row menu, card menu, bulk), Empty trash only in the Recently deleted filter with at least one allowed item, the deletion zone re-auth runs after confirmation, the dialog stays open on error, attachments are removed, not available in the extension.
  • No internal details, task numbers or competitor names; hyphens only.

Optional polish (not blocking):

  1. docs/items/actions.md:34 (RU, all 4 trees): the empty-trash dialog text is the only quoted UI text without quotes. Suggest „...“ around it so the nested «Недавно удалённые» still reads well.
  2. docs/items/actions.md:30 / EN items/actions.md:30: "Автоочистка ... остаётся" / "stays in place" reads like a changelog. Suggest describing the state: "Записи из корзины автоматически удаляются по сроку «Хранение удалённых записей» (по умолчанию 30 дней)." / "Items in the trash are removed automatically after "Deleted items retention" (default 30 days)."
  3. docs/items/actions.md:32 / EN :32: in the app "Empty trash" is a button at the bottom of the list and is hidden while selection mode is on. Could say "внизу списка" / "at the bottom of the list".
  4. docs/workspace/index.md:59 / EN :59: "в веб-приложении запись можно восстановить или удалить безвозвратно" suggests restore is web-only, but the extension also restores. Suggest: "Пока срок не вышел, запись можно восстановить, а в веб-приложении - и удалить безвозвратно, в том числе через «Очистить корзину»."

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

Quote the empty trash dialog body, clarify auto-cleanup retention
wording, note Empty trash position and selection-mode hide, and
separate restore vs web-only permanent delete in workspace settings.

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 fd1f172 (optional polish from the review of 793b440) against okkey dev (b9f13617).

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

All four optional items are in:

  1. docs/items/actions.md:34 (all 4 trees): the empty-trash dialog text is now quoted; the wording matches web.purgeItemsConfirmPopup.emptyTrashDescription in packages/i18n/src/locales/web/{ru,en}.json.
  2. :30: retention is described as the current rule, with the setting name «Хранение удалённых записей» / "Deleted items retention".
  3. :32: "Empty trash" is at the bottom of the list and hidden in selection mode, matching ItemsListLeftPane.tsx:1605,1705-1722 (selectionMode vs filter === "recently_deleted" && purgeableTrashRows.length > 0).
  4. docs/workspace/index.md:59: restore is no longer described as web-only; permanent delete and "Empty trash" stay web-app-only.

Also checked:

  • Head matches the stated SHA. Base v1.0.0-beta.4, still 1 commit behind (#35), no overlapping files, merges cleanly.
  • CI build green (https://github.com/okkeyapp/okkey-docs/actions/runs/46732435837); mergeable clean; still a draft.
  • Local docs:check and npm run build (ru + en) pass. All 4 trees are identical.
  • UI strings still match the app on dev. No regressions, no competitor names, no internal trackers, hyphens only.

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

@zzzoryn
zzzoryn marked this pull request as ready for review December 1, 2026 20:10
@zzzoryn
zzzoryn merged commit fac85d6 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