Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Jul 15, 2025


PR-Codex overview

This PR focuses on disabling gasless functionality in the launch-token.tsx and launch-nft.tsx files, with a note indicating that it will be re-enabled later after bundler changes.

Detailed summary

  • In launch-token.tsx:

    • canEnableGasless is set to false with a comment about future enabling.
    • showGaslessSection is set to false.
  • In launch-nft.tsx:

    • canEnableGasless is set to false with a comment about future enabling.
    • showGaslessSection is set to false.

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

Summary by CodeRabbit

  • Chores
    • Temporarily disabled the gasless transaction feature and its UI in both NFT and token launch flows pending future updates.

@MananTank MananTank requested review from a team as code owners July 15, 2025 19:50
@vercel
Copy link

vercel bot commented Jul 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 16, 2025 5:43pm
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Jul 16, 2025 5:43pm
nebula ⬜️ Skipped (Inspect) Jul 16, 2025 5:43pm
thirdweb_playground ⬜️ Skipped (Inspect) Jul 16, 2025 5:43pm
wallet-ui ⬜️ Skipped (Inspect) Jul 16, 2025 5:43pm

@changeset-bot
Copy link

changeset-bot bot commented Jul 15, 2025

⚠️ No Changeset found

Latest commit: e125e74

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 Jul 15, 2025

## Walkthrough

The changes disable the gasless transaction feature in both NFT and token launch flows by hardcoding related flags to `false`. Conditional logic and UI sections for gasless sponsorship are removed or bypassed, with TODO comments indicating future re-enablement after bundler updates. No exported or public entity signatures are modified.

## Changes

| File(s)                                                                                         | Change Summary                                                                                   |
|------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|
| .../tokens/create/nft/launch/launch-nft.tsx<br>.../tokens/create/token/launch/launch-token.tsx  | Hardcoded gasless transaction flags to `false`, removed conditional logic and UI for gasless sponsorship, added TODO comments. |

## Sequence Diagram(s)

```mermaid
sequenceDiagram
    participant User
    participant UI
    participant GaslessFeature

    User->>UI: Initiate token/NFT launch
    UI->>GaslessFeature: Check if gasless can be enabled (now always false)
    GaslessFeature-->>UI: Return false
    UI-->>User: Display launch flow without gasless option

<!-- walkthrough_end -->

<!-- This is an auto-generated comment: resource warnings by coderabbit.ai -->

> [!WARNING]
> ## Review ran into problems
> 
> <details>
> <summary>🔥 Problems</summary>
> 
> Errors were encountered while retrieving linked issues.
> 
> <details>
> <summary>Errors (1)</summary>
> 
> * TEAM-0000: Entity not found: Issue - Could not find referenced Issue.
> 
> </details>
> 
> </details>

<!-- end of auto-generated comment: resource warnings by coderabbit.ai -->

---

<details>
<summary>📜 Recent review details</summary>

**Configuration used: CodeRabbit UI**
**Review profile: CHILL**
**Plan: Pro**


<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between 3b53ac2eb20985b6169c984cf70dd283d5026321 and e125e743a389605d28da982018f4bed91d419f3a.

</details>

<details>
<summary>📒 Files selected for processing (2)</summary>

* `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/nft/launch/launch-nft.tsx` (1 hunks)
* `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/token/launch/launch-token.tsx` (1 hunks)

</details>

<details>
<summary>🚧 Files skipped from review as they are similar to previous changes (2)</summary>

* apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/nft/launch/launch-nft.tsx
* apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/token/launch/launch-token.tsx

</details>

<details>
<summary>⏰ 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). (6)</summary>

* GitHub Check: Size
* GitHub Check: E2E Tests (pnpm, vite)
* GitHub Check: E2E Tests (pnpm, webpack)
* GitHub Check: Unit Tests
* GitHub Check: Lint Packages
* GitHub Check: Analyze (javascript)

</details>

</details>
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEYDEZyAAUASpETZWaCrKNwSPbABsvkCiQBHbGlcSHFcLzpIACIAETREWAF8Z1ouaBJmbnwqCngveX9mfClIIgT7bIxEHMT4bn5ucXwseCwCAGsyRn9qeBboyAB3CocBZnUaejkw2A9sREpIAFlMTGhMDvRkW0gMRwElgHYANgBmAEYNGAQduxosnOd8+VokFUjkXDmy0aqaih1BoACnKiE+iAAlJAAGbYDBifoYNBedTyNqzDy0BJJFIUehMR7kDC4ZD+LzUKIESAU+EMBAYIhhfBdaroDD0AByADFoIhrgBlbiieAw+AMFEFAA0KHaPzFn0gAANaQjYGBOmQNKSAB5K9n0FVoOnqjAwzS6pUy74eJgc9RI5B23AUfA+NpMm3oNSo3DyalkD4eMEQsJUapoREtZDApUSjAAUWRAkiAHEEhCldDMPQvRIkPAfWj+DDMb9wdJkIso1hY4l8EN0xXEIgBaJmhgs+h/JBkt97CRQtSlTCUYsldcAIK0N4dyWyGWEtgk5BDSgeNAzqJtN4S8SM2bUWaoOEIue++T17zTDz+MCBlPbuUeOG4bD+a7uax2JSIBh5JokVlBgvGwX90DCTJuApGhYRyPZ8BoZAc0gxB9yZNo0IobAa0QGUBDwTFFgHXDhnXGkSHNSAoL9T8fnpTBSGQ+BmGZSDHlyF4/EyEoPC9MFKmjWoEAafBAJaWFXVYr1NSwf8SD6CTeHwBhK1lMtsUSZJUjojxuG8Xx/CCEIUGQiRtApR84L4fx8xIIZ0E4SBYFwXBuE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GDa0uDrXWevbPsnQX+pcWtAA -->

<!-- internal state end -->
<!-- finishing_touch_checkbox_start -->

<details open="true">
<summary>✨ Finishing Touches</summary>

- [ ] <!-- {"checkboxId": "7962f53c-55bc-4827-bfbf-6a18da830691"} --> 📝 Generate Docstrings

</details>

<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->

---



<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=thirdweb-dev/js&utm_content=7631):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Explain this complex logic.`
  - `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. Examples:
  - `@coderabbitai explain this code block.`
  -	`@coderabbitai modularize this function.`
- 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 src/utils.ts and explain its main purpose.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

### Support

Need help? Create a ticket on our [support page](https://www.coderabbit.ai/contact-us/support) for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai generate sequence diagram` to generate a sequence diagram of the changes in this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### 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](https://docs.coderabbit.ai/guides/configure-coderabbit) 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`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->

