Repository navigation
feat(app): edit and delete own posts from context menus - #18
Merged
Merged
Conversation
Load original source for editing, confirm deletion, and update loaded copies. Guard confirmed mutations against stale feed snapshots and delayed notifications, with regression coverage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.