Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Jan 15, 2025

PR-Codex overview

This PR focuses on adding a new type ExamplePrompt and an array examplePrompts containing various example prompts for user interaction. It replaces hardcoded prompts in the EmptyStateChatPageContent component with dynamic rendering from the examplePrompts array.

Detailed summary

  • Introduced type ExamplePrompt with title and message properties.
  • Created examplePrompts array with multiple example prompts.
  • Updated EmptyStateChatPageContent to use examplePrompts instead of hardcoded prompts.
  • Each ExamplePrompt now dynamically renders based on the examplePrompts array.

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

@linear
Copy link

linear bot commented Jan 15, 2025

@vercel
Copy link

vercel bot commented Jan 15, 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 Jan 16, 2025 0:41am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Jan 16, 2025 0:41am
thirdweb_playground ⬜️ Skipped (Inspect) Jan 16, 2025 0:41am
wallet-ui ⬜️ Skipped (Inspect) Jan 16, 2025 0:41am

@changeset-bot
Copy link

changeset-bot bot commented Jan 15, 2025

⚠️ No Changeset found

Latest commit: 15178b2

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 – wallet-ui January 15, 2025 17:57 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 15, 2025 17:57 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 January 15, 2025 17:57 Inactive
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Jan 15, 2025
Copy link
Member Author


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 marked this pull request as ready for review January 15, 2025 17:57
@MananTank MananTank requested review from a team as code owners January 15, 2025 17:57
@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 46.68 KB (0%) 934 ms (0%) 829 ms (+117.63% 🔺) 1.8 s
thirdweb (cjs) 116.72 KB (0%) 2.4 s (0%) 887 ms (+15.68% 🔺) 3.3 s
thirdweb (minimal + tree-shaking) 5.59 KB (0%) 112 ms (0%) 76 ms (-6.04% 🔽) 188 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 7 ms (-58.55% 🔽) 17 ms
thirdweb/react (minimal + tree-shaking) 19.24 KB (0%) 385 ms (0%) 231 ms (+138.35% 🔺) 616 ms

@codecov
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.82%. Comparing base (afd0ccf) to head (15178b2).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5957   +/-   ##
=======================================
  Coverage   54.82%   54.82%           
=======================================
  Files        1150     1150           
  Lines       61194    61194           
  Branches     5155     5155           
=======================================
  Hits        33549    33549           
  Misses      26918    26918           
  Partials      727      727           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from afd0ccf
packages 52.47% <ø> (ø)

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

@graphite-app
Copy link
Contributor

graphite-app bot commented Jan 16, 2025

Merge activity

<!-- start pr-codex -->

## PR-Codex overview
This PR introduces a new type `ExamplePrompt` and a list of example prompts in `examplePrompts.ts`. It replaces hardcoded example prompts in `EmptyStateChatPageContent.tsx` with a dynamic mapping from the newly created `examplePrompts`, enhancing maintainability and readability.

### Detailed summary
- Added type `ExamplePrompt` with `title` and `message` properties.
- Created `examplePrompts` array containing several example prompts.
- Refactored `EmptyStateChatPageContent.tsx` to dynamically render `ExamplePrompt` components using `examplePrompts`.
- Removed hardcoded example prompts from `EmptyStateChatPageContent.tsx`.

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

<!-- end pr-codex -->
@MananTank MananTank force-pushed the 01-15-_neb-71_nebula_update_example_prompts branch from 143bd11 to 15178b2 Compare January 16, 2025 00:38
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 16, 2025 00:38 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 January 16, 2025 00:38 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui January 16, 2025 00:38 Inactive
@graphite-app graphite-app bot merged commit 15178b2 into main Jan 16, 2025
32 checks passed
@graphite-app graphite-app bot deleted the 01-15-_neb-71_nebula_update_example_prompts branch January 16, 2025 01:05
@vercel vercel bot temporarily deployed to Production – wallet-ui January 16, 2025 01:05 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 January 16, 2025 01:05 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground January 16, 2025 01:05 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