Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented May 1, 2025


PR-Codex overview

This PR focuses on refactoring the chat page functionality by removing the dependency on newChatPageUrlStore and adapting the logic for determining the chat page link based on the selected layout segment.

Detailed summary

  • Removed newChatPageUrlStore from stores.ts and useNewChatPageLink.ts.
  • Updated useNewChatPageLink to use useSelectedLayoutSegment for determining the return URL.
  • Removed the setSessionId callback logic that updated the URL and newChatPageUrlStore in ChatPageContent.tsx.
  • Changed _setSessionId to setSessionId in ChatPageContent.tsx.

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

@linear
Copy link

linear bot commented May 1, 2025

@vercel
Copy link

vercel bot commented May 1, 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 May 1, 2025 6:07pm
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) May 1, 2025 6:07pm
login ⬜️ Skipped (Inspect) May 1, 2025 6:07pm
thirdweb_playground ⬜️ Skipped (Inspect) May 1, 2025 6:07pm
wallet-ui ⬜️ Skipped (Inspect) May 1, 2025 6:07pm

@vercel vercel bot temporarily deployed to Preview – thirdweb_playground May 1, 2025 17:09 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 May 1, 2025 17:09 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui May 1, 2025 17:09 Inactive
@vercel vercel bot temporarily deployed to Preview – login May 1, 2025 17:09 Inactive
@changeset-bot
Copy link

changeset-bot bot commented May 1, 2025

⚠️ No Changeset found

Latest commit: a317772

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

@MananTank MananTank marked this pull request as ready for review May 1, 2025 17:09
@MananTank MananTank requested review from a team as code owners May 1, 2025 17:09
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label May 1, 2025
Copy link
Member Author

MananTank commented May 1, 2025


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 added the hotfix This pull request should be prioritized in the merge queue. label May 1, 2025 — with Graphite App
@codecov
Copy link

codecov bot commented May 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.11%. Comparing base (cef477d) to head (a317772).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6912   +/-   ##
=======================================
  Coverage   55.11%   55.11%           
=======================================
  Files         896      896           
  Lines       57192    57192           
  Branches     3955     3955           
=======================================
  Hits        31519    31519           
  Misses      25576    25576           
  Partials       97       97           
Flag Coverage Δ
packages 55.11% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Contributor

github-actions bot commented May 1, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 51.19 KB (0%) 1.1 s (0%) 247 ms (+124.58% 🔺) 1.3 s
thirdweb (cjs) 143.86 KB (0%) 2.9 s (0%) 407 ms (+37.68% 🔺) 3.3 s
thirdweb (minimal + tree-shaking) 5.67 KB (0%) 114 ms (0%) 96 ms (+1423.38% 🔺) 210 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 21 ms (+575.25% 🔺) 32 ms
thirdweb/react (minimal + tree-shaking) 19.38 KB (0%) 388 ms (0%) 95 ms (+354.84% 🔺) 482 ms

@graphite-app
Copy link
Contributor

graphite-app bot commented May 1, 2025

Merge activity

<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the chat application by removing the usage of `newChatPageUrlStore` and replacing it with layout segment navigation. It streamlines the chat page link logic and cleans up unused code related to session ID management.

### Detailed summary
- Removed `newChatPageUrlStore` from `stores.ts` and `useNewChatPageLink.ts`.
- Updated `useNewChatPageLink` to use `useSelectedLayoutSegment` for navigation.
- Removed session ID management logic from `ChatPageContent.tsx`.
- Cleaned up unused state and callback related to session ID.

> ✨ 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 May 1, 2025 18:00 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui May 1, 2025 18:00 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 May 1, 2025 18:00 Inactive
@vercel vercel bot temporarily deployed to Preview – login May 1, 2025 18:00 Inactive
@graphite-app graphite-app bot merged commit a317772 into main May 1, 2025
23 checks passed
@graphite-app graphite-app bot deleted the neb-225 branch May 1, 2025 18:08
@graphite-app graphite-app bot removed the hotfix This pull request should be prioritized in the merge queue. label May 1, 2025
@vercel vercel bot temporarily deployed to Production – login May 1, 2025 18:08 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground May 1, 2025 18:08 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui May 1, 2025 18:08 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 May 1, 2025 18:08 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.

4 participants