From b319f15092024bf6bd4f47989c6f1eeeef451f5b Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 8 Mar 2026 13:12:03 -0700 Subject: [PATCH] Fix feature legend data accuracy from storefront models - NExT v2: fix access control (Legacy, not DESFire/iCLASS), digital security (unsupported), magic (supported via T5577), illumination (supported HF LED), data sharing (1 kB), payment (unsupported) - Replace Titan with m0422a magnet: RP 22,860 G/g sensing, ~20 g lifting, Push/Pull haptics, Monopole polarity detection - xLED HF: correct illumination colors and Low prominence - All data sourced from dt-shopify-storefront model definitions Co-Authored-By: Claude Opus 4.6 --- .../src/renderer/pages/CardsAdvancedPage.tsx | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/packages/showcase/desktop/src/renderer/pages/CardsAdvancedPage.tsx b/packages/showcase/desktop/src/renderer/pages/CardsAdvancedPage.tsx index a17ed38..40c48fa 100644 --- a/packages/showcase/desktop/src/renderer/pages/CardsAdvancedPage.tsx +++ b/packages/showcase/desktop/src/renderer/pages/CardsAdvancedPage.tsx @@ -33,31 +33,32 @@ const modes: DTVariant[] = ['normal', 'emphasis', 'warning', 'success', 'other'] const ico = (C: any) => createElement(C, { style: { fontSize: '2rem' } }); // Full chip feature legend (9 features — from storefront UseCaseLegend) -// detail text simulates what the storefront shows for an NExT implant +// NExT v2: NTAGI2C (HF) + T5577 (LF) with power-harvesting LED const chipFeatures: DTFeatureItem[] = [ { key: 'smartphone', name: 'Smartphone', icon: ico(MdOutlinePhonelinkRing), state: 'supported', detail: 'Full NFC smartphone support' }, - { key: 'access_control', name: 'Access Control', icon: ico(MdOutlineVpnKey), state: 'supported', detail: 'DESFire, MIFARE Classic, iCLASS' }, - { key: 'digital_security', name: 'Digital Security', icon: ico(FaUserShield), state: 'supported', detail: 'FIDO2 / WebAuthn' }, + { key: 'access_control', name: 'Access Control', icon: ico(MdOutlineVpnKey), state: 'supported', detail: 'Legacy' }, + { key: 'digital_security', name: 'Digital Security', icon: ico(FaUserShield), state: 'unsupported', detail: 'Not Supported' }, { key: 'cryptography', name: 'Cryptography', icon: ico(LuBinary), state: 'unsupported', detail: 'Not Supported' }, - { key: 'data_sharing', name: 'Data Sharing', icon: ico(MdOutlineMobileScreenShare), state: 'supported', detail: 'NDEF records, vCard, URL' }, - { key: 'payment', name: 'Payment', icon: ico(MdOutlineCreditCard), state: 'disabled', detail: 'Apex required' }, - { key: 'magic', name: 'Magic', icon: ico(MdOutlineCopyAll), state: 'supported', detail: 'Gen2 Magic UID' }, - { key: 'Illumination', name: 'Illumination', icon: ico(MdOutlineLightbulb), state: 'unsupported', detail: 'None' }, + { key: 'data_sharing', name: 'Data Sharing', icon: ico(MdOutlineMobileScreenShare), state: 'supported', detail: '1 kB' }, + { key: 'payment', name: 'Payment', icon: ico(MdOutlineCreditCard), state: 'unsupported', detail: 'Not Supported' }, + { key: 'magic', name: 'Magic', icon: ico(MdOutlineCopyAll), state: 'supported', detail: 'Yes' }, + { key: 'Illumination', name: 'Illumination', icon: ico(MdOutlineLightbulb), state: 'supported', detail: 'HF: green, blue, white' }, { key: 'temperature', name: 'Sensors', icon: ico(MdOutlineThermostat), state: 'unsupported', detail: 'None' }, ]; // Full biomagnet feature legend (4 features — from storefront MagnetUseCaseLegend) +// m0422a: axial neodymium disc, bioresin coated const magnetFeatures: DTFeatureItem[] = [ - { key: 'sensing', name: 'Sensing', icon: ico(MdOutlineSensors), state: 'supported', detail: 'Electromagnetic field detection' }, - { key: 'lifting', name: 'Lifting', icon: ico(MdOutlineFitbit), state: 'supported', detail: '2.1 kg lifting force' }, - { key: 'haptics', name: 'Haptics', icon: ico(MdOutlineVibration), state: 'supported', detail: 'Tactile vibration feedback' }, - { key: 'polarity', name: 'Polarity Detection', icon: ico(MdOutlineExplore), state: 'unsupported', detail: 'Not Supported' }, + { key: 'sensing', name: 'Sensing', icon: ico(MdOutlineSensors), state: 'supported', detail: 'RP 22,860 G/g' }, + { key: 'lifting', name: 'Lifting', icon: ico(MdOutlineFitbit), state: 'supported', detail: '~20 g' }, + { key: 'haptics', name: 'Haptics', icon: ico(MdOutlineVibration), state: 'supported', detail: 'Push/Pull' }, + { key: 'polarity', name: 'Polarity Detection', icon: ico(MdOutlineExplore), state: 'supported', detail: 'Monopole' }, ]; // Full aesthetic feature legend (2 features — from storefront AestheticUseCaseLegend) const aestheticFeatures: DTFeatureItem[] = [ - { key: 'illumination', name: 'Illumination', icon: ico(MdLightbulbOutline), state: 'supported', detail: 'LED: Red, Green, Blue, White' }, - { key: 'prominence', name: 'Prominence', icon: ico(MdOutlineVisibility), state: 'supported', detail: 'High visibility under skin' }, + { key: 'illumination', name: 'Illumination', icon: ico(MdLightbulbOutline), state: 'supported', detail: 'HF: red, green, blue, white' }, + { key: 'prominence', name: 'Prominence', icon: ico(MdOutlineVisibility), state: 'supported', detail: 'Low' }, ]; export function CardsAdvancedPage() { @@ -132,11 +133,11 @@ export function CardsAdvancedPage() {
- +
- +
- +