Commit ecd5e54
CIF-2461: refactored specific page logic to use new parameter objects (#776)
* refactored specific page logic to not mess with selectors anymore
* fix formatting
* improve coverage of SpecificPageStrategy
* make SpecificPageFilter work with CatalogPageNotFoundFilter
* fix issues caused by differences of parsable parameters from format parameters
* prevent params copy when deep linking is disabled
* add coverage for the specific page filter when resource is not a page
* revert changes to NavigationImplTest
* CIF-2081: Implement specific PDP for product categories (#784)
* extract category url_key from product urls if possible
* use a CategoryUrlFormat.Params object to carry category infromation encoded in product urls
* implement specific product page selection by category
* add product url formats that encode category url_key
* CIF-2503: category context aware product urls (#785)
* add selection of url_rewrite from category context to ProductPageWithSkuAndUrlPath
* implement prefix and partial matching of category context
* retain the category information form the url if not given otherwise
* score either the contextUrlPath and contextUrlKey
* set the category context to product urls for product list / search component
* fix examples/bundle tests
* format code
* make breadcrumb context aware
* make the context aware product urls configureable
* fix tests
* set category context before selecting specific product page
* do not copy ref to immutable objects
* update TODO comments with the jira issue
* fix category aware urls in search result
* fix tests
Co-authored-by: Mark J. Becker <herzog31@users.noreply.github.com>1 parent 5f50d5a commit ecd5e54
57 files changed
Lines changed: 2252 additions & 777 deletions
File tree
- bundles/core/src
- main/java/com/adobe/cq/commerce/core
- components
- internal
- models/v1
- breadcrumb
- common
- productlist
- services
- urlformats
- servlets
- models/retriever
- services/urls
- utils
- search/internal
- converters
- services
- test
- java/com/adobe/cq/commerce/core
- components/internal
- client
- models/v1
- breadcrumb
- productlist
- services
- urlformats
- servlets
- search/internal/services
- resources
- context
- graphql
- test-queries
- examples/bundle/src/test/java/com/adobe/cq/commerce/core/examples/servlets
- ui.apps/src/main/content/jcr_root/apps/core/cif/components/structure/page/v2/page/_cq_dialog
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
135 | | - | |
| 138 | + | |
| 139 | + | |
136 | 140 | | |
137 | 141 | | |
138 | 142 | | |
| |||
221 | 225 | | |
222 | 226 | | |
223 | 227 | | |
224 | | - | |
| 228 | + | |
| 229 | + | |
225 | 230 | | |
226 | 231 | | |
227 | 232 | | |
228 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
229 | 242 | | |
230 | 243 | | |
231 | 244 | | |
| |||
Lines changed: 42 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | | - | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
| |||
137 | 142 | | |
138 | 143 | | |
139 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
140 | 150 | | |
141 | 151 | | |
142 | 152 | | |
| |||
225 | 235 | | |
226 | 236 | | |
227 | 237 | | |
| 238 | + | |
228 | 239 | | |
229 | 240 | | |
230 | 241 | | |
| |||
278 | 289 | | |
279 | 290 | | |
280 | 291 | | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
281 | 304 | | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
291 | 318 | | |
292 | 319 | | |
293 | 320 | | |
294 | 321 | | |
295 | 322 | | |
296 | | - | |
| 323 | + | |
297 | 324 | | |
298 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
299 | 330 | | |
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | 162 | | |
168 | 163 | | |
169 | 164 | | |
| |||
185 | 180 | | |
186 | 181 | | |
187 | 182 | | |
188 | | - | |
189 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
190 | 187 | | |
191 | 188 | | |
192 | 189 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments