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

Interactivity API: Add server derived state getter handling #6394

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
34a317f
Add derived state getters to server directive processing
sirreal Apr 15, 2024
4cf43f1
Add derived state test
sirreal Apr 18, 2024
709882d
Move namespace and context stacks to instance props WIP
DAreRodz May 22, 2024
6efa23e
Adapt wp-interactive processor
DAreRodz May 22, 2024
b8aa4a4
Adapt wp-context processor
DAreRodz May 22, 2024
0b46bf6
Adapt other directive processors
DAreRodz May 22, 2024
22725e0
Fix evaluate tests
DAreRodz May 22, 2024
db4fdef
Allow state calls without namespace
DAreRodz May 22, 2024
0b2aefc
Adds the `wp_interactivity_get_context` function
DAreRodz May 22, 2024
f02cab8
Do not pass `$store` to derived state
DAreRodz May 22, 2024
1217c28
Restore relevant docs
DAreRodz May 22, 2024
fea9d41
Fix some typos
DAreRodz May 22, 2024
805c38b
Fix $context_stack type
DAreRodz May 23, 2024
0560c0a
Fix $namespace_stack type
DAreRodz May 23, 2024
1ec7374
Fix typo
DAreRodz May 23, 2024
ca8b26a
Add "doing it wrong" messages in `state`
DAreRodz May 24, 2024
4eca220
Add "doing it wrong" messages in `get_context`
DAreRodz May 24, 2024
a59c2de
Update `wp_interactivity_get_context` types
DAreRodz May 24, 2024
b8355c5
Update `wp_interactivity_state` types and tests
DAreRodz May 24, 2024
ac50a0c
Catch throwables when evaluating state callbacks
DAreRodz May 24, 2024
ce04701
Rename process_directives_args to _process_directives
DAreRodz May 28, 2024
3cbe041
Use better assert functions
DAreRodz May 31, 2024
719b726
Define state in tests
DAreRodz Jun 3, 2024
b8b324e
Fix state getter evaluation
DAreRodz Jun 3, 2024
6371d61
Fix set_internal_context_stack types
DAreRodz Jun 3, 2024
31aaf89
Set internal stacks to null outside of directive processing
DAreRodz Jun 3, 2024
b379880
Refactor tests
DAreRodz Jun 3, 2024
8e721a4
Remove trailing commas
DAreRodz Jun 3, 2024
5d04acb
Rephrase comment
DAreRodz Jun 3, 2024
e534ba8
More comment fixes
DAreRodz Jun 3, 2024
6a4a936
More comment fixes
DAreRodz Jun 3, 2024
b53cee5
Update `wp_interactivity_state` description
DAreRodz Jun 3, 2024
456becb
Improve $namespace_stack description
DAreRodz Jun 3, 2024
db37a42
Improve $context_stack description
DAreRodz Jun 3, 2024
ea617ba
Minor fixes in test case naming
DAreRodz Jun 3, 2024
a0f0e9e
Update for other changes before rebase
sirreal Jun 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading