Skip to content

Edit MM Connect EVM guides and styles#2880

Merged
shahbaz17 merged 4 commits into
mainfrom
mm-connect-evm-guides
Apr 29, 2026
Merged

Edit MM Connect EVM guides and styles#2880
shahbaz17 merged 4 commits into
mainfrom
mm-connect-evm-guides

Conversation

@alexandratran

@alexandratran alexandratran commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Description

Follow up to #2875 to enhance MM Connect docs. This PR focuses on MM Connect EVM, and includes style fixes identified during audit.

Main content changes include:

  • Add prerequisites where applicable to EVM guides.
  • Reorder EVM methods reference.
  • Add EVM headless mode guide (preview).
  • Update Manage networks guide to use client methods instead of RPC methods (preview).
  • Update Manage user accounts guide (preview):
    • Update Connect wallet section to use client methods instead of RPC methods
    • Add Connect and execute section

Main style changes include:

  • Reduce visual impact of inline code and links to allow better flow within paragraph (unbold links, reduce space from underline, decrease inline code size).
  • Fix styling for details collapsible boxes.
  • Fix styling for tabbed content.

And other small style, format, context edits.

Preview

Checklist

  • If this PR updates or adds documentation content that changes or adds technical meaning, it has received an approval from an engineer or DevRel from the relevant team.
  • If this PR updates or adds documentation content, it has received an approval from a technical writer.

External contributor checklist

  • I've read the contribution guidelines.
  • I've created a new issue (or assigned myself to an existing issue) describing what this PR addresses.

Note

Low Risk
Low risk: changes are documentation and site styling only, with no runtime product logic; main risk is incorrect guidance or unintended visual regressions in rendered docs.

Overview
Updates MetaMask Connect EVM documentation to standardize prerequisites across guides, modernize examples to prefer client helpers like connect, getChainId, and switchChain (instead of raw RPC calls), and add a new headless mode guide for custom QR/deeplink connection UIs.

Reorganizes the EVM methods reference (including correcting the ui.headless link), adds a connectWith “connect and execute” walkthrough, and makes small content/format fixes (collapsible code sample for the Hello World contract, image markup adjustments, minor copy tweaks).

Tweaks docs site styling to reduce inline code/link visual weight, fix details/collapsible presentation, and improve tab panel spacing/consistency.

Reviewed by Cursor Bugbot for commit 9a9716f. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Apr 23, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
metamask-docs Ready Ready Preview, Comment Apr 24, 2026 6:55pm

Request Review

@alexandratran alexandratran marked this pull request as ready for review April 24, 2026 19:26
@alexandratran alexandratran requested review from a team as code owners April 24, 2026 19:26

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9a9716f. Configure here.

Comment thread src/scss/theme/_markdown.scss

@shahbaz17 shahbaz17 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@shahbaz17 shahbaz17 merged commit 2b70757 into main Apr 29, 2026
17 of 19 checks passed
@shahbaz17 shahbaz17 deleted the mm-connect-evm-guides branch April 29, 2026 10:30
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