Skip to content

Conversation

d4mr
Copy link
Member

@d4mr d4mr commented Oct 6, 2025

Update the Airdrop Tokens playground page to link to the correct Engine API reference documentation.


Slack Thread

Open in Cursor Open in Web


PR-Codex overview

This PR updates the documentation links for the minting and airdropping tokens in the mint-tokens and airdrop-tokens pages of the playground web application to point to a new documentation URL.

Detailed summary

  • In apps/playground-web/src/app/transactions/mint-tokens/page.tsx, the docsLink was changed from:

    • "https://thirdweb-engine.apidocumentation.com/reference#tag/erc1155/POST/contract/{chain}/{contractAddress}/erc1155/mint-to?utm_source=playground"
    • to "https://engine.thirdweb.com/reference"
  • In apps/playground-web/src/app/transactions/airdrop-tokens/page.tsx, the docsLink was changed from:

    • "https://thirdweb-engine.apidocumentation.com/reference#tag/erc20/POST/contract/{chain}/{contractAddress}/erc20/mint-batch-to?utm_source=playground"
    • to "https://engine.thirdweb.com/reference"

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Summary by CodeRabbit

  • Documentation
    • Updated the in-app documentation link on the Airdrop Tokens transactions page to point to the general engine reference instead of a specific API page.
    • Updated the in-app documentation link on the Mint Tokens transactions page to point to the general engine reference instead of a specific API page.
    • No functional changes to either page’s behavior or workflows.

Co-authored-by: prithvish <prithvish@thirdweb.com>
Copy link

vercel bot commented Oct 6, 2025

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

Project Deployment Preview Comments Updated (UTC)
thirdweb_playground Ready Ready Preview Comment Oct 6, 2025 6:05pm
4 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
docs-v2 Skipped Skipped Oct 6, 2025 6:05pm
nebula Skipped Skipped Oct 6, 2025 6:05pm
thirdweb-www Skipped Skipped Oct 6, 2025 6:05pm
wallet-ui Skipped Skipped Oct 6, 2025 6:05pm

Copy link

cursor bot commented Oct 6, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel vercel bot temporarily deployed to Preview – thirdweb-www October 6, 2025 17:56 Inactive
Copy link

changeset-bot bot commented Oct 6, 2025

⚠️ No Changeset found

Latest commit: b8828a4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

graphite-app bot commented Oct 6, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added the Playground Changes involving the Playground codebase. label Oct 6, 2025
Copy link
Contributor

coderabbitai bot commented Oct 6, 2025

Walkthrough

Updated two React pages to change the PageLayout docsLink prop from a specific API documentation URL to a general engine reference URL. No logic, control-flow, or error-handling changes.

Changes

Cohort / File(s) Summary
Playground web pages — docsLink prop change
apps/playground-web/src/app/transactions/airdrop-tokens/page.tsx, apps/playground-web/src/app/transactions/mint-tokens/page.tsx
Changed PageLayout docsLink prop from a specific API docs URL to a general engine reference URL; no other modifications.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Pre-merge checks and finishing touches

❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Description Check ⚠️ Warning The pull request description does not follow the required template because it lacks the specified “## Notes for the reviewer” and “## How to test” headings and does not include the Linear issue tag or match the prescribed title format in the template. It only provides a brief summary and Codex overview without the required template sections. Please update the description to include the Linear issue tag or branch name, add a “## Notes for the reviewer” section explaining any key considerations, and add a “## How to test” section with steps for validating the change, following the repository’s PR template.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (1 passed)
Check name Status Explanation
Title Check ✅ Passed The title "Update airdrop tokens reference link" accurately describes the change to the airdrop tokens page but omits the corresponding update to the mint tokens documentation link, so it is only partially related to the full set of changes in the pull request.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cursor/update-airdrop-tokens-reference-link-d606

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 5672f1a and b8828a4.

