-
Notifications
You must be signed in to change notification settings - Fork 565
[NEB-179] Nebula: Update context UI when context event type is received #6770
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
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 #6770 +/- ##
=======================================
Coverage 55.18% 55.18%
=======================================
Files 896 896
Lines 56924 56924
Branches 3943 3943
=======================================
Hits 31412 31412
Misses 25416 25416
Partials 96 96
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
…ed (#6770) <!-- ## 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 enhancing the `ChatSidebar`, `ChatPageContent`, and `FloatingChatContent` components by adding new properties and functionality related to context management and event handling within the chat application. ### Detailed summary - Updated `<NebulaConnectWallet />` to accept `detailsButtonClassName` prop. - Improved `code` component to handle class names and text length conditions. - Added new event handling for "context" in the chat API. - Extended `ChatStreamedResponse` and `ChatStreamedEvent` types to include "context" data. - Integrated `setContextFilters` functionality in `ChatPageContent` and `FloatingChatContent` components. - Refactored `contextFilters` state management in `FloatingChatContent`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
72e92ff
to
96689c6
Compare
5543eb0
to
d0bf3f3
Compare
PR-Codex overview
This PR focuses on enhancing the
ChatSidebar
,ChatPageContent
, andFloatingChatContent
components by adding context handling and modifying how context filters are managed. It also improves themarkdown-renderer
logic for code highlighting and updates the handling of streamed events.Detailed summary
ChatSidebar
to include adetailsButtonClassName
prop inNebulaConnectWallet
.markdown-renderer
to check for class names and text length for code highlighting.ChatPageContent
to includesetContextFilters
in dependencies and state management.handleNebulaPrompt
to process "context" events and set context filters accordingly.FloatingChatContent
to useuseState
forcontextFilters
instead ofuseMemo
.