-
Notifications
You must be signed in to change notification settings - Fork 543
[NEB-113] Save context chains in local storage #6452
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
[NEB-113] Save context chains in local storage #6452
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. |
size-limit report 📦
|
89b5752
to
9c69898
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6452 +/- ##
=======================================
Coverage 54.81% 54.81%
=======================================
Files 875 875
Lines 54851 54851
Branches 3735 3735
=======================================
Hits 30066 30066
Misses 24690 24690
Partials 95 95
🚀 New features to boost your workflow:
|
Merge activity
|
<!-- start pr-codex --> ## PR-Codex overview This PR focuses on enhancing the `ChatPageContent` component by implementing functionality to save and retrieve the last used chain IDs from local storage, ensuring that the user's selection persists across sessions. ### Detailed summary - Added `saveLastUsedChainIds` function to store chain IDs in local storage. - Implemented `getLastUsedChainIds` function to retrieve chain IDs from local storage. - Updated `updatedContextFilters` to use last used chain IDs if available. - Ensured wallet address is set only from a connected wallet. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
9c69898
to
1e8d1e4
Compare
PR-Codex overview
This PR focuses on enhancing the
ChatPageContent
component by implementing functionality to save and retrieve the last used chain IDs from local storage, improving user experience during sessions.Detailed summary
saveLastUsedChainIds
function to store chain IDs in local storage.getLastUsedChainIds
function to retrieve stored chain IDs.updatedContextFilters
to use last used chain IDs if available.