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

initial nebula docs #5720

Merged
merged 12 commits into from
Dec 16, 2024
Merged

initial nebula docs #5720

merged 12 commits into from
Dec 16, 2024

Conversation

saminacodes
Copy link
Member

@saminacodes saminacodes commented Dec 13, 2024

Problem solved

Short description of the bug fixed or feature added NEB-16


PR-Codex overview

This PR introduces the Nebula feature, enhancing the application with a new AI interface for blockchain interactions. It includes sidebar links, new icons, and documentation updates to support functionalities like gas fee payments and API interactions.

Detailed summary

  • Added Nebula link in Header.tsx.
  • Introduced ERC-20 Paymaster link in sidebar.tsx.
  • Created a new sidebar in nebula/sidebar.tsx.
  • Implemented Nebula layout in nebula/layout.tsx.
  • Updated layout.tsx with a new banner for Nebula.
  • Added NebulaIcon in icons/index.ts.
  • Developed NebulaSection in page.tsx.
  • Created NebulaIcon component in nebula/NebulaIcon.tsx.
  • Added content to nebula/page.mdx explaining its features.
  • Documented Nebula API Reference in api-reference/page.mdx.
  • Enhanced ERC-20 Paymaster documentation in erc-20-paymaster/page.mdx.

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

@saminacodes saminacodes requested a review from a team as a code owner December 13, 2024 04:22
@saminacodes saminacodes requested a review from a team December 13, 2024 04:22
@saminacodes saminacodes requested a review from a team as a code owner December 13, 2024 04:22
Copy link

changeset-bot bot commented Dec 13, 2024

⚠️ No Changeset found

Latest commit: 8b18782

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 Dec 13, 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 Dec 16, 2024 7:23pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
thirdweb_playground ⬜️ Skipped (Inspect) Dec 16, 2024 7:23pm
thirdweb-www ⬜️ Skipped (Inspect) Dec 16, 2024 7:23pm
wallet-ui ⬜️ Skipped (Inspect) Dec 16, 2024 7:23pm

Copy link

graphite-app bot commented Dec 13, 2024

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.

Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.01%. Comparing base (b173ad2) to head (8b18782).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5720   +/-   ##
=======================================
  Coverage   53.01%   53.01%           
=======================================
  Files        1101     1101           
  Lines       59079    59079           
  Branches     4806     4806           
=======================================
  Hits        31318    31318           
  Misses      27043    27043           
  Partials      718      718           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 84e4ce3
packages 50.14% <ø> (ø)

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

Copy link
Contributor

github-actions bot commented Dec 13, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 44.94 KB (-0.06% 🔽) 899 ms (-0.06% 🔽) 266 ms (+63.95% 🔺) 1.2 s
thirdweb (cjs) 110.78 KB (0%) 2.3 s (0%) 381 ms (+10.16% 🔺) 2.6 s
thirdweb (minimal + tree-shaking) 5.58 KB (0%) 112 ms (0%) 27 ms (+238.56% 🔺) 139 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 3 ms (-15.11% 🔽) 13 ms
thirdweb/react (minimal + tree-shaking) 19.03 KB (0%) 381 ms (0%) 127 ms (+265.66% 🔺) 507 ms

@vercel vercel bot temporarily deployed to Preview – thirdweb-www December 13, 2024 04:30 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 13, 2024 04:30 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 13, 2024 04:30 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 13, 2024 18:17 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 13, 2024 18:17 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www December 13, 2024 18:17 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www December 13, 2024 20:31 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 13, 2024 20:31 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 13, 2024 20:31 Inactive
Comment on lines +170 to +174
const eventSource = new EventSource('/chat', {
headers: {
'x-secret-key': 'YOUR_THIRDWEB_SECRET_KEY'
}
});
Copy link

Choose a reason for hiding this comment

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

The EventSource API does not support custom headers in its constructor. To authenticate requests, either:

  1. Pass the secret key as a URL parameter:
const eventSource = new EventSource('/chat?secret=YOUR_THIRDWEB_SECRET_KEY');
  1. Use the Fetch API with ReadableStream for streaming support:
const response = await fetch('/chat', {
  headers: {
    'x-secret-key': 'YOUR_THIRDWEB_SECRET_KEY'
  }
});
const reader = response.body.getReader();

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

apps/portal/tsconfig.json Outdated Show resolved Hide resolved
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.

overall LGTM - left a question for @MananTank

@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 16, 2024 19:15 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www December 16, 2024 19:15 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 16, 2024 19:15 Inactive
@saminacodes saminacodes enabled auto-merge (squash) December 16, 2024 19:25
@jnsdls jnsdls disabled auto-merge December 16, 2024 19:53
@jnsdls jnsdls merged commit b205280 into main Dec 16, 2024
31 checks passed
@jnsdls jnsdls deleted the nebula-docs branch December 16, 2024 19:53
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.

5 participants