Repository navigation
fix(web): name the DPA in the pricing table and resync de-CH - #4148
Conversation
The compare table's compliance row read "Data-protection controls" with a dash for Community, while the same page says every product feature ships in both editions. The row now names the service Enterprise adds, the data processing agreement Ruler GmbH signs as processor, and the Enterprise card's third feature says the same, in en, de and fr. The row's message key is renamed from gdpr to dpa to match. A render test pins the row in all three locales: a DPA (AVV) label, Community not included, PII redaction included in both editions, and the card and the table naming the same service. Refs #4127
The de-CH overlay kept three sentences that #4119 rewrote in de, so Swiss readers still read that cloud AI usage comes with better prices, higher availability and usage-based billing. Each override is now its de text with ss for ß. The de FAQ answer also says KI-Anbieter instead of AI-Anbieter, as the glossary asks and the override already did. A new overlay test fails when an override differs from its de text by more than ß to ss (unless its key is listed as a regional variant with a reason), repeats de verbatim, or names a key de lacks. Refs #4127
A pre-push review found two gaps in the new tests. The pricing test checked the DPA row alone, so a product feature added later with a dash for Community would pass. It now requires the rows Community lacks to be exactly the hosting, contract, support and roadmap services, in en, de and fr. The de-CH overlay test skipped array values, which an override replaces whole, so a stale override of a list would pass. It now compares arrays too. The orphan-key case is dropped: the shared parity suite already refuses a de-CH key that en lacks. Refs #4127
|
Independent review of PR #4148 at
MEDIUM 1 is verified in the rendered pages, en/de/fr. Each Compliance row reads label → Community / Enterprise, by the cells' accessible names:
MEDIUM 2 is verified, and the guard is meaningful.
The known LOW (the German label overflowing at 640–720 px) is refuted. Neither version overflows.
Composition with current
CI at the exact head: 48 pass, 13 skipped, 0 fail. The Unit job 111232489741 ran INFO, not from this PR (filed as #4166): de-CH readers still get ß wherever the overlay has no override.
Verified correct
Environment: local only, synthetic. Evidence is in TALE-358's Merge: accepted at exact head |
Follow-ups from the post-merge review of #4119 (record 5967532672), issue #4127. This PR fixes the two live MEDIUMs. MEDIUM 3, the LOWs and the DPA question stay open on #4127, as listed below.
What changed
MEDIUM 1: the pricing table no longer says Community lacks data-protection controls. The Compliance row read "Data-protection controls", with a dash for Community. That contradicted the page's own note ("All product features are included in both Community and Enterprise"), the FAQ, and the PII-redaction row right below it. The row now names a service that only Enterprise gets: the data processing agreement Ruler GmbH signs as processor. Its preamble says the DPA, an addendum to the Service Agreement, applies whenever Tale processes personal data on the customer's behalf. A self-hosted Community install has no such agreement and no such processing. The Enterprise card's
feature3names the same service.compare.rows.dpaandenterprise.feature3(wascompare.rows.gdpr)These follow the site's existing names for the agreement: the legal tabs (DPA / AVV / DPA), the DE footer's "Auftragsverarbeitungsvertrag", the FR legal title, and the "Custom DPA" row two lines below. That row's "We also accept custom DPAs" now reads as intended. The message key is renamed from
gdprtodpa. de-CH has no override for either key.MEDIUM 2: de-CH now matches de. Three
de-CHoverrides still held sentences that #4119 rewrote inde. One of them,pricing.extras.cloudProviders.description, kept the removed "bessere Preise, höhere Verfügbarkeit und nutzungsbasierte Abrechnung" claim. The other two werehome.faq.byoModels.aandhome.faq.aiProviders.a. Each override is now itsdetext with ss for ß.de'shome.faq.byoModels.aalso said "AI-Anbieter"; it now says "KI-Anbieter", as the glossary (acronym_ai, de: KI) asks and as the override already did.New test,
services/web/lib/i18n/de-ch-overlay.test.ts. It fails when ade-CHoverride:detext by more than ß→ss, unless its key is inREGIONAL_VARIANTSwith a reason (empty today);deverbatim, since an override like that shadows laterdefixes, which is how MEDIUM 2 happened.Arrays are compared whole, because an override replaces them whole. The test also fails on an allowlist entry that no longer differs. Keys
delacks are left to the shared parity suite.New test,
services/web/app/components/blocks/pricing-compare.test.tsx. It renders the real table with the real catalogs in en, de and fr. It checks two things:enterprise.feature3equals the row label.How I verified
The defects are live on
main1ba77ed61; the branch is rebased onc97fed0b1(feat(cli): smooth self-hosted setup and recovery #4142 touches no web or i18n file). Before the change,curl https://tale.dev/pricingserved "Data-protection controls" and "Controls to support your data-protection processes". Thede-CHfile onmainstill held the stale sentence.The new test failed before the fix. On
main's catalogs it reported exactly the three stale keys, then passed after the fix.One-change mutants (7), each restored afterwards:
feature3drifts from the rowdeA read-only pre-push review (a separate subagent, not the distinct review) found no HIGH or MEDIUM. Its two test gaps are fixed in the third commit; its other LOWs are listed below.
Test suites:
bunx vitest runinservices/web: 30 files, 256 tests, all pass. That includeslib/i18n/messages.test.ts, the shared i18n parity and key suite: 24 tests, with no report-mode findings printed.bunx oxlint --type-aware(all ofservices/web) andbunx tsc --noEmit(services/web) are clean.oxfmtapplied.No browser pass. The rendered check is left to the distinct reviewer, as dispatched.
Left open (on #4127)
MEDIUM 3 is now live. feat(web): redesign marketing sites and publish localized guides #4120 (
2bd3905f0) published the comparison pages after Follow-ups from the #4119 review: the pricing table denies Community data-protection controls, a stale de-CH price claim, and single-source competitor claims #4127 was filed. All 49 EN pages plus DE/FR aredraft: false, routed at/compare/<slug>, and served by tale.dev withrobots: index,follow. The acceptance ("checked against a deep primary source before any draft is published") therefore did not hold. By this PR's scan (no external link below a site root or repo root), 27 of the 49 EN pages still cite only a homepage or repo root:The riskiest claims, checked today:
flowiseai.com/sunset, which lists 29 July 2026 code freeze, 10 August archival and 31 August EOL. These match.vibekanban.com/blog/shutdown.Whether to unpublish until sourced is asked on TALE-502.
LOW, ISO 27001 scope:
docs/en/cloud/trust-and-compliance.md:6("covers its Tale Enterprise offering and services", plus DE/FR) versus DPA §7.2 ("covering Tale Enterprise and professional services"). This is a wording decision with no test to carry it, so I didn't change it here.LOW, comparison drafts: 15 EN pages have no in-body "reviewed on…" line:
11 FR files use vous/votre/vos (this scan; the review counted 12):
These belong with MEDIUM 3.
LOW, README locale differences and the hero-only localized self-host link (
docs-url.ts, predates docs: position Tale around collaborative agent work #4119): not touched.INFO, outside
services/web:Vertrauenshaltungcalque hint still says "(ISO 27001, SOC 2)" (packages/ui/src/i18n/tests/locales/de/terminology.ts). Changing it would re-run the platform UI suites.services/platform/messages/en.yml) keeps the old positioning, which is a copy decision.Same class as MEDIUM 2, in other catalogs: a one-off scan of every de-CH overlay found:
services/platform: 75 overrides. 40 are de with ß→ss. 32 repeatdeverbatim, so they would shadow laterdefixes. 3 are real variants: Swiss «…» quotes ×2 andprojects.errors.RATE_LIMITED.services/docsandpackages/ui: clean.Making this test shared would cover them; I didn't do that in this slice.
From the pre-push review (LOW, owner or legal):
packages/marketing-uicompare table, nobreak-words). The old "Datenschutzkontrollen" was just as wide, so this is not a regression.Found by the same review, pre-existing, not in this slice:
public/files/Service_Agreement_Template.pdf, which the pricing page's Terms row links, still names a "Pro or Enterprise" plan (§2.1) and says "The Provider is ISO 27001 and SOC 2 certified" (§8). I checked this in the PDF's text. It is a legal document, so it goes to the owner with the DPA item.feature2says "Professional operation by … Ruler GmbH".de.yml×3) against the glossary's "KI".tests/manual/suites/locale.mdsays the legal tabs stay "DPA"/"TOM", but de shows "AVV" and fr shows "MTO".The DPA's SOC 2 Type II change (§7.2, §10.1, §15.4) is a legal and owner decision. Not touched.
Refs #4127. Related: #4119, #4120.