Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Dec 10, 2025


PR-Codex overview

This PR updates references from /bridge/embed to /bridge/widget in the configuration files, indicating a change in the bridge iframe functionality.

Detailed summary

  • In .env.example, updated comment from /bridge/embed to /bridge/widget.
  • In next.config.ts, changed source from /bridge/embed to /bridge/widget.
  • Updated source path from /bridge/embed/:path* to /bridge/widget/:path*.

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

Summary by CodeRabbit

  • Documentation

    • Clarified configuration comment to reference the bridge "widget" iframe page.
  • Chores

    • Updated routing targets in security headers to use /bridge/widget instead of /bridge/embed.

✏️ Tip: You can customize this high-level summary in your review settings.

@vercel vercel bot temporarily deployed to Preview – docs-v2 December 10, 2025 18:26 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 10, 2025 18:26 Inactive
@vercel
Copy link

vercel bot commented Dec 10, 2025

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

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

@changeset-bot
Copy link

changeset-bot bot commented Dec 10, 2025

⚠️ No Changeset found

Latest commit: 18917b6

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 Dec 10, 2025

Walkthrough

Updates bridge route references from /bridge/embed to /bridge/widget in configuration and documentation files, adjusting the environment example and Next.js Content-Security-Policy header route patterns.

Changes

Cohort / File(s) Change Summary
Route Path Updates
apps/dashboard/.env.example, apps/dashboard/next.config.ts
Replaced occurrences of /bridge/embed with /bridge/widget, including the parameterized route /bridge/embed/:path*/bridge/widget/:path* and an inline comment in the env example.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5–10 minutes

  • Confirm next.config.ts CSP header targets match actual runtime routes and expectations.
  • Search repo for any remaining /bridge/embed references to ensure consistency.

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The description is incomplete; it lacks required template sections like issue tag (TEAM-0000 format), explicit 'Notes for the reviewer' section, and 'How to test' section despite PR-Codex auto-summary. Add the issue tag, expand 'Notes for the reviewer' with any important context, and include 'How to test' section with testing instructions or unit test information.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: fixing bridge iframe configuration by updating references from /bridge/embed to /bridge/widget paths.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ 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 12-10-fix_bridge_iframe_csp_config

📜 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 f0aa3c6 and 18917b6.

📒 Files selected for processing (2)
  • apps/dashboard/.env.example (1 hunks)
  • apps/dashboard/next.config.ts (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • apps/dashboard/.env.example
  • apps/dashboard/next.config.ts
⏰ 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). (4)
  • GitHub Check: Lint Packages
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: Size
  • 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 Dashboard Involves changes to the Dashboard. label Dec 10, 2025
@MananTank MananTank marked this pull request as ready for review December 10, 2025 18:26
@MananTank MananTank requested review from a team as code owners December 10, 2025 18:26
Copy link
Member Author

MananTank commented Dec 10, 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 changed the title Fix bridge iframe CSP config Fix bridge iframe config Dec 10, 2025
@codecov
Copy link

codecov bot commented Dec 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.66%. Comparing base (4191902) to head (18917b6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8529   +/-   ##
=======================================
  Coverage   54.66%   54.66%           
=======================================
  Files         921      921           
  Lines       61163    61163           
  Branches     4151     4151           
=======================================
  Hits        33435    33435           
  Misses      27627    27627           
  Partials      101      101           
Flag Coverage Δ
packages 54.66% <ø> (ø)
🚀 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 Dec 10, 2025

size-limit report 📦

Path Size
@thirdweb-dev/nexus (esm) 105.66 KB (0%)
@thirdweb-dev/nexus (cjs) 319.47 KB (0%)

@graphite-app
Copy link
Contributor

graphite-app bot commented Dec 10, 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 updates references from `/bridge/embed` to `/bridge/widget` in the configuration files, reflecting a change in the iframe page used in the application.

### Detailed summary
- Updated `PAYMENT_METHOD_CONFIGURATION` comment in `.env.example` from `/bridge/embed` to `/bridge/widget`.
- Changed `source` in `next.config.ts` from `/bridge/embed` to `/bridge/widget`.
- Updated `source` path pattern in `next.config.ts` from `/bridge/embed/:path*` to `/bridge/widget/:path*`.

> ✨ 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

* **Documentation**
  * Updated configuration documentation.

* **Chores**
  * Updated internal routing paths in application configuration.

<sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@graphite-app graphite-app bot force-pushed the 12-10-fix_bridge_iframe_csp_config branch from f0aa3c6 to 18917b6 Compare December 10, 2025 18:35
@vercel vercel bot temporarily deployed to Preview – nebula December 10, 2025 18:35 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 10, 2025 18:35 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 10, 2025 18:35 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 10, 2025 18:35 Inactive
@graphite-app graphite-app bot merged commit 18917b6 into main Dec 10, 2025
25 checks passed
@graphite-app graphite-app bot deleted the 12-10-fix_bridge_iframe_csp_config branch December 10, 2025 18:43
@vercel vercel bot temporarily deployed to Production – wallet-ui December 10, 2025 18:43 Inactive
@vercel vercel bot temporarily deployed to Production – nebula December 10, 2025 18:43 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground December 10, 2025 18:43 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 December 10, 2025 18:43 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants