Skip to content

Dashboard: add "Contracts" link in contract layout header #7436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

MananTank
Copy link
Member

@MananTank MananTank commented Jun 24, 2025

image.png


PR-Codex overview

This PR introduces a new optional property currentProjectSubpath to various components related to the TeamHeader. This property allows the display of additional project navigation information, enhancing the user interface for project management.

Detailed summary

  • Added currentProjectSubpath property to TeamHeaderLoggedIn component.
  • Updated TeamHeaderDesktopUI to render project subpath details if available.
  • Introduced currentProjectSubpath in TeamHeaderUI stories for testing.
  • Enhanced layout in ContractLayout to include project subpath information.

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

Summary by CodeRabbit

  • New Features

    • Added support for displaying an active project subpage link with an icon in the team header, enhancing breadcrumb navigation for projects.
    • Updated the team header to visually indicate the current subpage within a project.
  • Documentation

    • Added a new Storybook variant to demonstrate the team header with an active subpage link.

Copy link

vercel bot commented Jun 24, 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 Jun 24, 2025 11:45pm
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Jun 24, 2025 11:45pm
nebula ⬜️ Skipped (Inspect) Jun 24, 2025 11:45pm
thirdweb_playground ⬜️ Skipped (Inspect) Jun 24, 2025 11:45pm
wallet-ui ⬜️ Skipped (Inspect) Jun 24, 2025 11:45pm

@vercel vercel bot temporarily deployed to Preview – docs-v2 June 24, 2025 22:56 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 24, 2025 22:56 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 24, 2025 22:56 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 24, 2025 22:56 Inactive
Copy link

changeset-bot bot commented Jun 24, 2025

⚠️ No Changeset found

Latest commit: d85ee5f

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

@MananTank MananTank marked this pull request as ready for review June 24, 2025 22:56
@MananTank MananTank requested review from a team as code owners June 24, 2025 22:56
Copy link
Contributor

coderabbitai bot commented Jun 24, 2025

## Walkthrough

The changes introduce an optional `currentProjectSubpath` prop to multiple team header components, enabling the display of an additional breadcrumb-like navigation element for active project subpages. This enhancement is reflected in the main component, its client wrapper, and Storybook stories, with updated imports and minor UI adjustments.

## Changes

| File(s)                                                                                             | Change Summary                                                                                  |
|---------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| .../team/[team_slug]/[project_slug]/contract/[chainIdOrSlug]/[contractAddress]/layout.tsx           | Updated imports; added `currentProjectSubpath` prop to `TeamHeaderLoggedIn` with Contracts link and icon. |
| .../components/TeamHeader/TeamHeaderUI.stories.tsx                                                | Added story variant for "Pro Plan - active subpage"; extended `Variant` component with `currentProjectSubpath` prop. |
| .../components/TeamHeader/TeamHeaderUI.tsx                                                       | Added optional `currentProjectSubpath` prop; rendered additional breadcrumb UI if present.      |
| .../components/TeamHeader/team-header-logged-in.client.tsx                                       | Extended props to accept and forward `currentProjectSubpath` to header UI components.           |

## Sequence Diagram(s)

