Skip to content

Remove CoW AMM/MEV Blocker landing cards and CoW AMM nav link#7852

Open
fleupold wants to merge 4 commits into
developfrom
deprecate-cow-amm
Open

Remove CoW AMM/MEV Blocker landing cards and CoW AMM nav link#7852
fleupold wants to merge 4 commits into
developfrom
deprecate-cow-amm

Conversation

@fleupold

@fleupold fleupold commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Part of CoW AMM deprecation

  • cow.fi: drop the CoW AMM and MEV Blocker product cards from the homepage product grid as they are no longer relevant CoW DAO offerings
  • CoW Swap: remove the "CoW AMM" link from the nav "More" menu.

To Test

  1. Show cow.fi landing page and make sure it still looks ok
  2. Load CoW Swap nav bar and see no more CoW AMM deeplink

Summary by CodeRabbit

  • Updates
    • Removed CoW AMM and MEV Blocker from home page product listings and refreshed the home page product icon set accordingly.
    • Removed CoW AMM from the “More” navigation menu; removed CoW AMM and MEV Blocker from footer and DAO navigation links.
    • Removed MEV Blocker-related benefit copy from the order progress UI and disabled the related localization message.
    • Removed the MEV Blocker “add RPC endpoint”/wallet flow and the MEV Blocker content.

…nav link

Part of the CoW AMM deprecation. Two small, self-contained removals:

- cow.fi: drop the CoW AMM and MEV Blocker product cards from the homepage
  product grid (leaving CoW Protocol + CoW Swap).
- CoW Swap: remove the "CoW AMM" link from the nav "More" menu.

The full Yield-tab / CoW AMM feature removal is deferred to a follow-up commit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cowfi Ready Ready Preview Jul 15, 2026 3:01pm
explorer-dev Ready Ready Preview Jul 15, 2026 3:01pm
storybook Ready Ready Preview Jul 15, 2026 3:01pm
swap-dev Ready Ready Preview Jul 15, 2026 3:01pm
widget-configurator Ready Ready Preview Jul 15, 2026 3:01pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
cosmos Ignored Ignored Jul 15, 2026 3:01pm
sdk-tools Ignored Ignored Preview Jul 15, 2026 3:01pm

Request Review

@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 6ee56f95-968f-47b8-b3ac-459bd2e78afb

📥 Commits

Reviewing files that changed from the base of the PR and between f7ebf8b and e32ccf3.

📒 Files selected for processing (12)
  • apps/cow-fi/components/AddRpcButton/index.tsx
  • apps/cow-fi/components/Layout/const.ts
  • apps/cow-fi/data/mev-blocker/const.tsx
  • apps/cow-fi/lib/hooks/useAddRpcEndpoint.ts
  • apps/cow-fi/lib/hooks/useAddRpcWithTimeout.ts
  • apps/cow-fi/lib/hooks/useConnect.ts
  • apps/cow-fi/lib/hooks/useConnectAndAddToWallet.ts
  • apps/cow-fi/util/handleRpcError.ts
  • apps/cowswap-frontend/src/locales/en-US.po
  • apps/cowswap-frontend/src/modules/orderProgressBar/constants.ts
  • libs/ui/src/containers/Footer/footer.constants.ts
  • libs/ui/src/pure/MenuBar/index.tsx
💤 Files with no reviewable changes (11)
  • apps/cow-fi/components/AddRpcButton/index.tsx
  • apps/cow-fi/data/mev-blocker/const.tsx
  • apps/cow-fi/lib/hooks/useAddRpcWithTimeout.ts
  • apps/cow-fi/lib/hooks/useAddRpcEndpoint.ts
  • apps/cow-fi/util/handleRpcError.ts
  • apps/cow-fi/lib/hooks/useConnect.ts
  • libs/ui/src/pure/MenuBar/index.tsx
  • apps/cow-fi/components/Layout/const.ts
  • apps/cow-fi/lib/hooks/useConnectAndAddToWallet.ts
  • apps/cowswap-frontend/src/modules/orderProgressBar/constants.ts
  • libs/ui/src/containers/Footer/footer.constants.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/cowswap-frontend/src/locales/en-US.po

Walkthrough

The change removes CoW AMM and MEV Blocker from product listings, navigation, footer links, DAO menus, and benefit messaging. It also deletes CoW.fi wallet connection, RPC addition, error handling, and MEV Blocker content modules.

Changes

Product surface removal

Layer / File(s) Summary
Update CoW.fi product surfaces
apps/cow-fi/data/home/const.tsx, apps/cow-fi/components/Layout/const.ts
The home product list and Products menu remove CoW AMM and MEV Blocker while retaining the snapshot icon import.
Update CoW Swap navigation and content
apps/cowswap-frontend/src/modules/application/containers/App/menuConsts.tsx, apps/cowswap-frontend/src/locales/en-US.po, apps/cowswap-frontend/src/modules/orderProgressBar/constants.ts
The More submenu removes CoW AMM, its translation reference moves to the CoW AMM banner, and the MEV Blocker benefit entry is disabled.
Update shared navigation surfaces
libs/ui/src/containers/Footer/footer.constants.ts, libs/ui/src/pure/MenuBar/index.tsx
Footer product links and DAO navigation remove CoW AMM and MEV Blocker entries.
Delete CoW.fi wallet and MEV Blocker modules
apps/cow-fi/components/AddRpcButton/index.tsx, apps/cow-fi/data/mev-blocker/const.tsx, apps/cow-fi/lib/hooks/*, apps/cow-fi/util/handleRpcError.ts
The Add RPC UI, MEV Blocker data, wallet connection/RPC hooks, and RPC error utility are removed.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

Suggested reviewers: kernelwhisperer, elena-zh

Poem

A rabbit trims the menu bright,
Two products hop out of sight.
RPC helpers leave the burrow too,
Snapshot stays in morning dew.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title matches the main change: removing CoW AMM/MEV Blocker cards and the CoW AMM nav link.
Description check ✅ Passed The description includes the required Summary and To Test sections and clearly explains the change and verification steps.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch deprecate-cow-amm

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.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploying explorer-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: e32ccf3
Status: ✅  Deploy successful!
Preview URL: https://ab4dbf94.explorer-dev-dxz.pages.dev
Branch Preview URL: https://deprecate-cow-amm.explorer-dev-dxz.pages.dev

View logs

@linear-code

linear-code Bot commented Jul 15, 2026

Copy link
Copy Markdown

FE-280

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploying swap-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: e32ccf3
Status: ✅  Deploy successful!
Preview URL: https://55e01413.swap-dev-5u6.pages.dev
Branch Preview URL: https://deprecate-cow-amm.swap-dev-5u6.pages.dev

View logs

@fleupold fleupold changed the title Temove CoW AMM/MEV Blocker landing cards and CoW AMM nav link Remove CoW AMM/MEV Blocker landing cards and CoW AMM nav link Jul 15, 2026
@fleupold

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Jul 15, 2026

@elena-zh elena-zh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @fleupold , should this link be removed from the footer as well?

Image

Same question for the cow.fi menu: should this page be displayed there?

Image

Thanks

@elena-zh
elena-zh requested a review from fairlighteth July 15, 2026 14:40

@elena-zh elena-zh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you.
There are some articles in the Knowledge-base, but not sure if they should be removed.
Anyways, should be done separately

Image

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.

3 participants