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

adds missing async to connect docs #5789

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

adds missing async to connect docs #5789

wants to merge 1 commit into from

Conversation

nischitpra
Copy link

@nischitpra nischitpra commented Dec 18, 2024

Problem solved

Adds missing async to connect callbacks in documentation


PR-Codex overview

This PR focuses on updating the connect function calls to use an asynchronous callback pattern in various handleLogin functions across different files, enhancing the handling of asynchronous operations.

Detailed summary

  • Changed await connect(() => {...}) to await connect(async () => {...}) in multiple handleLogin functions:
    • apps/portal/src/app/connect/in-app-wallet/custom-auth/configuration/page.mdx
    • apps/portal/src/app/connect/in-app-wallet/guides/build-your-own-ui/page.mdx
    • apps/portal/src/app/react/v5/in-app-wallet/build-your-own-ui/page.mdx

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

@nischitpra nischitpra requested review from jakubkrehel and a team as code owners December 18, 2024 02:04
Copy link

changeset-bot bot commented Dec 18, 2024

⚠️ No Changeset found

Latest commit: eb8e70c

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

Copy link

graphite-app bot commented Dec 18, 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.

@github-actions github-actions bot added the Portal Involves changes to the Portal (docs) codebase. label Dec 18, 2024
Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.02%. Comparing base (7d8566e) to head (eb8e70c).
Report is 37 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5789   +/-   ##
=======================================
  Coverage   53.02%   53.02%           
=======================================
  Files        1101     1101           
  Lines       59080    59080           
  Branches     4810     4809    -1     
=======================================
  Hits        31328    31328           
  Misses      27034    27034           
  Partials      718      718           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 7d8566e
packages 50.16% <ø> (ø)

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

Copy link
Contributor

github-actions bot commented Dec 18, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 44.94 KB (0%) 899 ms (0%) 516 ms (+0.18% 🔺) 1.5 s
thirdweb (cjs) 110.85 KB (0%) 2.3 s (0%) 1.1 s (+24.83% 🔺) 3.3 s
thirdweb (minimal + tree-shaking) 5.58 KB (0%) 112 ms (0%) 95 ms (+104.97% 🔺) 206 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 32 ms (+11.55% 🔺) 42 ms
thirdweb/react (minimal + tree-shaking) 19.07 KB (0%) 382 ms (0%) 223 ms (+135.38% 🔺) 604 ms

@gregfromstl gregfromstl added the merge-queue Adds the pull request to Graphite's merge queue. label Dec 18, 2024
Copy link

graphite-app bot commented Dec 18, 2024

Merge activity

  • Dec 18, 2:47 AM UTC: @gregfromstl we removed the merge queue label because we could not find a Graphite account associated with your GitHub profile.

You must have a Graphite account in order to use the merge queue. Create an account and try again using this link

  • Dec 18, 2:47 AM UTC: @gregfromstl we removed the merge queue label because we could not find a Graphite account associated with your GitHub profile.

You must have a Graphite account in order to use the merge queue. Create an account and try again using this link

  • Dec 17, 9:51 PM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 18, 3:57 PM EST: A user added this pull request to the Graphite merge queue.
  • Dec 18, 4:19 PM EST: The Graphite merge queue couldn't merge this PR because it had conflicts with the trunk branch.
  • Dec 18, 6:12 PM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 18, 6:12 PM EST: Graphite disabled "merge when ready" on this PR due to: a merge conflict with the target branch; resolve the conflict and try again..
  • Dec 18, 6:12 PM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 18, 7:14 PM EST: A user added this pull request to the Graphite merge queue.
  • Dec 18, 7:56 PM EST: The Graphite merge queue couldn't merge this PR because it had conflicts with the trunk branch.
  • Dec 23, 5:43 PM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 23, 5:48 PM EST: A user added this pull request to the Graphite merge queue.
  • Dec 23, 6:18 PM EST: The Graphite merge queue couldn't merge this PR because it had conflicts with the trunk branch.

@graphite-app graphite-app bot removed the merge-queue Adds the pull request to Graphite's merge queue. label Dec 18, 2024
@nischitpra nischitpra added the merge-queue Adds the pull request to Graphite's merge queue. label Dec 18, 2024
nischitpra added a commit that referenced this pull request Dec 18, 2024
## Problem solved

Adds missing `async` to connect callbacks in documentation

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `connect` function calls in multiple files to use an asynchronous arrow function instead of a regular function. This change enhances the handling of asynchronous operations within the `connect` function.

### Detailed summary
- Updated `connect` function calls in `page.mdx` files to use `async () =>` instead of `() =>`.
- Changes made in:
  - `apps/portal/src/app/connect/in-app-wallet/custom-auth/configuration/page.mdx`
  - `apps/portal/src/app/connect/in-app-wallet/guides/build-your-own-ui/page.mdx`
  - `apps/portal/src/app/react/v5/in-app-wallet/build-your-own-ui/page.mdx`

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

<!-- end pr-codex -->
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 18, 2024 20:56 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 18, 2024 20:56 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www December 18, 2024 20:56 Inactive
nischitpra added a commit that referenced this pull request Dec 18, 2024
## Problem solved

Adds missing `async` to connect callbacks in documentation

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on modifying the `connect` function calls in various files to use an asynchronous callback, enhancing the handling of asynchronous operations during user authentication processes.

### Detailed summary
- Changed `await connect(() => {` to `await connect(async () => {` in multiple files:
  - `apps/portal/src/app/connect/in-app-wallet/custom-auth/configuration/page.mdx`
  - `apps/portal/src/app/connect/in-app-wallet/guides/build-your-own-ui/page.mdx`
  - `apps/portal/src/app/react/v5/in-app-wallet/build-your-own-ui/page.mdx`

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

<!-- end pr-codex -->
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 18, 2024 20:58 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www December 18, 2024 20:58 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 18, 2024 20:58 Inactive
## Problem solved

Adds missing `async` to connect callbacks in documentation

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `connect` function calls in several files to use an asynchronous callback, enhancing the handling of post-login connections.

### Detailed summary
- Changed `await connect(() => {` to `await connect(async () => {` in multiple instances across different files:
  - `apps/portal/src/app/connect/in-app-wallet/custom-auth/configuration/page.mdx`
  - `apps/portal/src/app/connect/in-app-wallet/guides/build-your-own-ui/page.mdx`
  - `apps/portal/src/app/connect/in-app-wallet/guides/build-your-own-ui/page.mdx`
  - `apps/portal/src/app/react/v5/in-app-wallet/build-your-own-ui/page.mdx`

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

<!-- end pr-codex -->
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 18, 2024 21:00 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 18, 2024 21:00 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www December 18, 2024 21:00 Inactive
@graphite-app graphite-app bot removed the merge-queue Adds the pull request to Graphite's merge queue. label Dec 18, 2024
@gregfromstl gregfromstl added the merge-queue Adds the pull request to Graphite's merge queue. label Dec 18, 2024
@graphite-app graphite-app bot removed the merge-queue Adds the pull request to Graphite's merge queue. label Dec 19, 2024
@gregfromstl gregfromstl added the merge-queue Adds the pull request to Graphite's merge queue. label Dec 23, 2024
@graphite-app graphite-app bot removed the merge-queue Adds the pull request to Graphite's merge queue. label Dec 23, 2024
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.

3 participants