Skip to content

fix: distinguish legal provider requirements in preview (DEVDB-473) - #757

Merged
sybohy merged 1 commit into
prototype/devdb-mobile-comparisonfrom
fix/devdb-legal-requirements
Oct 29, 2026
Merged

sybohy merged 1 commit into
prototype/devdb-mobile-comparisonfrom
fix/devdb-legal-requirements

Conversation

@sybohy

@sybohy sybohy commented Oct 29, 2026

Copy link
Copy Markdown
Member

Salto KS's EULA appears as “Other” because the preview recognizes only three exact accessory/subscription messages. Add a Legal category and document/check icon. Allow one source message to produce multiple categories, so Salto Space's EULA plus Seam Bridge displays both Legal and Bridge. Preserve the source explanation and keep unfamiliar text under Other.

This targets the existing design-preview branch behind #755. It does not publish the draft design to production or change Ecosystem/Strapi data.

Source trace: published Strapi providers contain has_requirements, requirements and description. Ecosystem preserves these as has_requirements, requirements_md and description_md. Marketing ui/apps/marketing/src/services/strapi.ts maps provider.description, then DeviceSystemInfoView renders it under About {provider.name}. Device Connectivity comes separately from device_connectivity.report.details. The preview recovers missing legacy provider-report text from requirements_md; Other/Legal are presentation aliases, not source schema values.

Validation: typecheck, ESLint and formatting passed; 36 focused tests passed, including combined legal/bridge and unknown-text controls. Actual browser checks against the live API passed for all three variants, capability list/matrix, desktop/phone, light/dark and widths 1600/760/390/320. No overflow or JavaScript errors; August accessories and Nuki subscription labels retain their behavior.

https://linear.app/seam/issue/DEVDB-473

@sybohy
sybohy requested review from dawnho and razor-x as code owners October 29, 2026 23:50
@sybohy
sybohy merged commit 97f25d7 into prototype/devdb-mobile-comparison Oct 29, 2026
13 checks passed
@sybohy
sybohy deleted the fix/devdb-legal-requirements branch October 29, 2026 23:54

This branch was successfully deployed

1 active deployment
Preview — 193ddbea Deployed Oct 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant