Skip to content
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

Add Usage page in teams layout (chakra) #4459

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

MananTank
Copy link
Member

@MananTank MananTank commented Sep 7, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

The focus of this PR is to refactor the settings usage page in the dashboard app.

Detailed summary

  • Refactored UsagePage component to SettingsUsagePage
  • Updated page structure and styling in usage/page.tsx
  • Updated imports and removed unused components in UsagePage.tsx
  • Updated component export and layout in usage.tsx

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

Copy link

changeset-bot bot commented Sep 7, 2024

⚠️ No Changeset found

Latest commit: 7dd2869

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

Copy link

vercel bot commented Sep 7, 2024

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 Sep 7, 2024 10:08pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Sep 7, 2024 10:08pm
thirdweb_playground ⬜️ Skipped (Inspect) Sep 7, 2024 10:08pm
wallet-ui ⬜️ Skipped (Inspect) Sep 7, 2024 10:08pm

Copy link

graphite-app bot commented Sep 7, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@vercel vercel bot temporarily deployed to Preview – docs-v2 September 7, 2024 19:06 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 7, 2024 19:06 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 7, 2024 19:06 Inactive
@MananTank MananTank marked this pull request as ready for review September 7, 2024 19:06
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Sep 7, 2024
Copy link
Member Author

MananTank commented Sep 7, 2024

Copy link

codecov bot commented Sep 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.76%. Comparing base (0978bef) to head (7dd2869).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4459   +/-   ##
=======================================
  Coverage   47.76%   47.76%           
=======================================
  Files        1014     1014           
  Lines       53277    53277           
  Branches     3701     3701           
=======================================
  Hits        25446    25446           
  Misses      27147    27147           
  Partials      684      684           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 0978bef
packages 43.16% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Copy link
Contributor

github-actions bot commented Sep 7, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 43.3 KB (0%) 866 ms (0%) 239 ms (+76.14% 🔺) 1.2 s
thirdweb (cjs) 100.41 KB (0%) 2.1 s (0%) 415 ms (-4.93% 🔽) 2.5 s
thirdweb (minimal + tree-shaking) 4.82 KB (0%) 97 ms (0%) 41 ms (+385.29% 🔺) 138 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 35 ms (+648.28% 🔺) 45 ms
thirdweb/react (minimal + tree-shaking) 16.67 KB (0%) 334 ms (0%) 43 ms (-4.41% 🔽) 377 ms

Copy link
Member

@jnsdls jnsdls left a comment

Choose a reason for hiding this comment

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

nice - would be good to split it into "rendering" and "data fetching" -> that way we can re-use the UI but fetch in RSC for teams

Copy link

graphite-app bot commented Sep 7, 2024

Merge activity

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the settings usage page in the dashboard app.

### Detailed summary
- Refactored usage page to use `SettingsUsagePage` component
- Removed redundant imports and code in `usage.tsx`
- Updated `Page` component to render `SettingsUsagePage`
- Updated `getLayout` and `pageId` in `Page` component

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

<!-- end pr-codex -->
@MananTank MananTank force-pushed the 09-07-add_credits_in_team_settings_chakra_ branch from 0bf74bc to 0978bef Compare September 7, 2024 21:56
@MananTank MananTank force-pushed the 09-08-add_usage_page_in_teams_layout_chakra_ branch from f83e9fa to 7dd2869 Compare September 7, 2024 21:57
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 7, 2024 21:57 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 7, 2024 21:57 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 7, 2024 21:57 Inactive
Base automatically changed from 09-07-add_credits_in_team_settings_chakra_ to main September 7, 2024 22:09
@graphite-app graphite-app bot merged commit 7dd2869 into main Sep 7, 2024
30 checks passed
@graphite-app graphite-app bot deleted the 09-08-add_usage_page_in_teams_layout_chakra_ branch September 7, 2024 22:10
@vercel vercel bot temporarily deployed to Production – docs-v2 September 7, 2024 22:10 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground September 7, 2024 22:10 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui September 7, 2024 22:10 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