Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Jun 21, 2025


PR-Codex overview

This PR focuses on refining the sidebar.tsx file by adjusting the href property for the "Get Dedicated Support" item, and enhancing the globals.css file by adding new styles for code spans and improving dark mode support.

Detailed summary

  • In sidebar.tsx, the href for the "Get Dedicated Support" item is modified.
  • In globals.css, new styles are added for:
    • code span color in light and dark modes.
    • Background color for .shiki and .shiki span.
  • Removed redundant styles for .shiki and code span.

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

Summary by CodeRabbit

  • Style

    • Consolidated and reorganized CSS rules for code highlighting to improve maintainability. No visual changes were made.
  • Refactor

    • Adjusted the order of properties within the sidebar configuration for improved code consistency. No changes to functionality or user experience.

@changeset-bot
Copy link

changeset-bot bot commented Jun 21, 2025

⚠️ No Changeset found

Latest commit: ea3c702

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 Jun 21, 2025

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

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

@vercel vercel bot temporarily deployed to Preview – nebula June 21, 2025 14:33 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 21, 2025 14:33 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 21, 2025 14:33 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www June 21, 2025 14:33 Inactive
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 21, 2025

"""

Walkthrough

The updates involve reordering object properties in a sidebar link configuration and reorganizing CSS rules for code styling. No logic, values, or exported entities were changed; only the order and placement of properties and style rules were adjusted for clarity and consolidation.

Changes

File(s) Change Summary
apps/portal/src/app/account/sidebar.tsx Reordered properties within a sidebar link object; no logic or value changes.
apps/portal/src/app/globals.css Moved and consolidated code-related CSS rules; removed duplicate declarations.

Suggested labels

Dashboard

Suggested reviewers

  • jnsdls
    """

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

📥 Commits

Reviewing files that changed from the base of the PR and between cd1da30 and ea3c702.

