Skip to content

Add a Friend on the Frontend#516

Draft
akirk wants to merge 3 commits intomainfrom
add-friend-frontend
Draft

Add a Friend on the Frontend#516
akirk wants to merge 3 commits intomainfrom
add-friend-frontend

Conversation

@akirk
Copy link
Copy Markdown
Owner

@akirk akirk commented May 1, 2025

No description provided.

@akirk akirk added the 4.0 label May 1, 2025
@akirk akirk mentioned this pull request May 1, 2025
@akirk akirk added this to the 4.0 milestone May 1, 2025
@akirk akirk force-pushed the remove-friendship-functionality branch from d00b3be to 3548729 Compare March 5, 2026 11:56
Base automatically changed from remove-friendship-functionality to main March 20, 2026 07:55
@akirk akirk added 4.1 and removed 4.0 labels Mar 20, 2026
@akirk akirk modified the milestones: 4.0, 4.1 Mar 20, 2026
akirk added a commit that referenced this pull request Mar 26, 2026
The Add Friend page was accidentally removed in #515 (Remove Friendship
functionality). The intent was to move it to the frontend (#516), but
until that lands, the admin page is needed. All links throughout the
plugin still point to admin.php?page=add-friend, causing an access
denied error.

Restores the page as subscription-only (no friendship request flow).
@akirk akirk force-pushed the add-friend-frontend branch from ad9df47 to bd7e910 Compare March 28, 2026 06:30
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 28, 2026

Test this PR in WordPress Playground

You can test this pull request directly in WordPress Playground:

Launch WordPress Playground

This will install and activate the plugin with the changes from this PR.

akirk added 2 commits March 28, 2026 13:18
- New /friends/add-friend route with inline follow form
- AJAX feed discovery and subscription from the frontend
- Discover People section with links to Mastodon local timelines
- "Add a friend" link in the admin bar menu
- Properly subscribe to feeds with parser metadata (fixes ActivityPub)
- Retrieve posts immediately after following
- Move feed refresh from wp-admin to AJAX on the frontend
- Focus Follow button after discovery for quick Enter-to-subscribe
- Show avatar and linked success message after following
@akirk akirk force-pushed the add-friend-frontend branch from 7410c73 to 889ba9d Compare March 28, 2026 12:20
@akirk akirk force-pushed the add-friend-frontend branch from 889ba9d to ab95a70 Compare March 28, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant