docs: add TRON adapter installation documentation#746
docs: add TRON adapter installation documentation#746enesozturk wants to merge 2 commits intomainfrom
Conversation
- Add TRON installation instructions to React, Vue, JavaScript, and Next.js - Create TRON implementation snippets for each framework - Include wallet adapter installation and configuration details - Follow existing TON documentation pattern - Add TRON to supported networks list in introduction sections Includes: - Installation tabs with npm/yarn/bun/pnpm commands - Implementation examples with TronAdapter configuration - Wallet adapter setup instructions (TronLink, MetaMask, etc.) - Network configuration (tronMainnet, tronShastaTestnet)
|
Claude finished @enesozturk's task in 2m 11s —— View job Code Review CompleteTasks
Found 3 issue(s)Issue 1: Next.js TRON support incompleteID: next-tron-missing-tabs-8a4f Context:
Recommendation: Add TRON support to Next.js installation.mdx:
Issue 2: Spelling error in JavaScript snippetID: javascript-tron-typo-b7c3 Context:
Recommendation: Fix typo: // 6. Trigger modal programmaticallyIssue 3: Inconsistent terminology in Vue snippetID: vue-tron-terminology-f2a1 Context:
Recommendation: Change to match established pattern: analytics: true, // Optional - defaults to your Dashboard configurationSummaryPR adds TRON adapter docs for 3 frameworks (React, Vue, JavaScript) but claims 4. Next.js support is missing entirely. Two minor text issues in new snippets. Critical: Next.js TRON implementation must be added or PR description updated to remove Next.js claim. |
| } | ||
| }) | ||
|
|
||
| // 6. Trigger modal programaticaly |
There was a problem hiding this comment.
🤖 Auto Review Issue: Spelling error in JavaScript snippet
Severity: LOW
Category: code_quality
Tool: Claude Auto Review
Context:
- Pattern: Comment reads "programaticaly" instead of "programmatically"
- Risk: Spelling error in code comments
- Impact: Minor quality issue
- Trigger: Users reading code examples
Recommendation: Fix typo:
// 6. Trigger modal programmatically| metadata, | ||
| projectId, | ||
| features: { | ||
| analytics: true, // Optional - defaults to your Cloud configuration |
There was a problem hiding this comment.
🤖 Auto Review Issue: Inconsistent terminology in Vue snippet
Severity: LOW
Category: code_quality
Tool: Claude Auto Review
Context:
- Pattern: Vue TRON snippet uses "Cloud configuration" while React/JavaScript/TON use "Dashboard configuration"
- Risk: Terminology inconsistency across documentation
- Impact: User confusion about naming conventions
- Trigger: Comparing documentation across frameworks
Recommendation: Change to match established pattern:
analytics: true, // Optional - defaults to your Dashboard configuration- Use tabs for wallet adapter installation (TronLink, MetaMask, Trust, OKX, BitKeep, Binance) - Add link to official wallet adapter documentation (walletadapter.org) - Improve 'Using Multiple Wallet Adapters' section with clearer instructions - Replace horizontal code blocks with tabbed interface for better UX - Add Note callout with reference to complete wallet adapter list
Summary
Add comprehensive TRON adapter installation documentation across all supported frameworks.
Changes
Details
Installation Sections
Implementation Examples
Files Changed
appkit/react/core/installation.mdxappkit/vue/core/installation.mdxappkit/javascript/core/installation.mdxappkit/next/core/installation.mdxsnippets/appkit/react/tron/about/implementation.mdx(new)snippets/appkit/vue/tron/about/implementation.mdx(new)snippets/appkit/javascript/tron/about/implementation.mdx(new)Related
Part of TRON integration effort