```mermaid
sequenceDiagram
    participant User
    participant ContractLayout
    participant TeamHeaderLoggedIn
    participant TeamHeaderDesktopUI

    User->>ContractLayout: Access contract page
    ContractLayout->>TeamHeaderLoggedIn: Render with currentProjectSubpath prop
    TeamHeaderLoggedIn->>TeamHeaderDesktopUI: Pass currentProjectSubpath prop
    TeamHeaderDesktopUI->>User: Render header with breadcrumb (if currentProjectSubpath present)

Suggested labels

Dashboard

Suggested reviewers

  • MananTank

<!-- 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 21e58eed3384ec6191d04984116ed0109d676205 and d85ee5fac30b739b69202184eb2e62660790979b.

</details>

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

* `apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/contract/[chainIdOrSlug]/[contractAddress]/layout.tsx` (2 hunks)
* `apps/dashboard/src/app/(app)/team/components/TeamHeader/TeamHeaderUI.stories.tsx` (4 hunks)
* `apps/dashboard/src/app/(app)/team/components/TeamHeader/TeamHeaderUI.tsx` (2 hunks)
* `apps/dashboard/src/app/(app)/team/components/TeamHeader/team-header-logged-in.client.tsx` (2 hunks)

</details>

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

* apps/dashboard/src/app/(app)/team/components/TeamHeader/team-header-logged-in.client.tsx
* apps/dashboard/src/app/(app)/team/components/TeamHeader/TeamHeaderUI.tsx
* apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/contract/[chainIdOrSlug]/[contractAddress]/layout.tsx
* apps/dashboard/src/app/(app)/team/components/TeamHeader/TeamHeaderUI.stories.tsx

</details>

<details>
<summary>⏰ Context from checks skipped due to timeout of 90000ms (8)</summary>

* GitHub Check: Size
* GitHub Check: E2E Tests (pnpm, vite)
* GitHub Check: E2E Tests (pnpm, esbuild)
* GitHub Check: E2E Tests (pnpm, webpack)
* GitHub Check: Unit Tests
* GitHub Check: Build Packages
* GitHub Check: Lint Packages
* GitHub Check: Analy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hB9QU59LFJ2d9G3W3e3SY/9WvF3OY93X45Y6DH3NY8ICSJDO3bY3HEQ8PPUqwg03SM4i4i0j4m494m6a4ogfPOoe47qDQJ43AF4yAL46YsXIScU9NUdCksEgk5KIkmErjcfckngy/KkntGkoSeky8a8ZkjAVkg4AoTE7ExjQwAwCJa2OxMMBxQgVTXk5JAoLgKgdJJ5YheQHJZQPJYJQpMJF86xGLZRfpLYRAfpfwRMTiOgQZDMfcUJZ818jIK4AABluBIDwrOBICuAAE5dg8KLgAAmVQNANAAADgYF2AYAuAAEZ6KABWGiWgEigQaisigQPDSxV86itikgTihikgOgK4K4Bii4UQG4Nisiti2gKisi+Stitim4OgPCtivCsi2gG4M4G4aivCzirC6CiAf0Bizi6Szi3YXyfCgQM4cigQG4MisysS+SwkaikgUym4G4Yisigys4QSyyqyqAAGdQeCmgpCkgFCgkWgfpWxLCoAA== -->

<!-- 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=7436):

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

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Jun 24, 2025
Copy link
Member Author

MananTank commented Jun 24, 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 Dashboard: Header UI improvement for contract layout Dashboard: add "Contracts" link in contract layout header Jun 24, 2025
Copy link

codecov bot commented Jun 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.96%. Comparing base (8bb4d4b) to head (d85ee5f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7436   +/-   ##
=======================================
  Coverage   51.96%   51.96%           
=======================================
  Files         947      947           
  Lines       63809    63809           
  Branches     4216     4216           
=======================================
  Hits        33161    33161           
  Misses      30542    30542           
  Partials      106      106           
Flag Coverage Δ
packages 51.96% <ø> (ø)
🚀 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

github-actions bot commented Jun 24, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 62.56 KB (0%) 1.3 s (0%) 226 ms (+159.81% 🔺) 1.5 s
thirdweb (cjs) 350.74 KB (0%) 7.1 s (0%) 655 ms (+9.11% 🔺) 7.7 s
thirdweb (minimal + tree-shaking) 5.72 KB (0%) 115 ms (0%) 93 ms (+1831.02% 🔺) 207 ms
thirdweb/chains (tree-shaking) 530 B (0%) 11 ms (0%) 61 ms (+3630.33% 🔺) 72 ms
thirdweb/react (minimal + tree-shaking) 19.61 KB (0%) 393 ms (0%) 143 ms (+1099.67% 🔺) 535 ms

@MananTank MananTank force-pushed the 06-25-dashboard_header_ui_improvement_for_contract_layout branch from ad3036e to 21e58ee Compare June 24, 2025 23:04
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 24, 2025 23:04 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 24, 2025 23:04 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 24, 2025 23:04 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 24, 2025 23:04 Inactive
Copy link
Contributor

graphite-app bot commented Jun 24, 2025

Merge activity

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/05f5e0d2-cfee-4604-8567-a630e13f8232.png)

<!--

## 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 introduces a new optional property, `currentProjectSubpath`, to enhance the `TeamHeader` components by allowing the display of additional project navigation details, including a label, href, and icon.

### Detailed summary
- Added `currentProjectSubpath` property to `TeamHeaderLoggedIn` and `TeamHeaderDesktopUI`.
- Updated `TeamHeaderUI` to render project subpath details if provided.
- Introduced a new story in `TeamHeaderUI.stories.tsx` to showcase the `currentProjectSubpath` feature.
- Integrated `currentProjectSubpath` into the `ContractLayout` component for enhanced navigation.

> ✨ 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**
  - Added support for displaying an active project subpage link with an icon in the team header, enhancing breadcrumb navigation for projects.
  - Updated the team header to visually indicate the current subpage within a project.

- **Documentation**
  - Added a new Storybook variant to demonstrate the team header with an active subpage link.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@graphite-app graphite-app bot force-pushed the 06-25-dashboard_header_ui_improvement_for_contract_layout branch from 21e58ee to d85ee5f Compare June 24, 2025 23:38
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 24, 2025 23:38 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 24, 2025 23:38 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 24, 2025 23:38 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 24, 2025 23:38 Inactive
@graphite-app graphite-app bot merged commit d85ee5f into main Jun 24, 2025
24 checks passed
@graphite-app graphite-app bot deleted the 06-25-dashboard_header_ui_improvement_for_contract_layout branch June 24, 2025 23:46
@vercel vercel bot temporarily deployed to Production – nebula June 24, 2025 23:46 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui June 24, 2025 23:46 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground June 24, 2025 23:46 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 June 24, 2025 23:46 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