fix: add create for partial matches#3256
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
📝 WalkthroughWalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant ExternalIdField
participant IdentitiesList
participant CreateIdentityMutation
User->>ExternalIdField: Types in search input
ExternalIdField->>IdentitiesList: Filter identities by search input
alt Exact match exists
ExternalIdField->>User: Show matching identities
else Partial matches only
ExternalIdField->>User: Show partial matches + "Create" option
User->>ExternalIdField: Selects "Create" option
ExternalIdField->>CreateIdentityMutation: Trigger create mutation with input
CreateIdentityMutation-->>ExternalIdField: Return new identity
ExternalIdField->>User: Update selection with new identity
end
alt No matches and input non-empty
ExternalIdField->>User: Show warning and create prompt
end
Assessment against linked issues
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (11)
🔇 Additional comments (8)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Thank you for following the naming conventions for pull request titles! 🙏 |
What does this PR do?
Adds inline create button for partially matches identities(External IDs)
Fixes #3248
Type of change
How should this be tested?
Checklist
Required
pnpm buildpnpm fmtconsole.logsgit pull origin mainAppreciated
Summary by CodeRabbit
New Features
Bug Fixes