-
Notifications
You must be signed in to change notification settings - Fork 400
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
[TOOL-2807] Nebula: Fix incorrect prepared transaction object, Fix sign_transaction action not shown properly on page reload #5809
[TOOL-2807] Nebula: Fix incorrect prepared transaction object, Fix sign_transaction action not shown properly on page reload #5809
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. |
4fa3eb7
to
32f1bbf
Compare
32f1bbf
to
74a1d99
Compare
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5809 +/- ##
=======================================
Coverage 53.34% 53.34%
=======================================
Files 1101 1101
Lines 59124 59124
Branches 4825 4825
=======================================
Hits 31541 31541
Misses 26864 26864
Partials 719 719
*This pull request uses carry forward flags. Click here to find out more. |
Merge activity
|
…gn_transaction action not shown properly on page reload (#5809) ## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the `Chat` component's handling of transaction messages, introducing a new transaction data structure, and modifying related components to support this change. ### Detailed summary - Updated `role` in `types.ts` to include `"action"`. - Replaced `SendTransactionOption` with `NebulaTxData` in `chat.ts`. - Refactored message handling in `ChatPageContent.tsx` to support transaction messages. - Created `NebulaTxData` type with properties for transaction details. - Adjusted `Chats.tsx` to utilize `NebulaTxData` in various functions. - Modified `SendTransactionButton` to prepare and send transactions using the new data structure. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
74a1d99
to
b2a52d9
Compare
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR updates the handling of chat messages and transaction data in the
nebula-app
. It introduces a new structure for transaction data and modifies how chat messages are processed, particularly focusing on the "action" role.Detailed summary
action
role to thehistory
type intypes.ts
.SendTransactionOption
withNebulaTxData
inchat.ts
.ChatPageContent.tsx
to handleaction
messages.Chats.tsx
to useNebulaTxData
for transaction data.SendTransactionButton
.