Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Sep 9, 2025


PR-Codex overview

This PR updates the bottomText prop in the SettingsCard component of the ProjectGeneralSettingsPage to provide additional information regarding domain restrictions for web applications.

Detailed summary

  • Changed bottomText from a string to a fragment containing:
    • A message about the applicability to web applications.
    • An additional note that changes to domain restrictions may take up to 5 minutes to take effect.

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

Summary by CodeRabbit

  • Documentation
    • Clarified Allowed Domains copy to indicate it's only applicable for web applications.
    • Added note that domain restriction changes may take up to 5 minutes to take effect.
    • UI text-only update; no functional or behavioral changes.
    • Improves in-app guidance and reduces configuration confusion.

@vercel
Copy link

vercel bot commented Sep 9, 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 Sep 9, 2025 11:32pm
4 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
docs-v2 Skipped Skipped Sep 9, 2025 11:32pm
nebula Skipped Skipped Sep 9, 2025 11:32pm
thirdweb_playground Skipped Skipped Sep 9, 2025 11:32pm
wallet-ui Skipped Skipped Sep 9, 2025 11:32pm

@vercel vercel bot temporarily deployed to Preview – nebula September 9, 2025 16:33 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 9, 2025 16:33 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 9, 2025 16:33 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 9, 2025 16:33 Inactive
@linear
Copy link

linear bot commented Sep 9, 2025

@changeset-bot
Copy link

changeset-bot bot commented Sep 9, 2025

⚠️ No Changeset found

Latest commit: a724bc3

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 9, 2025

Walkthrough

Updated AllowedDomainsSetting’s bottomText from a plain string to a JSX fragment adding: "This is only applicable for web applications." and "Changes to domain restrictions may take up to 5 minutes to take effect." No logic, state, API, or exported signatures changed.

Changes

Cohort / File(s) Summary of Changes
UI copy update
apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.tsx
Converted bottomText from a string literal to a JSX fragment and appended a sentence noting domain restriction changes may take up to 5 minutes. No functional, state, or public API changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Pre-merge checks (3 passed, 2 warnings)

❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Description Check ⚠️ Warning The current description is merely the template comments and a PR-Codex overview, without any of the required sections such as a filled title, notes for the reviewer, or testing instructions as specified by the repository’s template. Populate the PR description by replacing the template comments with the required sections: set the formatted title, provide clear notes for the reviewer outlining the change details, and include specific steps or environments for how to test the update in “How to test.”
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 (3 passed)
Check name Status Explanation
Title Check ✅ Passed The pull request title concisely describes the main change—adding propagation time information to domain restrictions on the project settings page—and is directly related to the changeset without extraneous details.
Linked Issues Check ✅ Passed The change updates the bottomText prop to include a note that domain restriction changes may take up to five minutes to propagate, directly fulfilling the objective of displaying estimated propagation time in the UI as requested in issue BLD-247.
Out of Scope Changes Check ✅ Passed All modifications are limited to the UI text in ProjectGeneralSettingsPage.tsx and specifically address the propagation time message without introducing any unrelated features or unrelated code changes.

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.

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • 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 a07c172 and a724bc3.

📒 Files selected for processing (1)
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.tsx (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.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). (2)
  • GitHub Check: Size
  • GitHub Check: Analyze (javascript)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch bld-247

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 Sep 9, 2025
@MananTank MananTank marked this pull request as ready for review September 9, 2025 16:33
Copy link
Member Author


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 requested review from a team as code owners September 9, 2025 16:33
@MananTank MananTank changed the title [BLD-247] Add propagation time for domain settings in project settings page [BLD-247] Add propagation time for domain in project settings page Sep 9, 2025
@MananTank MananTank changed the title [BLD-247] Add propagation time for domain in project settings page [BLD-247] Add propagation time in domain restrictions in project settings page Sep 9, 2025
@codecov
Copy link

codecov bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.63%. Comparing base (2eaff98) to head (a724bc3).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8025   +/-   ##
=======================================
  Coverage   56.63%   56.63%           
=======================================
  Files         904      904           
  Lines       58685    58685           
  Branches     4166     4166           
=======================================
  Hits        33238    33238           
  Misses      25341    25341           
  Partials      106      106           
Flag Coverage Δ
packages 56.63% <ø> (ø)
🚀 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 9, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 63.96 KB (0%) 1.3 s (0%) 306 ms (+257.38% 🔺) 1.6 s
thirdweb (cjs) 356.86 KB (0%) 7.2 s (0%) 794 ms (+35.76% 🔺) 8 s
thirdweb (minimal + tree-shaking) 5.73 KB (0%) 115 ms (0%) 119 ms (+2177.78% 🔺) 234 ms
thirdweb/chains (tree-shaking) 526 B (0%) 11 ms (0%) 125 ms (+6365.63% 🔺) 135 ms
thirdweb/react (minimal + tree-shaking) 19.15 KB (0%) 383 ms (0%) 118 ms (+948.66% 🔺) 501 ms

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.tsx (1)

542-547: Copy nit: use “propagate” and add period.

Slightly clearer and polished punctuation.

-      bottomText={
-        <>
-          This is only applicable for web applications. Changes to domain
-          restrictions may take up to 5 minutes to take effect
-        </>
-      }
+      bottomText={
+        <>
+          This is only applicable for web applications. Changes to domain restrictions may take up to 5 minutes to propagate.
+        </>
+      }
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • 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 2f6f3a0 and 737ebad.

📒 Files selected for processing (1)
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.tsx (1 hunks)
🧰 Additional context used
📓 Path-based instructions (5)
**/*.{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/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.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/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.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/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.tsx
apps/{dashboard,playground}/**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

apps/{dashboard,playground}/**/*.{ts,tsx}: Import UI primitives from @/components/ui/_ (e.g., Button, Input, Tabs, Card)
Use NavLink for internal navigation to get active state handling
Use Tailwind CSS for styling; no inline styles
Merge class names with cn() from @/lib/utils for conditional classes
Stick to design tokens (e.g., bg-card, border-border, text-muted-foreground)
Server Components must start with import "server-only"; use next/headers, server‑only env, heavy data fetching, and redirect() where appropriate
Client Components must start with 'use client'; handle interactivity with hooks and browser APIs
Server-side data fetching: call getAuthToken() from cookies, send Authorization: Bearer <token> header, and return typed results (avoid any)
Client-side data fetching: wrap calls in React Query with descriptive, stable queryKeys and set sensible staleTime/cacheTime (≥ 60s default); keep tokens secret via internal routes or server actions
Do not import posthog-js in server components (client-side only)

Files:

  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.tsx
apps/{dashboard,playground}/**/*.tsx

📄 CodeRabbit inference engine (AGENTS.md)

Expose a className prop on the root element of every component

Files:

  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.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). (3)
  • GitHub Check: Lint Packages
  • GitHub Check: Size
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (1)
apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/settings/ProjectGeneralSettingsPage.tsx (1)

542-547: No changes needed – SettingsCard.bottomText is already typed as React.ReactNode.

@graphite-app
Copy link
Contributor

graphite-app bot commented Sep 9, 2025

Merge activity

graphite-app bot pushed a commit that referenced this pull request Sep 9, 2025
…ings page (#8025)

<!--

## 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 the `bottomText` prop of the `SettingsCard` component in the `ProjectGeneralSettingsPage.tsx` file to include additional information about domain restrictions for web applications.

### Detailed summary
- Changed `bottomText` from a simple string to a JSX fragment.
- Updated text to clarify that changes to domain restrictions may take up to 5 minutes to take effect.

> ✨ 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 the Allowed Domains setting description to clarify that changes to domain restrictions may take up to 5 minutes to take effect.
  * Improves in-app guidance and sets clearer expectations for propagation time.
  * No functional behavior changes; purely a copy update to the settings UI.
  * Aims to reduce confusion and support users during domain configuration and troubleshooting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@vercel vercel bot temporarily deployed to Preview – nebula September 9, 2025 23:07 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 9, 2025 23:07 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 9, 2025 23:07 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 9, 2025 23:07 Inactive
graphite-app bot pushed a commit that referenced this pull request Sep 9, 2025
…ings page (#8025)

<!--

## 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 enhancing the `bottomText` property of the `SettingsCard` component in the `ProjectGeneralSettingsPage.tsx` file to provide clearer information about domain restrictions for web applications.

### Detailed summary
- Changed `bottomText` from a string to a React fragment.
- Updated `bottomText` to include additional information: "Changes to domain restrictions may take up to 5 minutes to take effect."

> ✨ 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**
  * Clarified Allowed Domains setting copy to note it's only applicable for web applications.
  * Added guidance that domain restriction changes may take up to 5 minutes to propagate.
  * Purely a UI copy update; no functional or behavioral changes.
  * Improves in-app guidance and reduces configuration confusion.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@vercel vercel bot temporarily deployed to Preview – nebula September 9, 2025 23:15 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 9, 2025 23:15 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 9, 2025 23:15 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 9, 2025 23:15 Inactive
…ings page (#8025)

<!--

## 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 the `bottomText` prop of the `SettingsCard` component in the `ProjectGeneralSettingsPage.tsx` file to provide more detailed information regarding domain restrictions for web applications.

### Detailed summary
- Changed `bottomText` from a string to a fragment containing:
  - A message about applicability for web applications.
  - An additional note that changes to domain restrictions may take up to 5 minutes to take effect.

> ✨ 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**
  * Clarified Allowed Domains setting copy to state it's only applicable for web applications.
  * Added guidance that domain restriction changes may take up to 5 minutes to take effect.
  * Purely a UI copy update; no functional or behavioral changes.
  * Improves in-app guidance and reduces configuration confusion.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 9, 2025 23:23 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 9, 2025 23:23 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 9, 2025 23:23 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula September 9, 2025 23:23 Inactive
@graphite-app graphite-app bot merged commit a724bc3 into main Sep 9, 2025
24 checks passed
@graphite-app graphite-app bot deleted the bld-247 branch September 9, 2025 23:33
@vercel vercel bot temporarily deployed to Production – thirdweb_playground September 9, 2025 23:33 Inactive
@vercel vercel bot temporarily deployed to Production – nebula September 9, 2025 23:33 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 September 9, 2025 23:33 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui September 9, 2025 23:33 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.

3 participants