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

Split Post Author in to separate blocks #35596

Closed
3 of 4 tasks
jameskoster opened this issue Oct 13, 2021 · 8 comments
Closed
3 of 4 tasks

Split Post Author in to separate blocks #35596

jameskoster opened this issue Oct 13, 2021 · 8 comments
Labels
[Block] Post Author Affects the Post Author Block [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Design Needs design efforts. [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@jameskoster
Copy link
Contributor

jameskoster commented Oct 13, 2021

Post Author currently serves as a monolithic block for displaying all information relating to the post author:

  • Name
  • Avatar
  • Bio
  • Byline (not entirely sure where this comes from, seems to be attached to the block)

Screenshot 2021-10-13 at 15 42 42

It would be more flexible (in terms of layout composition) for this information to be split in to separate blocks. Similar to what we're doing with the comment blocks.

These blocks should probably be restricted to either the Query block, or Singular templates.

@jameskoster jameskoster added Needs Design Needs design efforts. [Feature] Full Site Editing [Block] Post Author Affects the Post Author Block labels Oct 13, 2021
@carolinan
Copy link
Contributor

The question remains whether this should be a user block, with an author variation?
There is a long discussion here #24952 (comment)

@jameskoster
Copy link
Contributor Author

In the context of template editing, something like a Post Author block simply needs to output the author of the associated post / page. It should not have options to change the author and so on. So perhaps an all-powerful user block isn't required in this case? Or at least, this would be a stripped-down variation of such a block.

It may be worth checking in with the comments loop block work (#34994) which has similar requirements.

@karmatosed
Copy link
Member

Would the idea be to offer a pattern that 'binds' all the blocks together? I say this because whilst splitting makes sense for those that want that control, it also can be very confusing to have so many tiny block pieces everywhere. I think we might want to balance both.

@jameskoster
Copy link
Contributor Author

More than one pattern, I hope!

@ghost
Copy link

ghost commented Oct 25, 2021

I want so much to see these split blocks. Additional suggestions: Author role/capability block, user meta/custom field block.

@carolinan
Copy link
Contributor

carolinan commented Jan 27, 2022

We need to start thinking about how we are going to tie the individual blocks together.

@carolinan
Copy link
Contributor

I raised a question here about if we also need a "View all posts by..." block? Where the correct link to the author archive is already included.

#24952 (comment)

@annezazu annezazu added [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") and removed [Feature] Full Site Editing labels Jul 24, 2023
@jordesign jordesign added [Type] Enhancement A suggestion for improvement. [Status] In Progress Tracking issues with work in progress labels Sep 14, 2023
@t-hamano
Copy link
Contributor

I think this issue can be closed.

Most elements of the Post Author block have already been split into separate blocks. The only Byline element doesn't exist as a block, but since it's just a p element, we should be able to use a paragraph block instead.

As a next step, #53427 has been submitted suggesting that this block be deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Author Affects the Post Author Block [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Design Needs design efforts. [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

6 participants