feat(dashboard): add compression-mode selector to Context & Cache combos page (#6760) (#7219)

Extracts the routing-combo compression-mode dropdown (Default/Off/Lite/
Standard/Aggressive/Ultra) from the combo card into a shared
ComboCompressionModeSelect component, reused on both the combo card
(compact) and the Compression Combos page's "Assign to routing" list
under Context & Cache. Both surfaces persist through the existing
PUT /api/combos/{id} route -- no backend or schema change.
This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-07-17 10:40:05 -03:00
committed by GitHub
parent 69c778eb45
commit 0f10225f1d
7 changed files with 454 additions and 74 deletions

View File

@@ -188,6 +188,14 @@ Combo: "free-forever"
This lets you use stacked compression on free/coding providers while keeping lite mode on paid
subscriptions.
This "Per-Combo Override" assignment is a different control from the **routing-combo compression
mode** override (Default/Off/Lite/Standard/Aggressive/Ultra) — that override does not pick a named
compression-combo pipeline; it just sets the `compressionMode` field consulted by
`resolveCompressionPlan`. It can be set either on the combo card (`Dashboard → Combos`) or, since
#6760, per routing combo in the "Assign to routing" list on
`Dashboard → Context & Cache → Compression Combos`, right next to the pipeline-assignment checkbox
documented above. Both surfaces persist through the same `PUT /api/combos/{id}` endpoint.
### Per-request override
Send the `x-omniroute-compression` request header to override the compression plan for a single