📒 Files selected for processing (2)
  • apps/portal/src/app/account/sidebar.tsx (1 hunks)
  • apps/portal/src/app/globals.css (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • apps/portal/src/app/account/sidebar.tsx
  • apps/portal/src/app/globals.css
⏰ Context from checks skipped due to timeout of 90000ms (7)
  • GitHub Check: Size
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: Unit Tests
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Lint Packages
  • GitHub Check: Analyze (javascript)
✨ Finishing Touches
  • 📝 Generate Docstrings

🪧 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.
    • 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 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 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 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 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 the Portal Involves changes to the Portal (docs) codebase. label Jun 21, 2025
@MananTank MananTank marked this pull request as ready for review June 21, 2025 14:33
@MananTank MananTank requested review from a team as code owners June 21, 2025 14:33
Copy link
Member Author

MananTank commented Jun 21, 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.

@codecov
Copy link

codecov bot commented Jun 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.06%. Comparing base (51798f0) to head (ea3c702).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7401   +/-   ##
=======================================
  Coverage   52.06%   52.06%           
=======================================
  Files         945      945           
  Lines       63565    63565           
  Branches     4208     4208           
=======================================
  Hits        33098    33098           
  Misses      30361    30361           
  Partials      106      106           
Flag Coverage Δ
packages 52.06% <ø> (ø)
🚀 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.

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 (3)
apps/portal/src/app/globals.css (3)

111-113: Consolidate code span styles under Tailwind’s base layer
These rules are currently outside of any @layer block. Moving them into the existing @layer base { … } group will ensure they’re applied at the correct CSS layer alongside other base styles.


115-117: Consolidate dark-mode code span styles under Tailwind’s base layer
Similarly, the .dark code span rules should live in the @layer base { … } block to maintain consistent layering and maintainability.


119-122: Group .shiki background overrides in the base layer
Good job removing duplicate declarations. For consistency with other reset styles, consider relocating these selectors into @layer base { … } as well.

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 6fd630a and cf592a4.

📒 Files selected for processing (2)
  • apps/portal/src/app/account/sidebar.tsx (1 hunks)
  • apps/portal/src/app/globals.css (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (5)
  • GitHub Check: Size
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Lint Packages
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (1)
apps/portal/src/app/account/sidebar.tsx (1)

35-37: Reordered properties for consistency
The href and name fields are now aligned with the ordering used by other sidebar links, improving readability without affecting functionality.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 21, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 62.56 KB (0%) 1.3 s (0%) 589 ms (+107.32% 🔺) 1.9 s
thirdweb (cjs) 350.74 KB (0%) 7.1 s (0%) 2.6 s (+8.15% 🔺) 9.6 s
thirdweb (minimal + tree-shaking) 5.72 KB (0%) 115 ms (0%) 228 ms (+744.37% 🔺) 343 ms
thirdweb/chains (tree-shaking) 530 B (0%) 11 ms (0%) 61 ms (+866.53% 🔺) 71 ms
thirdweb/react (minimal + tree-shaking) 19.61 KB (0%) 393 ms (0%) 187 ms (+255.1% 🔺) 579 ms

@graphite-app
Copy link
Contributor

graphite-app bot commented Jun 21, 2025

Merge activity

graphite-app bot pushed a commit that referenced this pull request Jun 21, 2025
<!--

## 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 updating the `sidebar.tsx` file by modifying the structure of the navigation item for dedicated support, and enhancing the `globals.css` file by adding new styles for code elements in light and dark themes while removing redundant styles.

### Detailed summary
- In `sidebar.tsx`, the `href` property for the "Get Dedicated Support" navigation item was removed.
- In `globals.css`, new styles were added for `code span` elements in both light and dark themes.
- Redundant styles targeting `.shiki` and `code span` were removed to streamline the CSS.

> ✨ 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**
  - Consolidated and reorganized CSS rules for code highlighting to improve maintainability. No visual changes were made.

- **Refactor**
  - Adjusted the order of properties within the sidebar configuration for improved code consistency. No changes to functionality or user experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@graphite-app graphite-app bot force-pushed the 06-21-fix_lint_errors branch from cf592a4 to cd1da30 Compare June 21, 2025 18:17
@vercel vercel bot temporarily deployed to Preview – nebula June 21, 2025 18:17 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www June 21, 2025 18:17 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 21, 2025 18:17 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 21, 2025 18:17 Inactive
<!--

## 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 updating the `sidebar.tsx` file by modifying the `href` property of a menu item and enhancing `globals.css` to improve code styling, particularly for code spans in both light and dark themes.

### Detailed summary
- In `sidebar.tsx`, the `href` property for the menu item "Get Dedicated Support" was removed.
- In `globals.css`, new styles were added for `code span` to set colors for light and dark themes.
- Redundant `.shiki` styles were removed.
- Existing styles for autofilled inputs and button elements remain unchanged.

> ✨ 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**
  - Consolidated and reorganized CSS rules for code highlighting to improve maintainability. No visual changes were made.

- **Refactor**
  - Adjusted the order of properties within the sidebar configuration for improved code consistency. No changes to functionality or user experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@graphite-app graphite-app bot force-pushed the 06-21-fix_lint_errors branch from cd1da30 to ea3c702 Compare June 21, 2025 18:19
@vercel vercel bot temporarily deployed to Preview – thirdweb-www June 21, 2025 18:19 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 21, 2025 18:19 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 21, 2025 18:19 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 21, 2025 18:19 Inactive
@graphite-app graphite-app bot merged commit ea3c702 into main Jun 21, 2025
24 checks passed
@graphite-app graphite-app bot deleted the 06-21-fix_lint_errors branch June 21, 2025 18:24
@vercel vercel bot temporarily deployed to Production – nebula June 21, 2025 18:24 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui June 21, 2025 18:24 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground June 21, 2025 18:24 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb-www June 21, 2025 18:24 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Portal Involves changes to the Portal (docs) codebase.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants