feat(ux): implement sprint 11 user experience module

This commit is contained in:
sdarbinyan
2026-07-09 01:13:54 +04:00
parent 1a8f916942
commit 92e1bdaff8
59 changed files with 2062 additions and 25 deletions

View File

@@ -282,6 +282,33 @@
"enabled": true
}
},
"userExperience": {
"wishlist": {
"enabled": true,
"headerBadgeEnabled": true
},
"compare": {
"enabled": true,
"maxItems": 4,
"hideIdenticalDefault": false,
"highlightDifferencesDefault": true
},
"recentlyViewed": {
"enabled": true,
"maxItems": 12,
"widgetEnabled": true
},
"share": {
"enabled": true
},
"continueBrowsing": {
"enabled": true
},
"savedSearches": {
"enabled": true,
"maxItems": 10
}
},
"widgetRegistry": {
"manifestUrl": "/assets/mock/bootstrap/widget-manifest.json"
},

View File

@@ -125,6 +125,27 @@
},
"enabled": true
},
{
"type": "recently-viewed",
"version": "1.0.0",
"componentKey": "recently-viewed",
"supportedLayouts": ["stack", "grid", "carousel"],
"supportedDataSources": ["future"],
"settingsSchema": {
"type": "object",
"properties": {
"title": { "type": "string" },
"maxItems": { "type": "number" },
"showClear": { "type": "boolean" }
}
},
"defaultSettings": {
"title": "Recently Viewed",
"maxItems": 8,
"showClear": false
},
"enabled": true
},
{
"type": "banner",
"version": "1.0.0",