Skip to content

refactor: remove legacy metric UI and its dead layers (backport to 2026.07.1) - #250

Closed
ktursunov wants to merge 1 commit into
constructorfabric:release-2026.07.1from
ktursunov:backport/remove-legacy-ui-2026.07.1
Closed

ktursunov wants to merge 1 commit into
constructorfabric:release-2026.07.1from
ktursunov:backport/remove-legacy-ui-2026.07.1

Conversation

@ktursunov

Copy link
Copy Markdown
Contributor

Backport of 485e60b ("refactor: remove legacy metric UI and its dead layers", main via #236, refs #235) onto release-2026.07.1.

Why

On the release branch the sidebar still shows the New design switch, so the legacy metric UI is reachable even though the new UI is already default-on (8c79c8e). This commit is the one that takes the toggle away on main — it drops the switch together with the legacy screens and the dead data layers behind them.

What changes

  • Removes the New design toggle: sidebar-v2-settings.tsx and src/lib/feature-flags.ts are gone, replaced by sidebar-settings.tsx (focus mode + explanations only).
  • Removes the legacy screens and their supporting layers: legacy IC/sales/team views, widgets/*, src/api/{transforms,catalog-client,view-configs,metric-semantics,...}, legacy queries and mock factories.
  • Promotes the v2 surfaces to the plain names (engineering-dashboard-v2dashboard, queries/v2/member-gridqueries/member-grid, lib/insight/v2/peer-statuslib/insight/peer-status).
  • Docs/infra cleanup that shipped in the same commit: retrospective PRDs, cypilot/config/artifacts.toml, nginx/docker-entrypoint touch-ups, dependency trims in package.json/pnpm-lock.yaml.

197 files changed, +774 / −19,856. Cherry-picked with -x; no conflicts.

Verification

  • pnpm typecheck — clean
  • pnpm exec eslint src --max-warnings 0 — clean
  • pnpm test — 73 files, 415 tests passing
  • pnpm build — succeeds

Refs constructorfabric#235

Signed-off-by: Aleksandr Barkhatov <pm@aleks.bar>
(cherry picked from commit 485e60b)
@ktursunov
ktursunov requested a review from a team as a code owner July 31, 2026 04:34
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f6090864-2876-4fb7-aa2b-5fbb3765a9f0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ktursunov ktursunov closed this Jul 31, 2026
@ktursunov
ktursunov deleted the backport/remove-legacy-ui-2026.07.1 branch July 31, 2026 04:46
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.

2 participants