@graphite-app
Copy link
Contributor

graphite-app bot commented Jul 15, 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 Dashboard Involves changes to the Dashboard. label Jul 15, 2025
@MananTank MananTank added the merge-queue Adds the pull request to Graphite's merge queue. label Jul 15, 2025
Copy link
Member Author

MananTank commented Jul 15, 2025

Merge activity

@codecov
Copy link

codecov bot commented Jul 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.42%. Comparing base (05da842) to head (e125e74).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7631   +/-   ##
=======================================
  Coverage   56.42%   56.42%           
=======================================
  Files         906      906           
  Lines       58126    58126           
  Branches     4222     4222           
=======================================
  Hits        32795    32795           
  Misses      25223    25223           
  Partials      108      108           
Flag Coverage Δ
packages 56.42% <ø> (ø)
🚀 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.

@vercel vercel bot temporarily deployed to Preview – docs-v2 July 15, 2025 19:55 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula July 15, 2025 19:55 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground July 15, 2025 19:55 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui July 15, 2025 19:55 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Jul 15, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 63.25 KB (+0.12% 🔺) 1.3 s (+0.12% 🔺) 257 ms (+127.24% 🔺) 1.6 s
thirdweb (cjs) 353.31 KB (0%) 7.1 s (0%) 969 ms (+11.24% 🔺) 8.1 s
thirdweb (minimal + tree-shaking) 5.7 KB (0%) 114 ms (0%) 93 ms (+1312.08% 🔺) 207 ms
thirdweb/chains (tree-shaking) 526 B (0%) 11 ms (0%) 38 ms (+1363% 🔺) 48 ms
thirdweb/react (minimal + tree-shaking) 19.59 KB (0%) 392 ms (0%) 48 ms (+228.4% 🔺) 440 ms

#7631)

<!--

## 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 temporarily disabling the gasless feature in two components: `launch-token.tsx` and `launch-nft.tsx`. The condition for enabling gasless functionality has been commented out and replaced with a static `false` value.

### Detailed summary
- In `launch-token.tsx`:
  - `canEnableGasless` is set to `false` with a comment about enabling it later.
  - `showGaslessSection` is set to `false`.

- In `launch-nft.tsx`:
  - `canEnableGasless` is set to `false` with a comment about enabling it later.
  - `showGaslessSection` is set to `false`.

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

* **New Features**
  * The gasless transaction feature and related UI have been temporarily disabled for both NFT and token launch flows.

* **Chores**
  * Updated internal logic to prevent access to the gasless sponsorship section until further notice.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@graphite-app graphite-app bot force-pushed the 07-16-dashboard_temporarily_remove_gas_sponsorship_option_in_token_creation branch from 3b53ac2 to e125e74 Compare July 16, 2025 17:35
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground July 16, 2025 17:35 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui July 16, 2025 17:35 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 July 16, 2025 17:35 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula July 16, 2025 17:35 Inactive
@graphite-app graphite-app bot merged commit e125e74 into main Jul 16, 2025
24 checks passed
@graphite-app graphite-app bot deleted the 07-16-dashboard_temporarily_remove_gas_sponsorship_option_in_token_creation branch July 16, 2025 17:43
@graphite-app graphite-app bot removed the merge-queue Adds the pull request to Graphite's merge queue. label Jul 16, 2025
@vercel vercel bot temporarily deployed to Production – nebula July 16, 2025 17:43 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground July 16, 2025 17: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.

3 participants