mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-14 19:02:17 +03:00
The Settings-page 'Effective pipeline' preview was computed as deriveDefaultPlan(config.engines, config.enabled), which never consulted config.activeComboId, while the real per-request resolver (resolveBasePlan) gives an active named profile precedence over the plain engines-derived default. This made the dashboard preview disagree with what a live request actually does. Add deriveEffectivePreviewPlan(config, combos), a pure static-preview helper that mirrors resolveBasePlan's precedence for the layers that apply to an at-rest preview (master switch, then active profile, else the engines map), and wire it into CompressionPanel. Also surface a warning banner on the Combos page when an active profile is selected but the master switch is off, since that combination silently no-ops at request time.