-
Notifications
You must be signed in to change notification settings - Fork 621
Nebula: Fix chat session randomly showing empty state after first prompt #6744
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
Nebula: Fix chat session randomly showing empty state after first prompt #6744
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6744 +/- ##
=======================================
Coverage 54.80% 54.80%
=======================================
Files 895 895
Lines 56384 56384
Branches 3848 3848
=======================================
Hits 30899 30899
Misses 25390 25390
Partials 95 95
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
…mpt (#6744) <!-- ## 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 addresses an issue with updating the page URL in the `ChatPageContent.tsx` file due to changes in Next.js behavior. The existing method for updating the URL is commented out, and a temporary solution is proposed. ### Detailed summary - Commented out the line: `window.history.replaceState({}, "", `/chat/${sessionId}`);` - Added comments explaining that the URL update does not work anymore due to Next.js changes. - Stated intention to not update the URL until a better solution is found. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
fbc52d4 to
5463baa
Compare

PR-Codex overview
This PR addresses an issue with updating the page URL in the
ChatPageContent.tsxfile due to a change in behavior by Next.js. The code that attempted to update the URL usingwindow.history.replaceStatehas been commented out as it no longer functions as intended.Detailed summary
window.history.replaceState.