Skip to content

Improve usage sections labels in embedded-wallets sidebar panel#2871

Open
swastik7805 wants to merge 11 commits intoMetaMask:mainfrom
swastik7805:2862/improve-usage-sections
Open

Improve usage sections labels in embedded-wallets sidebar panel#2871
swastik7805 wants to merge 11 commits intoMetaMask:mainfrom
swastik7805:2862/improve-usage-sections

Conversation

@swastik7805
Copy link
Copy Markdown
Contributor

@swastik7805 swastik7805 commented Apr 17, 2026

Description

This PR replaces raw code-style sidebar labels (camelCase API identifiers) with descriptive, human-readable labels across the usage/ sections for all Embedded Wallets SDK platforms.

Previously, the sidebar displayed technical method names which were ambiguous for readers scanning the documentation. The following mappings were applied consistently across iOS, Android, React Native, Flutter, JS, Unity, and Unreal SDKs:

Current (Technical) Suggested (Human-readable)
connectTo / login Sign in a user
request Send requests
enableMFA Enable MFA
manageMFA Manage MFA
getUserInfo Get user info
getPrivKey Get private key
getEd25519PrivKey Get Ed25519 private key
showWalletUI / launchWalletServices Show wallet UI
logout Sign out

Issue(s) fixed

Fixes #2862 proposed by @bgravenorst

Preview

The changes affect the sidebar navigation in the Embedded Wallets "Usage" sections for all supported platforms.

Before:

image

After:

image

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 documentation-only change that updates sidebar_label frontmatter across many usage pages; main risk is broken sidebar/nav if any label is relied on for ordering or cross-links.

Overview
Updates Embedded Wallets SDK usage/ docs across Android, iOS, Flutter, JS, React Native, Unity, and Unreal to replace camelCase API method names in sidebar_label with human-readable navigation labels (for example, “Sign in a user”, “Send requests”, “Show wallet UI”, “Sign out”).

No API behavior or examples are changed; this is strictly a docs sidebar/navigation readability improvement.

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

@swastik7805 swastik7805 requested review from a team as code owners April 17, 2026 17:08
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 17, 2026

@swastik7805 is attempting to deploy a commit to the Consensys Team on Vercel.

A member of the Team first needs to authorize it.

@swastik7805 swastik7805 changed the title 2862/improve usage sections Improve usage sections labels in embedded-wallets sidebar panel Apr 17, 2026
Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 19, 2026

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

Project Deployment Actions Updated (UTC)
metamask-docs Ready Ready Preview, Comment Apr 20, 2026 4:33pm

Request Review

@swastik7805
Copy link
Copy Markdown
Contributor Author

@bgravenorst @alexandratran @AyushBherwani1998 @yashovardhan hey guys, i have fixed issue #2862 by improving sidebar panels labels in embedded-wallets (embedded-wallets/sdk/{name}/usage).
Resolved conflicts as well.

PR is updated and ready for review.

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.

Improve sidebar labels in Embedded Wallets SDK usage sections

3 participants