-
Notifications
You must be signed in to change notification settings - Fork 83
Add undo support for Like and Announce activities #2295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
aaa4f5d
Optimize and align validate_object methods across handlers
obenland fcafb53
Add undo support for Like and Announce activities
pfefferle a47d8e5
Improve error handling in handle_undo method
pfefferle 49b6b9b
Merge branch 'trunk' into add/inbox-undo
pfefferle 7d887e2
Update includes/collection/class-inbox.php
pfefferle 2ad1a01
Update includes/collection/class-inbox.php
pfefferle 101feac
Refactor Follow activity handling in Inbox
pfefferle 167c27a
Add validation for required object attributes in Undo
pfefferle c08f808
Bump @wordpress/editor from 14.31.0 to 14.32.0 (#2283)
dependabot[bot] 62a27de
Bump @wordpress/env from 10.31.0 to 10.32.0 (#2280)
dependabot[bot] 8e7c78e
Bump @wordpress/edit-post from 8.31.0 to 8.32.0 (#2282)
dependabot[bot] 7fa5d3c
Fix Prettify workflow for pull requests from forks (#2277)
obenland 140daa8
Tests: Avoid using `runInSeparateProcess` where possible (#2275)
obenland 6a1755a
Update builds (again) (#2285)
pfefferle 83d5cbf
Reorganize test directory structure (#2289)
obenland 1cd87cd
Fix: issue #2286 – typo, improved quoting explanation, add missing i1…
Jiwoon-Kim 85922f3
Use `bp_members_get_user_url` if available for author URLs (#2292)
pfefferle 5d0a1cb
Exclude build asset files from PHP GitHub Actions triggers (#2293)
pfefferle 6da01bc
Merge branch 'trunk' into optimize-validate-object-functions
pfefferle dbb7e59
Merge branch 'optimize-validate-object-functions' into add/inbox-undo
pfefferle 79d43fa
Relax validation for Undo activity object
pfefferle 7d5b074
Fix handling of missing post in Inbox::undo and update test
pfefferle 46e6e76
Merge branch 'trunk' into add/inbox-undo
pfefferle 57ff2aa
Merge branch 'trunk' into add/inbox-undo
pfefferle 51d0165
Refactor and expand Undo activity handling and tests
pfefferle 8ffd025
Add changelog
matticbot 9528537
Update includes/collection/class-inbox.php
pfefferle 9f7d359
Refactor and simplify Undo handler tests
pfefferle c17271e
Merge branch 'trunk' into add/inbox-undo
pfefferle 9abbea6
Refactor Undo handler tests for activity-based flows
pfefferle 174a10e
Improve error message for unsupported Undo activities
pfefferle 62fbb39
Add spacing after return statements in Inbox class
pfefferle b50f690
Refactor variable name in Inbox::undo method
pfefferle da2df7f
Refactor variable names in Follow case for clarity
pfefferle 9a1022f
Update includes/collection/class-inbox.php
pfefferle a52f132
Add missing docblock spacing in trait-collection.php
pfefferle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Significance: minor | ||
| Type: changed | ||
|
|
||
| Extended inbox support for undoing Like, Create, and Announce activities, with refactored undo logic and improved activity persistence. |
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.