Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Sep 26, 2025


PR-Codex overview

This PR focuses on refining the styling of specific components in the playground-web application by removing unnecessary classes that limit the maximum width.

Detailed summary

  • In styled-connect-embed.tsx, removed the class !max-w-full.
  • In RightSection.tsx, changed the class from !max-w-full to shadow-xl.

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

Summary by CodeRabbit

  • Style
    • Updated Connect modal styling for sign-in: removed a restrictive max-width override to allow the modal to expand naturally.
    • Simplified styling by removing a custom class override from the embedded Connect component, relying on default styles for consistency.
    • Result: improved responsiveness, more consistent modal sizing across themes and wallet variants.

@vercel
Copy link

vercel bot commented Sep 26, 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 Sep 26, 2025 10:38am
4 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
docs-v2 Skipped Skipped Sep 26, 2025 10:38am
nebula Skipped Skipped Sep 26, 2025 10:38am
thirdweb-www Skipped Skipped Sep 26, 2025 10:38am
wallet-ui Skipped Skipped Sep 26, 2025 10:38am

@vercel vercel bot temporarily deployed to Preview – wallet-ui September 26, 2025 10:06 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 26, 2025 10:06 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www September 26, 2025 10:06 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula September 26, 2025 10:06 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Sep 26, 2025

⚠️ No Changeset found

Latest commit: 51390f3

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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 26, 2025

Walkthrough

Removed max-width override on ConnectEmbed usage in two components: simplified className in RightSection.tsx from "shadow-xl !max-w-full" to "shadow-xl" and removed the className prop entirely from styled-connect-embed.tsx. No logic, exports, or control flow changed.

Changes

Cohort / File(s) Summary
ConnectEmbed styling adjustments
apps/playground-web/src/app/wallets/sign-in/button/RightSection.tsx, apps/playground-web/src/components/styled-connect-embed.tsx
RightSection.tsx: changed ConnectEmbed className from "shadow-xl !max-w-full" to "shadow-xl". styled-connect-embed.tsx: removed className prop from ConnectEmbed. All other props and behavior unchanged.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Pre-merge checks and finishing touches

❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Description Check ⚠️ Warning The description retains the unmodified template comments and does not include any filled-out title header, reviewer notes, or testing instructions, instead only providing the PR-Codex overview, so the required sections are missing. Please remove or replace the template placeholder comments with actual content by providing a proper PR title line, clear notes for reviewers, and detailed steps on how to test the changes.
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 clearly summarizes the main purpose of the pull request by indicating it fixes the ConnectEmbed width in the playground application, using concise and specific phrasing that aligns with the changes.
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 09-26-playground_fix_connectembed_width

📜 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 e141be7 and 51390f3.

📒 Files selected for processing (2)
  • apps/playground-web/src/app/wallets/sign-in/button/RightSection.tsx (1 hunks)
  • apps/playground-web/src/components/styled-connect-embed.tsx (0 hunks)
💤 Files with no reviewable changes (1)
  • apps/playground-web/src/components/styled-connect-embed.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/playground-web/src/app/wallets/sign-in/button/RightSection.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, webpack)
  • GitHub Check: Size
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: Analyze (javascript)

Warning

Review ran into problems

🔥 Problems

Errors were encountered while retrieving linked issues.

Errors (1)
  • TEAM-0000: Entity not found: Issue - Could not find referenced Issue.

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

@github-actions github-actions bot added the Playground Changes involving the Playground codebase. label Sep 26, 2025
Copy link
Member Author

MananTank commented Sep 26, 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.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@MananTank MananTank marked this pull request as ready for review September 26, 2025 10:07
@MananTank MananTank requested review from a team as code owners September 26, 2025 10:07
@codecov
Copy link

codecov bot commented Sep 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.27%. Comparing base (fb8c95a) to head (51390f3).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8132   +/-   ##
=======================================
  Coverage   56.27%   56.27%           
=======================================
  Files         906      906           
  Lines       59193    59193           
  Branches     4173     4173           
=======================================
  Hits        33311    33311           
  Misses      25777    25777           
  Partials      105      105           
Flag Coverage Δ
packages 56.27% <ø> (ø)
🚀 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.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 64.09 KB (0%) 1.3 s (0%) 427 ms (+128.09% 🔺) 1.8 s
thirdweb (cjs) 361.63 KB (0%) 7.3 s (0%) 2 s (+12.32% 🔺) 9.2 s
thirdweb (minimal + tree-shaking) 5.73 KB (0%) 115 ms (0%) 182 ms (+1250.09% 🔺) 296 ms
thirdweb/chains (tree-shaking) 526 B (0%) 11 ms (0%) 81 ms (+1719.48% 🔺) 91 ms
thirdweb/react (minimal + tree-shaking) 19.14 KB (0%) 383 ms (0%) 135 ms (+1555.59% 🔺) 518 ms

@graphite-app
Copy link
Contributor

graphite-app bot commented Sep 26, 2025

Merge activity

<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refining the styling of components in the `playground-web` application by removing unnecessary CSS classes that limit width.

### Detailed summary
- In `styled-connect-embed.tsx`, removed the class `!max-w-full`.
- In `RightSection.tsx`, changed the class from `!max-w-full` to `shadow-xl`, removing the width constraint.

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

<!-- end pr-codex -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

* **Style**
  * Updated Connect modal styling for sign-in: removed restrictive max-width constraint to improve responsiveness and layout in the RightSection.
  * Simplified styling by removing custom class overrides from the styled Connect component, relying on default styles for more consistent appearance.
  * Result: more reliable modal sizing, better visual consistency, and cleaner presentation across themes and wallet variants.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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.

3 participants