Skip to content

docs: source account implementation plan (#9, #10)#37

Merged
payown merged 1 commit into
mainfrom
docs/source-account-plan
Jun 16, 2026
Merged

docs: source account implementation plan (#9, #10)#37
payown merged 1 commit into
mainfrom
docs/source-account-plan

Conversation

@payown

@payown payown commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

The task-by-task implementation plan for #9 + #10, derived from the approved design spec. Docs only.

Refs #9, #10

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings June 16, 2026 06:12
@payown payown merged commit 068a03d into main Jun 16, 2026
@payown payown deleted the docs/source-account-plan branch June 16, 2026 06:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new, detailed implementation plan document for “source account” support, covering per-hashtag account filtering (#9) and a brand account feed (#10) derived from the approved design spec.

Changes:

  • Adds a task-by-task plan (with code snippets and test steps) for implementing account_filter + DB migration + admin UI (#9).
  • Adds a task-by-task plan for implementing get_account_posts(), plus shortcode/block display surfaces and cron warming (#10).
  • Documents proposed testing approach (PHPUnit + Brain Monkey) and sequencing across two PRs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


**Architecture:** Additive to the existing static-class plugin. #9 adds an `account_filter` column + a global `outpost_brand_account` option, with filtering applied in `OUTPOST_Feed_Fetcher::get_posts()`. #10 adds `get_account_posts()` plus a new `[outpost_account_feed]` shortcode and `outpost/account-feed` block that reuse the existing post-card markup via a shared render helper.

**Tech Stack:** WordPress 7+, PHP 8.3, `$wpdb` + `dbDelta`, `wp_remote_get`, WP-Cron, shortcodes + dynamic blocks (no JS build), PHPUnit 10 + Brain Monkey for isolated unit tests.
* @return string
*/
public static function normalize_handle( $handle ) {
return strtolower( ltrim( trim( (string) $handle ), '@' ) );
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