Skip to content
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

Byline on new post isn't auto-populated if the sidebar panel is closed #287

Open
dlh01 opened this issue Mar 17, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@dlh01
Copy link
Member

dlh01 commented Mar 17, 2024

Description of the bug

The REST API request to hydrate profiles runs when the document sidebar is open and the "Summary" panel is expanded. This REST request includes the logic to automatically set the profile associated with the current user as the byline of a post (see #56). If the "Summary" panel is collapsed or the document sidebar is closed when a post is created, the REST request never runs, and the current user isn't assigned as the post's byline.

Steps To Reproduce

  1. Create a Byline Manager profile, and link it to your WordPress user account.
  2. Create and save a new post with the document sidebar open and the "Summary" panel expanded, and observe that the linked profile is set as the byline.
  3. Close the document sidebar, create and save a new post, and observe that the post has no assigned byline.

Additional Information

No response

@dlh01 dlh01 added the bug Something isn't working label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant