Skip to content

feat(app): edit and delete own posts from context menus - #18

Merged
looechao merged 1 commit into
mainfrom
codex/post-management
Nov 8, 2026
Merged

looechao merged 1 commit into
mainfrom
codex/post-management

Conversation

@looechao

@looechao looechao commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Own posts now expose Edit and Delete in their native right-click menus, while keeping text-copy commands and avoiding an overflow button. Editing loads the original plain text and updates the body/content warning; deletion requires confirmation. Confirmed results update loaded copies, and session changes invalidate callbacks.

Stale feed responses are retried after confirmed mutations, and delayed notifications cannot restore deleted posts. Added regression coverage for failures, ownership, context menus, stale snapshots and streamed notifications, plus all eleven catalog translations.

Validation: gofmt, go vet ./..., go test -race ./..., mygo i18n check/generate, git diff --check, macOS installer build, and compact/wide light/dark screenshot inspection. Both concurrency regressions were observed failing before their fixes and passing afterward.

Load original source for editing, confirm deletion, and update loaded copies. Guard confirmed mutations against stale feed snapshots and delayed notifications, with regression coverage.
@looechao
looechao merged commit 358643e into main Nov 8, 2026
1 check passed
@looechao
looechao deleted the codex/post-management branch November 8, 2026 07:54
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.

1 participant