Skip to content

[MOOSE-400] Post Search Field Component#355

Merged
GeoffDusome merged 9 commits into
mainfrom
feature/MOOSE-377/post-search-field
May 29, 2026
Merged

[MOOSE-400] Post Search Field Component#355
GeoffDusome merged 9 commits into
mainfrom
feature/MOOSE-377/post-search-field

Conversation

@GeoffDusome
Copy link
Copy Markdown
Contributor

@GeoffDusome GeoffDusome commented May 12, 2026

What does this do/fix?

  • Replaced the 100-post-limit preloading approach with a new reusable PostSearchField component that queries posts on-demand via debounced REST API search, removing the ceiling on discoverable posts during manual selection.
  • Modernized the block editor code from the withSelect HOC pattern to useSelect hooks, and added taxonomy-based matching with a "Related By" selector (Latest Items, Category, or any taxonomy on the current post type) with automatic fallback to latest items when no taxonomy matches are found.
  • Extended the post card system to support a configurable display term taxonomy (instead of hardcoded Category), allowing related posts matched by any taxonomy to show the correct term label on cards.

QA

Links to relevant issues

Testing Environment

Pull request checklist

  • I've added a changelog entry for these changes.
  • I've linked to a relevant Jira issue.
  • I've captured a screenshot or screencast of the changes and linked it above. N/A - no change

@GeoffDusome GeoffDusome self-assigned this May 12, 2026
@GeoffDusome GeoffDusome changed the title [MOOSE-377] Post Search Field Component [MOOSE-400] Post Search Field Component May 12, 2026
@GeoffDusome GeoffDusome added the Launch Environment Deploys to dokku label May 12, 2026
Copy link
Copy Markdown
Collaborator

@dpellenwood dpellenwood left a comment

Choose a reason for hiding this comment

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

🍏 This is a really nice improvement, @GeoffDusome . Thank you!

Base automatically changed from feature/MOOSE-377/update-related-posts-selection to main May 26, 2026 01:01
@GeoffDusome GeoffDusome added In QA Waiting on QA and removed Needs FE Review labels May 26, 2026
@GeoffDusome GeoffDusome merged commit 673852f into main May 29, 2026
7 checks passed
@GeoffDusome GeoffDusome deleted the feature/MOOSE-377/post-search-field branch May 29, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In QA Waiting on QA Launch Environment Deploys to dokku

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants