Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Nov 21, 2024

NOTE:

This will not build - Recently the sidebar categories have been updated in the reference pages and this is creating issues with static build. Need to fix those errors


PR-Codex overview

This PR focuses on optimizing various configurations and improving type definitions across multiple files in the project. Key adjustments include limiting results, modifying subgroup definitions, and refining TypeScript types for better clarity and structure.

Detailed summary

  • Changed limit from 50 to 20 in ghost.ts.
  • Removed classes, variables, types, and enums from subgroup definitions in subgroups.ts.
  • Updated the text in page.mdx to remove markdown formatting.
  • Refined PageProps type definition in PageLayout.tsx.
  • Enhanced return type of generateStaticParams for clarity.

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

@vercel
Copy link

vercel bot commented Nov 21, 2024

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 Nov 22, 2024 8:20am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
thirdweb_playground ⬜️ Skipped (Inspect) Nov 22, 2024 8:20am
thirdweb-www ⬜️ Skipped (Inspect) Nov 22, 2024 8:20am
wallet-ui ⬜️ Skipped (Inspect) Nov 22, 2024 8:20am

@changeset-bot
Copy link

changeset-bot bot commented Nov 21, 2024

⚠️ No Changeset found

Latest commit: c02104d

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 – thirdweb_playground November 21, 2024 21:22 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 21, 2024 21:22 Inactive
@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 21, 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.

@MananTank MananTank marked this pull request as ready for review November 21, 2024 21:22
@vercel vercel bot temporarily deployed to Preview – thirdweb-www November 21, 2024 21:22 Inactive
@github-actions github-actions bot added the Portal Involves changes to the Portal (docs) codebase. label Nov 21, 2024
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codecov
Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.86%. Comparing base (c0ab87d) to head (c02104d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5484   +/-   ##
=======================================
  Coverage   43.86%   43.86%           
=======================================
  Files        1076     1076           
  Lines       55972    55972           
  Branches     3910     3910           
=======================================
  Hits        24551    24551           
  Misses      30738    30738           
  Partials      683      683           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from c0ab87d
packages 38.59% <ø> (ø)

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

---- 🚨 Try these New Features:

@github-actions
Copy link
Contributor

github-actions bot commented Nov 21, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 44.97 KB (0%) 900 ms (0%) 565 ms (+32.53% 🔺) 1.5 s
thirdweb (cjs) 105.01 KB (0%) 2.2 s (0%) 786 ms (+31.91% 🔺) 2.9 s
thirdweb (minimal + tree-shaking) 5.6 KB (0%) 113 ms (0%) 104 ms (+472.94% 🔺) 216 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 12 ms (+68.73% 🔺) 22 ms
thirdweb/react (minimal + tree-shaking) 18.38 KB (0%) 368 ms (0%) 105 ms (+55.67% 🔺) 472 ms

jnsdls
jnsdls previously approved these changes Nov 21, 2024
@MananTank MananTank force-pushed the 11-22-_portal_fix_reference_page_static_generation branch from c446bec to fe841a1 Compare November 21, 2024 21:46
@vercel vercel bot temporarily deployed to Preview – thirdweb-www November 21, 2024 21:46 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 21, 2024 21:46 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 21, 2024 21:46 Inactive
@MananTank MananTank dismissed jnsdls’s stale review November 21, 2024 22:03

not ready for merge

@MananTank MananTank marked this pull request as draft November 21, 2024 22:04
@joaquim-verges joaquim-verges force-pushed the 11-22-_portal_fix_reference_page_static_generation branch from fe841a1 to 87dbd40 Compare November 22, 2024 07:48
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 22, 2024 07:48 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 22, 2024 07:48 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www November 22, 2024 07:48 Inactive
@joaquim-verges joaquim-verges marked this pull request as ready for review November 22, 2024 07:49
@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 22, 2024

Merge activity

NOTE:

This will not build - Recently the sidebar categories have been updated in the reference pages and this is creating issues with static build. Need to fix those errors

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on making adjustments to various files, including changing limits on data retrieval, modifying the structure of TypeScript types, and cleaning up the formatting of documentation.

### Detailed summary
- Changed `-limit` from `50` to `20` in `apps/portal/src/app/changelog/ghost.ts`.
- Removed `classes`, `variables`, `types`, and `enums` from `subgroups` in `apps/portal/src/app/references/components/TDoc/utils/subgroups.ts`.
- Cleaned up documentation text in `apps/portal/src/app/typescript/v5/chain/page.mdx`.
- Reformatted `PageProps` type definition in `apps/portal/src/app/references/components/TDoc/PageLayout.tsx` for better readability.
- Updated return type of `generateStaticParams` function to be more explicit in `apps/portal/src/app/references/components/TDoc/PageLayout.tsx`.

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

<!-- end pr-codex -->
@joaquim-verges joaquim-verges force-pushed the 11-22-_portal_fix_reference_page_static_generation branch from 87dbd40 to c02104d Compare November 22, 2024 08:18
@vercel vercel bot temporarily deployed to Preview – thirdweb-www November 22, 2024 08:18 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 22, 2024 08:18 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 22, 2024 08:18 Inactive
@graphite-app graphite-app bot merged commit c02104d into main Nov 22, 2024
30 of 31 checks passed
@graphite-app graphite-app bot deleted the 11-22-_portal_fix_reference_page_static_generation branch November 22, 2024 08:21
@vercel vercel bot temporarily deployed to Production – thirdweb_playground November 22, 2024 08:21 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb-www November 22, 2024 08:21 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui November 22, 2024 08:21 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.

4 participants