Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issue-629: PostPicker Allow developer to specify post lookup function #630

Merged
merged 6 commits into from
Apr 9, 2024

Conversation

mogmarsh
Copy link
Contributor

@mogmarsh mogmarsh commented Apr 5, 2024

Fixes Issue Number: #629

Issue URL: #629

Description

This update allows for a custom function to be provided for looking up post data to be used in the preview component, enhancing flexibility in cases where usePostById is not suitable for accessing post information.

Use Case

The enhancement caters to scenarios where a post cannot be accessed by usePostById, enabling developers to specify an alternative function for accessing the needed post data.

Copy link

changeset-bot bot commented Apr 5, 2024

🦋 Changeset detected

Latest commit: 621037b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@alleyinteractive/block-editor-tools Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mogmarsh mogmarsh marked this pull request as ready for review April 8, 2024 01:30
@mogmarsh mogmarsh requested a review from a team as a code owner April 8, 2024 01:30
Copy link

@scottnelle scottnelle left a comment

Choose a reason for hiding this comment

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

👻

@mogmarsh mogmarsh merged commit 45a95b5 into main Apr 9, 2024
5 checks passed
@mogmarsh mogmarsh deleted the feature/issue-629/allow-custom-post-lookup-function branch April 9, 2024 17:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants