Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Aug 27, 2025


PR-Codex overview

This PR focuses on refactoring and reorganizing code components across the project, specifically enhancing the CodeClient functionality and improving the import structure to ensure consistency and maintainability.

Detailed summary

  • Deleted several unused components and files related to code rendering.
  • Enhanced CodeClient to support new props and functionality.
  • Updated imports to use a consistent path structure across components.
  • Refactored PlainTextCodeBlock to utilize CodeBlockContainer.
  • Added Spinner and Badge components from @workspace/ui.
  • Updated knip.json files to include new dependencies.
  • Modified storybook files to reflect new component paths and structures.

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

@changeset-bot
Copy link

changeset-bot bot commented Aug 27, 2025

⚠️ No Changeset found

Latest commit: 5c08c7c

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

@vercel
Copy link

vercel bot commented Aug 27, 2025

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

Project Deployment Preview Comments Updated (UTC)
docs-v2 Ready Ready Preview Comment Aug 27, 2025 11:34pm
thirdweb_playground Ready Ready Preview Comment Aug 27, 2025 11:34pm
thirdweb-www Ready Ready Preview Comment Aug 27, 2025 11:34pm
2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
nebula Skipped Skipped Aug 27, 2025 11:34pm
wallet-ui Skipped Skipped Aug 27, 2025 11:34pm

@vercel vercel bot temporarily deployed to Preview – nebula August 27, 2025 14:37 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui August 27, 2025 14:37 Inactive
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 27, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 08-27-packages_ui_add_code_components

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added Dashboard Involves changes to the Dashboard. Playground Changes involving the Playground codebase. Portal Involves changes to the Portal (docs) codebase. packages labels Aug 27, 2025
@MananTank MananTank marked this pull request as ready for review August 27, 2025 14:37
@MananTank MananTank requested review from a team as code owners August 27, 2025 14:37
Copy link
Member Author

MananTank commented Aug 27, 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 force-pushed the 08-27-packages_ui_add_breadcrumb_tooltip_table branch from 2ce51c5 to 4f4faa5 Compare August 27, 2025 14:38
@MananTank MananTank force-pushed the 08-27-packages_ui_add_code_components branch from 742625c to bf7edac Compare August 27, 2025 14:38
@vercel vercel bot temporarily deployed to Preview – wallet-ui August 27, 2025 14:38 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula August 27, 2025 14:38 Inactive
@codecov
Copy link

codecov bot commented Aug 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.53%. Comparing base (e20b1dd) to head (5c08c7c).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7927   +/-   ##
=======================================
  Coverage   56.53%   56.53%           
=======================================
  Files         904      904           
  Lines       58592    58592           
  Branches     4143     4143           
=======================================
  Hits        33126    33126           
  Misses      25360    25360           
  Partials      106      106           
Flag Coverage Δ
packages 56.53% <ø> (ø)
🚀 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.

@MananTank MananTank force-pushed the 08-27-packages_ui_add_breadcrumb_tooltip_table branch from 4f4faa5 to 551d6e9 Compare August 27, 2025 14:43
@MananTank MananTank force-pushed the 08-27-packages_ui_add_code_components branch from bf7edac to d25d067 Compare August 27, 2025 14:43
@vercel vercel bot temporarily deployed to Preview – nebula August 27, 2025 14:43 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui August 27, 2025 14:43 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Aug 27, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 64.06 KB (0%) 1.3 s (0%) 236 ms (+167.68% 🔺) 1.6 s
thirdweb (cjs) 357.05 KB (0%) 7.2 s (0%) 719 ms (+14.19% 🔺) 7.9 s
thirdweb (minimal + tree-shaking) 5.73 KB (0%) 115 ms (0%) 63 ms (+732% 🔺) 177 ms
thirdweb/chains (tree-shaking) 526 B (0%) 11 ms (0%) 59 ms (+2063.62% 🔺) 69 ms
thirdweb/react (minimal + tree-shaking) 19.15 KB (0%) 383 ms (0%) 73 ms (+378.95% 🔺) 456 ms

@graphite-app
Copy link
Contributor

graphite-app bot commented Aug 27, 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 refactoring code related to the `CodeClient` component, improving its structure and imports, while also updating several components to use a new centralized location for code utilities. It removes deprecated files and enhances code organization across the project.

### Detailed summary
- Deleted unused files related to clipboard and code rendering.
- Refactored `CodeClient` to use a centralized import from `@workspace/ui/components/code/code.client`.
- Updated various components to import `CodeClient` and other utilities from the new centralized location.
- Added new `CodeServer` component for server-side rendering of code.
- Improved loading states and error handling in code components.
- Updated component imports across the project to maintain consistency.
- Enhanced `PlainTextCodeBlock` functionality with new props for better customization.
- Removed redundant code and improved overall project structure.

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

<!-- end pr-codex -->
@graphite-app graphite-app bot force-pushed the 08-27-packages_ui_add_breadcrumb_tooltip_table branch from 022e1e7 to e20b1dd Compare August 27, 2025 23:20
@graphite-app graphite-app bot force-pushed the 08-27-packages_ui_add_code_components branch from 7d31266 to 5c08c7c Compare August 27, 2025 23:20
@vercel vercel bot temporarily deployed to Preview – nebula August 27, 2025 23:21 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui August 27, 2025 23:21 Inactive
Base automatically changed from 08-27-packages_ui_add_breadcrumb_tooltip_table to main August 27, 2025 23:32
@graphite-app graphite-app bot merged commit 5c08c7c into main Aug 27, 2025
23 checks passed
@graphite-app graphite-app bot deleted the 08-27-packages_ui_add_code_components branch August 27, 2025 23:35
@vercel vercel bot temporarily deployed to Production – nebula August 27, 2025 23:35 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui August 27, 2025 23:35 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb-www August 27, 2025 23:49 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 August 27, 2025 23:53 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dashboard Involves changes to the Dashboard. packages Playground Changes involving the Playground codebase. Portal Involves changes to the Portal (docs) codebase.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants