feat(supported-languages): tick-grid table with split filters#355
Open
daniel-jones-dev wants to merge 1 commit into
Open
feat(supported-languages): tick-grid table with split filters#355daniel-jones-dev wants to merge 1 commit into
daniel-jones-dev wants to merge 1 commit into
Conversation
28cdeaf to
1cb740a
Compare
73b3263 to
8438fdf
Compare
1cb740a to
8326896
Compare
8438fdf to
ad44dd1
Compare
8326896 to
07c6bc5
Compare
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>
ad44dd1 to
c503ac7
Compare
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rewrites the interactive language table on top of the
SupportedLanguagessnippet introduced in #349.✓,⎋,β,—).hide betaandhide external.transcriptionon.—rather than dropping rows, but a feature filter combined with a mask toggle does exclude rows whose tick would be masked.docs/getting-started/supported-languages.mdx— the table itself answers the same question.Stacked on #349 — base is
autogen-language-tables. Retarget tomainafter that merges.Test plan
mint devrenders/docs/getting-started/supported-languageswith the three column groups and the legend.transcriptionon.hide external; transcription ticks for languages whose voice transcription isexternalturn into—. Then check thetranscriptionfeature filter — those rows drop.hide beta;de-CH/fr-CAresource ticks become—.🤖 Generated with Claude Code