Skip to content

Make invalid import rows actionable#25

Merged
sidhujag merged 2 commits intomasterfrom
improve/import-line-actions
Apr 24, 2026
Merged

Make invalid import rows actionable#25
sidhujag merged 2 commits intomasterfrom
improve/import-line-actions

Conversation

@sidhujag
Copy link
Copy Markdown
Member

Summary

  • Let invalid and duplicate import validation rows select the exact source line in the textarea.
  • Add a hover/focus remove action for invalid and duplicate rows to delete the offending line and revalidate.
  • Cover source-line selection and remove-line behavior in the import modal tests.

Test plan

  • CI=true npm test -- --watch=false --runInBand src/components/VaultImportModal.test.js src/lib/vaultData.test.js

Made with Cursor

Let users jump directly to or remove invalid and duplicate paste lines from the validation list so line-number errors are easier to correct.

Made-with: Cursor
@sidhujag
Copy link
Copy Markdown
Member Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c5d709da5a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/components/VaultImportModal.js
Ignore bubbled key events from row children so the remove-line button remains keyboard accessible while row shortcuts still select source lines.

Made-with: Cursor
@sidhujag
Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@sidhujag sidhujag merged commit e23b8c8 into master Apr 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant