|
151 | 151 | "id": 3, |
152 | 152 | "eval_name": "fullstack-loyalty-program", |
153 | 153 | "prompt": "We need a complete loyalty rewards program - PointsPlus from LoyaltyMax. Full stack: backend for calculating points during checkout and calling their API, plus frontend components to show point balance in the header (right before the cart icon) and redemption options on the cart page. App: pointsplus-loyalty, v1.0.0, cartridge: int_loyaltymax_points, service: loyaltymax.points.api, loyalty domain. Publisher: LoyaltyMax at https://loyaltymax.com.", |
154 | | - "expected_output": "Should create fullstack structure with both storefront-next (with target-config.json using targetId) AND cartridges/impex. UI should use TypeScript, i18n, proper tests, and useConfig() with PUBLIC__ prefix. Target config should target 'header.before.cart' slot.", |
| 154 | + "expected_output": "Should create fullstack structure with both storefront-next (with target-config.json using targetId) AND cartridges/impex. UI should use TypeScript, i18n, proper tests, and useConfig() with PUBLIC__ prefix. Target config should target 'sfcc.header.before.cart' slot.", |
155 | 155 | "files": [], |
156 | 156 | "assertions": [ |
157 | 157 | { |
|
715 | 715 | "id": 16, |
716 | 716 | "eval_name": "multi-locale-and-eslint-compliance", |
717 | 717 | "prompt": "Build a UI-only wishlist feature - HeartList from WishCo, v1.0.0. Display a heart icon on product cards that users can click to save items. I need it to work in English (US and UK) and Italian since we're expanding to Europe. Make sure the code follows all the quality standards and best practices. Publisher: WishCo at https://wishco.io. Show the wishlist icon in the header before the cart icon.", |
718 | | - "expected_output": "Should create UI-only app with all three locales (en-US, en-GB, it-IT) and follow ESLint rules (single quotes, import type, no hardcoded colors, no console statements). Target config should use header.before.cart slot.", |
| 718 | + "expected_output": "Should create UI-only app with all three locales (en-US, en-GB, it-IT) and follow ESLint rules (single quotes, import type, no hardcoded colors, no console statements). Target config should use sfcc.header.before.cart slot.", |
719 | 719 | "files": [], |
720 | 720 | "assertions": [ |
721 | 721 | { |
|
803 | 803 | "description": "JSX closing > on same line as last prop (Prettier: bracketSameLine: true)" |
804 | 804 | }, |
805 | 805 | { |
806 | | - "name": "target-config.json uses header.before.cart", |
807 | | - "description": "Uses correct targetId from Complete Target ID Reference" |
| 806 | + "name": "target-config.json uses sfcc.header.before.cart", |
| 807 | + "description": "Uses correct targetId with sfcc. prefix from Complete Target ID Reference" |
808 | 808 | } |
809 | 809 | ] |
810 | 810 | } |
|
0 commit comments