Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Use navigate function inside filter blocks #8524

Closed
wants to merge 49 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
5067e7a
Update Interactivity API
DAreRodz Jan 27, 2023
92d0d9d
Change `wp` prefixes to `woo`
DAreRodz Jan 27, 2023
0199ade
Use `woo` prefix for the directives runtime bundle
DAreRodz Jan 27, 2023
ceedc72
Merge branch 'trunk' into update/interactivity-api-prefixes
DAreRodz Feb 10, 2023
6277a3c
Update Interactivity API runtime
DAreRodz Feb 10, 2023
423c858
Hardcode php from interactivity API
DAreRodz Feb 14, 2023
9af6478
Temporarily add gutenberg plugin as dependency
DAreRodz Feb 14, 2023
36bd2c5
Merge branch 'trunk' into update/interactivity-api-store-ssr
DAreRodz Feb 20, 2023
78b7db2
Exclude Interactivity API files from phpcs checks
DAreRodz Feb 20, 2023
92f5a85
Update Interactivity API js files
DAreRodz Feb 20, 2023
0c11440
Update Interactivity API php files
DAreRodz Feb 21, 2023
97f39c1
Remove gutenberg from wp-env plugins
DAreRodz Feb 21, 2023
28dd2ad
Fix registered runtime paths
DAreRodz Feb 14, 2023
5453d6b
Fix prefixes when getting attributes in directives
DAreRodz Feb 14, 2023
1874a4c
Fix directive prefix in constants
DAreRodz Feb 21, 2023
e3df31b
Merge branch 'trunk' into update/interactivity-api-store-ssr
DAreRodz Feb 21, 2023
0cd9a23
Avoid a Fatal error when importing `wp-html`
DAreRodz Feb 21, 2023
68b0a66
Remove TODO comments from Interactivity API files
DAreRodz Feb 21, 2023
17fe079
Merge branch 'trunk' into update/interactivity-api-store-ssr
DAreRodz Feb 21, 2023
fa0ef8a
Merge branch 'trunk' into update/interactivity-api-store-ssr
DAreRodz Feb 22, 2023
92c93af
Merge branch 'trunk' into update/interactivity-api-store-ssr
DAreRodz Feb 23, 2023
0340765
Rename interactivity bundles
DAreRodz Feb 23, 2023
8334491
Output interactivity bundle as a global
DAreRodz Feb 23, 2023
1b4e78e
Export `navigate` from interactivity library
DAreRodz Feb 23, 2023
d1e714e
Use `navigate` inside filter's `changeUrl`
DAreRodz Feb 23, 2023
15cde85
Fixed typo in script dependency
DAreRodz Feb 23, 2023
283b593
Fix interactivity library name
DAreRodz Feb 23, 2023
bd4462c
Enable client-side navigation
DAreRodz Feb 23, 2023
80c8058
Merge branch 'trunk' into try/filters-with-client-side-navigation
DAreRodz Mar 13, 2023
1de0768
Add JS of `show`, `ignore` and `text` directives
DAreRodz Mar 13, 2023
60fda04
Remove tag directives
DAreRodz Mar 13, 2023
3879f80
Remove hydration to interactivity
DAreRodz Mar 13, 2023
ea15fc1
Merge branch 'trunk' into try/filters-with-client-side-navigation
DAreRodz Mar 13, 2023
d92c02d
Fix runtime script handles after merge
DAreRodz Mar 14, 2023
cee481b
Check if CSN is enabled before calling `navigate`
DAreRodz Mar 14, 2023
112567a
Merge branch 'trunk' into try/filters-with-client-side-navigation
DAreRodz Mar 14, 2023
92b9075
Fix path in require
DAreRodz Mar 14, 2023
7436e18
Fix runtime bundle names
DAreRodz Mar 14, 2023
521f3d6
Compute CSN support at startup
DAreRodz Mar 15, 2023
700f4d6
Add `ignore` directive to Filter blocks from PHP
DAreRodz Mar 15, 2023
341af0a
Check if CSN is enabled before updating filters
DAreRodz Mar 23, 2023
28cdb85
Refactor `changeUrl` to not import the Interactivity API
DAreRodz Mar 24, 2023
dea5d59
Improve comment
DAreRodz Mar 24, 2023
03325dc
Merge branch 'trunk' into try/filters-with-client-side-navigation
DAreRodz Mar 24, 2023
242c3c0
Add __experimental prefix to Interactivity module
DAreRodz Mar 27, 2023
63a2ced
Revert CSN changes in all filters except Active Filters
DAreRodz Mar 27, 2023
d34eb84
Track `popstate` events in Price Filter
DAreRodz Mar 27, 2023
daf3ea1
Remove effect to update Price Filter on popstate
DAreRodz Mar 27, 2023
8b0d600
Add `replace` option for `navigate`
DAreRodz Mar 27, 2023
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
Prev Previous commit
Next Next commit
Fix directive prefix in constants
  • Loading branch information
DAreRodz committed Feb 21, 2023
commit 1874a4c427b6637fee2030ad57bbdd19e34c876a
2 changes: 1 addition & 1 deletion assets/js/interactivity/constants.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const csnMetaTagItemprop = 'woo-client-side-navigation';
export const componentPrefix = 'woo-';
export const directivePrefix = 'woo-';
export const directivePrefix = 'data-woo-';