📒 Files selected for processing (1)
  • apps/playground-web/src/app/transactions/mint-tokens/page.tsx (1 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{ts,tsx}

📄 CodeRabbit inference engine (CLAUDE.md)

**/*.{ts,tsx}: Write idiomatic TypeScript with explicit function declarations and return types
Limit each file to one stateless, single-responsibility function for clarity
Re-use shared types from @/types or local types.ts barrels
Prefer type aliases over interface except for nominal shapes
Avoid any and unknown unless unavoidable; narrow generics when possible
Choose composition over inheritance; leverage utility types (Partial, Pick, etc.)
Comment only ambiguous logic; avoid restating TypeScript in prose

**/*.{ts,tsx}: Use explicit function declarations and explicit return types in TypeScript
Limit each file to one stateless, single‑responsibility function
Re‑use shared types from @/types where applicable
Prefer type aliases over interface except for nominal shapes
Avoid any and unknown unless unavoidable; narrow generics when possible
Prefer composition over inheritance; use utility types (Partial, Pick, etc.)
Lazy‑import optional features and avoid top‑level side‑effects to reduce bundle size

Files:

  • apps/playground-web/src/app/transactions/mint-tokens/page.tsx
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (CLAUDE.md)

Load heavy dependencies inside async paths to keep initial bundle lean (lazy loading)

Files:

  • apps/playground-web/src/app/transactions/mint-tokens/page.tsx
apps/{dashboard,playground-web}/**/*.{ts,tsx}

📄 CodeRabbit inference engine (CLAUDE.md)

apps/{dashboard,playground-web}/**/*.{ts,tsx}: Import UI primitives from @/components/ui/* (Button, Input, Select, Tabs, Card, Sidebar, Badge, Separator) in dashboard and playground apps
Use NavLink for internal navigation with automatic active states in dashboard and playground apps
Use Tailwind CSS only – no inline styles or CSS modules
Use cn() from @/lib/utils for conditional class logic
Use design system tokens (e.g., bg-card, border-border, text-muted-foreground)
Server Components (Node edge): Start files with import "server-only";
Client Components (browser): Begin files with 'use client';
Always call getAuthToken() to retrieve JWT from cookies on server side
Use Authorization: Bearer header – never embed tokens in URLs
Return typed results (e.g., Project[], User[]) – avoid any
Wrap client-side data fetching calls in React Query (@tanstack/react-query)
Use descriptive, stable queryKeys for React Query cache hits
Configure staleTime/cacheTime in React Query based on freshness (default ≥ 60s)
Keep tokens secret via internal API routes or server actions
Never import posthog-js in server components

Files:

  • apps/playground-web/src/app/transactions/mint-tokens/page.tsx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: Size
  • GitHub Check: Lint Packages
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (1)
apps/playground-web/src/app/transactions/mint-tokens/page.tsx (1)

29-29: All checks passed. The documentation link returns HTTP 200 and is accessible.


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

@d4mr d4mr marked this pull request as ready for review October 6, 2025 17:57
@d4mr d4mr requested review from a team as code owners October 6, 2025 17:57
Copy link

codecov bot commented Oct 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.03%. Comparing base (777aed1) to head (b8828a4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8197   +/-   ##
=======================================
  Coverage   55.03%   55.03%           
=======================================
  Files         919      919           
  Lines       60562    60562           
  Branches     4122     4122           
=======================================
  Hits        33332    33332           
  Misses      27126    27126           
  Partials      104      104           
Flag Coverage Δ
packages 55.03% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Co-authored-by: prithvish <prithvish@thirdweb.com>
Copy link
Contributor

github-actions bot commented Oct 6, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 64.6 KB (0%) 1.3 s (0%) 368 ms (+171.98% 🔺) 1.7 s
thirdweb (cjs) 365.75 KB (0%) 7.4 s (0%) 1.3 s (+3.46% 🔺) 8.6 s
thirdweb (minimal + tree-shaking) 5.73 KB (0%) 115 ms (0%) 186 ms (+2616.1% 🔺) 301 ms
thirdweb/chains (tree-shaking) 526 B (0%) 11 ms (0%) 69 ms (+1270.34% 🔺) 79 ms
thirdweb/react (minimal + tree-shaking) 19.13 KB (0%) 383 ms (0%) 144 ms (+2036.73% 🔺) 527 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Playground Changes involving the Playground codebase.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants