Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 9, 2026

This is an automated pull request to merge tofik/vendor-multiple-suggestions into dev.
It was created by the [Auto Pull Request] action.

@vercel
Copy link

vercel bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
app Ready Ready Preview, Comment Jan 10, 2026 6:38pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
portal Skipped Skipped Jan 10, 2026 6:38pm

@cursor
Copy link

cursor bot commented Jan 9, 2026

PR Summary

Enhances vendor creation flow with autocomplete and stronger backend safeguards.

  • New UI: VendorNameAutocompleteField with debounced global vendor search, de-duplication, and quick-fill for name, website, and description.
  • Form refactor: Extracted create-vendor-form-schema, reset state on sheet close, guarded double-submits, and delayed close after success; simplified layout.
  • Backend validation: Trimmed name in schema; switched unauthorized cases to structured { success: false, error } responses; added case-insensitive duplicate name check per organization.
  • Data sync: After creating a vendor, upserts GlobalVendors by normalized website (updates company_name, sets company_description if missing) so search suggestions are immediate.
  • Risk assessment: Keeps best-effort trigger and logs; frontend triggers optional research after successful create.

Written by Cursor Bugbot for commit 6272569. This will update automatically on new commits. Configure here.

@tofikwest tofikwest merged commit 6272146 into main Jan 10, 2026
10 checks passed
@tofikwest tofikwest deleted the tofik/vendor-multiple-suggestions branch January 10, 2026 21:41
@claudfuen
Copy link
Contributor

🎉 This PR is included in version 1.76.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants