Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Jun 21, 2025


PR-Codex overview

This PR focuses on enhancing the UI components and layout of the dashboard, particularly in pagination buttons, team project management, and the changelog display. It introduces styling improvements and functional updates to improve user experience.

Detailed summary

  • Updated pagination-buttons.stories.tsx to correct page labels.
  • Modified styles in invite-team-members-button.tsx for improved button appearance.
  • Enhanced layout in page.tsx for better responsiveness.
  • Refactored Changelog.tsx for improved presentation and added a feature image.
  • Changed TeamProjectsPage.tsx to implement a more user-friendly project creation flow and improved sorting options.
  • Updated pagination logic and styles in pagination-buttons.tsx for consistency.

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

Summary by CodeRabbit

  • New Features

    • Changelog section now displays feature images for each entry, with fallback icons if unavailable.
    • Changelog items are shown in a responsive grid layout for improved readability.
    • Changelog header includes a title, description, and "View All" button.
  • Enhancements

    • Team projects page features a redesigned search input, improved sorting with a dropdown menu, and a more prominent subtitle.
    • "Create Project" and other action buttons have updated styling for better visibility.
    • Invite Team Members button now has a rounded appearance and enhanced background styling.
    • Dashboard layout is streamlined with sequential content flow and consistent maximum width for better usability.
    • Pagination controls updated with fully rounded styling for a modern look.
    • Pagination storybook examples corrected and expanded to accurately represent page counts.

@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)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2025 6:33pm
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Jun 21, 2025 6:33pm
nebula ⬜️ Skipped (Inspect) Jun 21, 2025 6:33pm
thirdweb_playground ⬜️ Skipped (Inspect) Jun 21, 2025 6:33pm
wallet-ui ⬜️ Skipped (Inspect) Jun 21, 2025 6:33pm

@vercel vercel bot temporarily deployed to Preview – wallet-ui June 21, 2025 13:58 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 21, 2025 13:58 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Jun 21, 2025

⚠️ No Changeset found

Latest commit: c9b4730

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 vercel bot temporarily deployed to Preview – nebula June 21, 2025 13:58 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 21, 2025 13:58 Inactive
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 21, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The changes refactor the Team dashboard UI, updating the layout, styling, and component structure for the team page, changelog, and projects list. The changelog and project list components receive enhanced layouts and new controls, while the main team page is reorganized to a single-column layout with improved section sequencing and styling.

Changes

File(s) Change Summary
.../Changelog.tsx Refactored component UI: added header with title/description/button, switched to responsive grid layout, introduced feature images with fallback icon, improved title/date styling, changed external link location, increased fetch count, included feature_image field, and updated imports. Extended ChangelogItem type to include feature_image.
.../invite-team-members-button.tsx Updated Button styling to include rounded-full and bg-card classes. No changes to component structure or behavior.
.../page.tsx Restructured layout: switched to single-column with max width, moved and reordered TeamProjectsPage, billing plan alert, and Changelog components. Flattened layout and simplified conditional rendering.
.../projects/TeamProjectsPage.tsx Reduced pagination size, improved header with subtitle, replaced search and sort UI with new styled input and SortDropdown, changed button styles/placement, refactored empty state and table styling, removed old filter/sort components, and added new SortDropdown with icon mapping.
.../@/components/pagination-buttons.tsx and .stories.tsx Added rounded-full styling to pagination buttons, links, ellipsis, input, and submit button for fully rounded appearance. Fixed story variants to correctly represent pagination scenarios for 2 and 3 pages.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant TeamPage
    participant TeamProjectsPage
    participant BillingPlanAlert
    participant Changelog

    User->>TeamPage: Visit team dashboard
    TeamPage->>TeamProjectsPage: Render projects list
    TeamProjectsPage-->>TeamPage: Projects UI (with new header, search, sort)
    TeamPage->>BillingPlanAlert: Render billing alert (conditional)
    BillingPlanAlert-->>TeamPage: Alert UI (if applicable)
    TeamPage->>Changelog: Render changelog section
    Changelog-->>TeamPage: Changelog UI (with new layout, images, header)
    TeamPage-->>User: Display full dashboard (single-column, new layout)
Loading
sequenceDiagram
    participant User
    participant TeamProjectsPage
    participant SortDropdown

    User->>TeamProjectsPage: Interact with "Sort by" button
    TeamProjectsPage->>SortDropdown: Open dropdown menu
    User->>SortDropdown: Select sort option
    SortDropdown->>TeamProjectsPage: Notify sort change
    TeamProjectsPage->>TeamProjectsPage: Update project list order
Loading
sequenceDiagram
    participant Changelog
    participant ChangelogAPI

    Changelog->>ChangelogAPI: Fetch changelog items (limit 12, include feature_image)
    ChangelogAPI-->>Changelog: Return changelog items with images
    Changelog->>Changelog: Render items in grid with images or fallback icon
Loading

🪧 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 Dashboard Involves changes to the Dashboard. label Jun 21, 2025
@MananTank MananTank marked this pull request as ready for review June 21, 2025 13:58
@MananTank MananTank requested a review from a team as a code owner June 21, 2025 13:58
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.

@MananTank MananTank requested a review from a team as a code owner June 21, 2025 13:58
@MananTank MananTank force-pushed the 06-21-dashboard_team_overview_page_ui_improvements branch from 802bb7b to 9ee09a0 Compare June 21, 2025 14:01
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 21, 2025 14:01 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 21, 2025 14:01 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 21, 2025 14:01 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 21, 2025 14:01 Inactive
@MananTank MananTank force-pushed the 06-21-dashboard_team_overview_page_ui_improvements branch from 9ee09a0 to e338519 Compare June 21, 2025 14:03
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 21, 2025 14:03 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 21, 2025 14:03 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 21, 2025 14:03 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 21, 2025 14:03 Inactive
@MananTank MananTank requested a review from jnsdls June 21, 2025 14:04
@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 (ea3c702) to head (c9b4730).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7400   +/-   ##
=======================================
  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.

