feat(ui/ingest): localize the ODCS recipe form and add the contract urn and physical binding options

AC
1h ago
+1375-76

The ODCS ingestion form had hard-coded English strings and no way to set the options added earlier in this stack.

  • Localized form: every label, helper, tooltip, select option, placeholder and validator message in the ODCS recipe form now goes through i18next, following the sqlmesh, hightouch and microstrategy forms. There are 72 odcs.* keys in ingestion.sourceBuilder.json, translated in all 14 locales, with product names left as they are.
  • New advanced fields:
    • Data Contract URN (data_contract_urn): keyed on the dataset (default) or on the ODCS id.
    • Data Contract URN Prefix (data_contract_urn_prefix): shown only for the id mode.
    • Bind to Physical Dataset (bind_to_physical_dataset). The form rejects it unless the id mode is chosen and Emit Logical Parent Link is on, matching the connector's own validation.
  • Not in the form: classification_glossary_term_mapping and retention_glossary_terms stay YAML-only. No recipe form has a widget for maps or lists of objects.

Checks: the flat-keys check passes, the parity check reports no drift in ingestion.sourceBuilder, eslint and prettier pass on the changed files, and the Vitest suite passes, including 6 new ODCS form tests.

Stacked on the docs PR.

  • Tests added/updated

🤖 Generated with Claude Code


Summary by cubic

Localizes the ODCS recipe form and adds the data contract URN and physical binding options to the UI. The form previously showed hard-coded English strings and had no way to set these options.

New Features

  • All labels, helpers, tooltips, select options, placeholders, and validator messages now resolve through i18next, matching the sqlmesh, hightouch, and microstrategy forms; 72 odcs.* keys were added to ingestion.sourceBuilder.json across all 14 locales.
  • data_contract_urn is keyed on the dataset by default or on the ODCS id, with data_contract_urn_prefix shown only in id mode.
  • bind_to_physical_dataset is rejected unless id mode is selected and Emit Logical Parent Link is on, matching the connector's own validation.
  • classification_glossary_term_mapping and retention_glossary_terms stay YAML-only; no recipe form has widgets for maps or lists of objects.
  • Adds 6 new form tests for the translated labels and the new advanced fields.