Commit c503ac7
feat(supported-languages): tick-grid table with split filters
Rewrites the interactive language table around three explicit column
groups: by resource (single-select), by customization (multi-select),
and by feature. The cells use voice-style ticks (✓, ⎋, β, —) instead
of badges; the column headers are the resource / customization /
feature names themselves.
Filter behaviour
- Resource is single-select (one product at a time); customization is
multi-select; feature is multi-select.
- Customization availability for the active resource is derived from
the inlined RESOURCES (the resource must list the customization as a
feature key, e.g. voice has `glossary` and `spoken_terms`).
`translation_memory` has an explicit override of `translate_text`
until the API exposes TM as a /v3/languages resource. Picking an
incompatible customization is auto-cleared.
- Feature filters are enabled only when a resource is selected and the
resource lists that feature. For voice, `transcription` is forced on
and the checkbox is locked.
- Two row-mask toggles ("hide beta", "hide external") render the
affected ticks as `—` instead of dropping rows. Combining a feature
filter with one of these toggles does exclude rows whose tick would
be masked, so checking transcription with hide-external on filters
out langs whose transcription is only external.
- "Clear all" sits next to the "Filters" label so the hide toggles
stay anchored to the right edge.
Column behaviour
- Resource columns hide when only a customization is selected.
- Customization columns shrink to selected ones; if none are selected
and a resource is, incompatible customizations also hide.
- Feature columns appear only when a resource is selected, ordered
Auto-detection, Transcription, Tag handling, Translated speech,
Formality, Tone, Writing style.
Other
- Footer legend documents the tick symbols + β marker.
- `beta` chip moved off the language name onto the resource / feature
ticks (✓β / ⎋β).
- `glossary` and `style_rules` removed from the feature options; the
customization columns cover them.
- supported-languages.mdx drops the now-redundant "Style rules are
supported for the following target languages" paragraph — the table
itself answers the same question.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 07c6bc5 commit c503ac7
2 files changed
Lines changed: 618 additions & 264 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
0 commit comments