Skip to content

Add Copilot autofill suggestions panel to mapping step#620

Merged
markus-moser merged 14 commits into
2.4from
feature/copilot-autofill-suggestions-2.4
May 21, 2026
Merged

Add Copilot autofill suggestions panel to mapping step#620
markus-moser merged 14 commits into
2.4from
feature/copilot-autofill-suggestions-2.4

Conversation

@markus-moser
Copy link
Copy Markdown
Contributor

@markus-moser markus-moser commented May 21, 2026

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

  • Confidence-scored suggestions using token-set Jaccard + bigram similarity
  • Locale-aware matching: description_dedescription field with de language tag (uses configured validLanguages from settings)
  • Preview result column with row navigation
  • Select-all / deselect-all in footer

Resolves #577 + #510

markus-moser and others added 5 commits May 21, 2026 15:24
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
@markus-moser markus-moser force-pushed the feature/copilot-autofill-suggestions-2.4 branch from efbf700 to 6c86498 Compare May 21, 2026 15:29
@sonarqubecloud
Copy link
Copy Markdown

@markus-moser markus-moser added this to the 2.4.4 milestone May 21, 2026
@markus-moser markus-moser merged commit 82da04d into 2.4 May 21, 2026
1 check passed
@markus-moser markus-moser deleted the feature/copilot-autofill-suggestions-2.4 branch May 21, 2026 15:44
@github-actions github-actions Bot locked and limited conversation to collaborators May 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant