Add Copilot autofill suggestions panel to mapping step#620
Merged
Conversation
Replaces the one-click autofill with a scored suggestions modal: source columns are matched against class attributes using token-set Jaccard + bigram Jaccard similarity, locale suffixes are detected for localized fields, and users can review, select, and apply suggestions before any mappings are created. Preview rows are navigable via the shared usePreviewRecordQuery hook.
- Remove row dividers; add colorPrimaryBorder separator above footer - Fix footer border to only show when suggestions exist (not on empty state) - Fix select-all checkbox double-click by removing nested state updater - Fix footer vertical alignment by switching from array to single Flex - Use text-type nav buttons (borderless) to match Figma - Tighten header row and footer padding to match Figma spacing
- Add autofill-suggestions i18n keys to de, fr, es, it, no, sv - Remove dead previewRowIndex prop from AutofillSuggestionsPanelProps - Remove section divider comments and WHAT-only block comments from compute-autofill-suggestions.ts
efbf700 to
6c86498
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Replaces the one-click autofill button with a scored suggestions modal. Users can review, select/deselect, and apply suggestions before any mappings are created.
What's new
description_de→descriptionfield withdelanguage tag (uses configuredvalidLanguagesfrom settings)Resolves #577 + #510