Skip to content

fix(dashboard): keep Compression Studio last after exclusions page (base-red slice 5) - #8259

Closed
diegosouzapw wants to merge 1 commit into
release/v3.8.49from
fix/sidebar-engine-items
Closed

diegosouzapw wants to merge 1 commit into
release/v3.8.49from
fix/sidebar-engine-items

Conversation

@diegosouzapw

Copy link
Copy Markdown
Owner

Cluster: sidebar exclusions ordering (base-red slice 5)

Quinto slice (após #8254, #8256, #8257, #8258). #8034/#8064 (per-model/endpoint compression exclusion filter) apendou compression-exclusions no fim do grupo de compressão, depois de compression-studio, quebrando o invariante deliberado "Compression Studio é o último item do grupo" (2 testes: sidebar-engine-items "Studio must be last" e o array de ordem exata de sidebar-visibility).

Fix

Em vez de enfraquecer o invariante, movi compression-exclusions para antes de compression-studio em sections.ts (páginas novas ficam acima da vitrine Studio) e inseri o item no array esperado de sidebar-visibility.

Validação

Todos os 5 suites de sidebar verdes: sidebar-engine-items 14/0, sidebar-visibility 7/0, sidebar-monitoring-reorg 7/0, sidebar-back-compat 6/0, sidebar-tools-group 5/0.

…e was added

Base-red slice 5. #8034/#8064 (per-model/endpoint compression exclusion filter)
appended the new `compression-exclusions` sidebar item to the END of the compression
group, after `compression-studio`. That broke the deliberate "Compression Studio is
the last item of the compression group" invariant asserted by two tests
(sidebar-engine-items "Studio must be last" and sidebar-visibility's exact-order array,
whose expected list places compression-studio immediately before cli-code).

Rather than weaken the invariant, moved `compression-exclusions` ABOVE
`compression-studio` in sections.ts (new pages go above the Studio showcase) and added
the new item to sidebar-visibility's expected order. Both tests, plus the other four
sidebar suites (reorg / back-compat / tools / engine-items), stay green.
@diegosouzapw

Copy link
Copy Markdown
Owner Author

Closing as superseded — the sidebar-visibility + sidebar-engine-items tests this slice targeted already pass on the current release/v3.8.49 tip (the sidebar "Exclusions" ordering fix landed via another merge). Re-applying this branch's older sections.ts actually regressed those tests against the current release. No content lost; reopen focused if a specific sidebar gap remains.

@diegosouzapw
diegosouzapw deleted the fix/sidebar-engine-items branch July 24, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant