Move import options into CreateWalletImportScene#5986
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Number-pad keyboard with unsupported returnKeyType on iOS
- Added platform-aware returnKeyType that uses undefined on iOS when inputType is number-pad, following the platform-keyboard rule.
Or push these changes by commenting:
@cursor push f9697bdd3f
Preview (f9697bdd3f)
diff --git a/src/components/scenes/CreateWalletImportScene.tsx b/src/components/scenes/CreateWalletImportScene.tsx
--- a/src/components/scenes/CreateWalletImportScene.tsx
+++ b/src/components/scenes/CreateWalletImportScene.tsx
@@ -318,7 +318,11 @@
onChangeText={(text: string) => {
handleOptionChange(text, pluginId, opt)
}}
- returnKeyType="done"
+ returnKeyType={
+ opt.inputType === 'number-pad' && Platform.OS === 'ios'
+ ? undefined
+ : 'done'
+ }
/>
)
})}This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| if (item == null) return null | ||
|
|
||
| const { value, error } = item | ||
| const { knowledgeBaseUri } = opt.displayDescription ?? {} |
There was a problem hiding this comment.
Import option description message text is dropped
Medium Severity
The displayDescription.message field is no longer displayed anywhere in the new inline input UI. Only knowledgeBaseUri is destructured at line 304, and the message property is silently ignored. Previously, the TextInputModal rendered this message as descriptive text (e.g., "The birthday height is the network block height…" or "A passphrase is an optional extra word or phrase you add to your recovery seed"). For the monero passphrase option, which has no knowledgeBaseUri, the user now receives zero contextual guidance about the field's purpose.
peachbits
left a comment
There was a problem hiding this comment.
The support team may care about the description getting left out, but I don't.
258aad7 to
df3f7aa
Compare



Additional change on #5982. This replaces that PR
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
noneRequirements
If you have made any visual changes to the GUI. Make sure you have:
Note
Medium Risk
Touches the wallet import flow UI and validation for per-currency import options, which could block imports or mis-handle required fields if regressions occur. Changes are localized to the import scene plus lint config.
Overview
Refactors
CreateWalletImportSceneto collect import key options inline instead of via an editable row + modal, usingFilledTextInputfields with per-option validation/required handling.Adds an in-row info button that opens any option
knowledgeBaseUri, shows the currency header only when multiple plugins are present, and tweaks return-key behavior and spacing styles. Updateseslint.config.mjsto includeCreateWalletCompletionScene.tsxin the TypeScript project-service linting block.Written by Cursor Bugbot for commit df3f7aa. This will update automatically on new commits. Configure here.