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

Tracking Issue: Server Directive Processing #55938

Closed
5 tasks done
luisherranz opened this issue Nov 7, 2023 · 4 comments
Closed
5 tasks done

Tracking Issue: Server Directive Processing #55938

luisherranz opened this issue Nov 7, 2023 · 4 comments
Labels
[Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Tracking Issue Tactical breakdown of efforts across the codebase and/or tied to Overview issues.

Comments

@luisherranz
Copy link
Member

luisherranz commented Nov 7, 2023

We previously referred to this as "server-side rendering" (SSR), but that term is too generic, so we renamed this initiative to "server directive processing" instead.

This Tracking Issue tracks the ongoing efforts to process the Interactivity API directives in the server.

We will hook into the block rendering pipeline using a combination of render_block_data and render_block. We should also start measuring performance as early as possible to make sure that processing directives is as performant as it can be. For the processing itself, we will try to leverage the new HTML API, as it will be the most performant and safe way to do this.

Tasks

These are some of the initial tasks, although we will edit this post once we progress and discover what other things we need to do.

@luisherranz luisherranz added [Type] Tracking Issue Tactical breakdown of efforts across the codebase and/or tied to Overview issues. [Feature] Interactivity API API to add frontend interactivity to blocks. labels Nov 7, 2023
@cbravobernal
Copy link
Contributor

I added a PR refactoring how we save references to check root blocks. Also update the tests to be more unit (focused on add/delete root block variable).

#56107

@cbravobernal
Copy link
Contributor

#56107 has been merged.

I'll start working on the next list item. "Differentiate between interactive and non-interactive blocks."

@luisherranz
Copy link
Member Author

@c4rl0sbr4v0 opened this PR to start working on the final rendering:

I've also added a new item to the list:

  • Get rid of the md5 + serialize and find a better way to identify blocks.

@luisherranz
Copy link
Member Author

We're going to consolidate this one into the new public 1.0 version tracking issue:

Let's report our progress on the server directive processing there instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Tracking Issue Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Projects
None yet
Development

No branches or pull requests

2 participants