@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%) 295 ms (+50.9% 🔺) 1.6 s
thirdweb (cjs) 350.74 KB (0%) 7.1 s (0%) 1.5 s (-5.56% 🔽) 8.5 s
thirdweb (minimal + tree-shaking) 5.72 KB (0%) 115 ms (0%) 175 ms (+1701.21% 🔺) 289 ms
thirdweb/chains (tree-shaking) 530 B (0%) 11 ms (0%) 32 ms (+539.73% 🔺) 42 ms
thirdweb/react (minimal + tree-shaking) 19.61 KB (0%) 393 ms (0%) 138 ms (+413.32% 🔺) 530 ms

@MananTank MananTank force-pushed the 06-21-dashboard_team_overview_page_ui_improvements branch from e338519 to 22cf185 Compare June 21, 2025 14:10
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 21, 2025 14:11 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 21, 2025 14:11 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 21, 2025 14:11 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 21, 2025 14:11 Inactive
@graphite-app
Copy link
Contributor

graphite-app bot commented Jun 21, 2025

Merge activity

@graphite-app graphite-app bot force-pushed the 06-21-fix_lint_errors branch from cf592a4 to cd1da30 Compare June 21, 2025 18:17
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 enhancing UI components and fixing minor bugs in the dashboard application. It includes updates to pagination, buttons, and layout adjustments to improve user experience and accessibility.

### Detailed summary
- Updated `pagination-buttons.stories.tsx` to correct page labels.
- Enhanced `InviteTeamMembersButton` styling with `rounded-full` and `bg-card`.
- Adjusted layout in `page.tsx` for better responsiveness and spacing.
- Improved `Changelog` UI for better presentation of updates.
- Refined `TeamProjectsPage` with new sorting and filtering components.
- Modified pagination items to include `rounded-full` for better aesthetics.
- Changed `page.tsx` to reduce the default page size from 10 to 5.
- Updated `SearchInput` and `AddNewButton` components for improved usability.

> ✨ 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**
	- Changelog section now displays feature images for each entry, with fallback icons if unavailable.
	- Changelog items are shown in a responsive grid layout for improved readability.
	- Changelog header includes a title, description, and "View All" button.

- **Enhancements**
	- Team projects page features a redesigned search input, improved sorting with a dropdown menu, and a more prominent subtitle.
	- "Create Project" and other action buttons have updated styling for better visibility.
	- Invite Team Members button now has a rounded appearance and enhanced background styling.
	- Dashboard layout is streamlined with sequential content flow and consistent maximum width for better usability.
	- Pagination controls updated with fully rounded styling for a modern look.
	- Pagination storybook examples corrected and expanded to accurately represent page counts.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@graphite-app graphite-app bot force-pushed the 06-21-dashboard_team_overview_page_ui_improvements branch from ab48caf to d9f9308 Compare June 21, 2025 18:18
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 21, 2025 18:18 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 21, 2025 18:18 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 21, 2025 18:18 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 21, 2025 18:18 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 primarily focuses on enhancing UI components in the dashboard application, including pagination buttons, team member invitations, and changelog displays. It also refines layout and styling for better user experience.

### Detailed summary
- Updated `pagination-buttons.stories.tsx` to correct page labels.
- Modified `InviteTeamMembersButton` styling for a more rounded appearance.
- Enhanced layout in `page.tsx` for better responsiveness and spacing.
- Changed `Changelog` component structure for improved visual hierarchy.
- Adjusted `TeamProjectsPage` to refine project display and sorting options.
- Replaced `Select` component with a `DropdownMenu` for sorting.

> ✨ 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**
	- Changelog section now displays feature images for each entry, with fallback icons if unavailable.
	- Changelog items are shown in a responsive grid layout for improved readability.
	- Changelog header includes a title, description, and "View All" button.

- **Enhancements**
	- Team projects page features a redesigned search input, improved sorting with a dropdown menu, and a more prominent subtitle.
	- "Create Project" and other action buttons have updated styling for better visibility.
	- Invite Team Members button now has a rounded appearance and enhanced background styling.
	- Dashboard layout is streamlined with sequential content flow and consistent maximum width for better usability.
	- Pagination controls updated with fully rounded styling for a modern look.
	- Pagination storybook examples corrected and expanded to accurately represent page counts.
<!-- 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
@graphite-app graphite-app bot force-pushed the 06-21-dashboard_team_overview_page_ui_improvements branch from d9f9308 to c9b4730 Compare June 21, 2025 18:20
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 21, 2025 18:20 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 21, 2025 18:20 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 21, 2025 18:20 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 21, 2025 18:20 Inactive
Base automatically changed from 06-21-fix_lint_errors to main June 21, 2025 18:24
@graphite-app graphite-app bot merged commit c9b4730 into main Jun 21, 2025
22 checks passed
@graphite-app graphite-app bot deleted the 06-21-dashboard_team_overview_page_ui_improvements branch June 21, 2025 18:33
@vercel vercel bot temporarily deployed to Production – thirdweb_playground June 21, 2025 18:33 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 June 21, 2025 18:33 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui June 21, 2025 18:33 Inactive
@vercel vercel bot temporarily deployed to Production – nebula June 21, 2025 18: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