Changed the auto matching of columns in import (#12181)

This PR changes the way we do automatching in the import feature.

It uses [Fuse.js](https://www.fusejs.io/) to do a fuzzy text search on
fields and sub-fields.

The labels of sub-fields are now derived from the common config constant
we have for sub-fields.
This commit is contained in:
Lucas Bordeau
2025-05-23 18:33:18 +02:00
committed by GitHub
parent f7ccb5d207
commit 371fdba1f8
9 changed files with 121 additions and 46 deletions

View File

@ -35813,7 +35813,7 @@ __metadata:
languageName: node
linkType: hard
"fuse.js@npm:^7.0.0":
"fuse.js@npm:^7.0.0, fuse.js@npm:^7.1.0":
version: 7.1.0
resolution: "fuse.js@npm:7.1.0"
checksum: 10c0/c0d1b1d192a4bdf3eade897453ddd28aff96b70bf3e49161a45880f9845ebaee97265595db633776700a5bcf8942223c752754a848d70c508c3c9fd997faad1e
@ -55988,6 +55988,7 @@ __metadata:
facepaint: "npm:^1.2.1"
file-type: "npm:16.5.4"
framer-motion: "npm:^11.18.0"
fuse.js: "npm:^7.1.0"
googleapis: "npm:105"
graphiql: "npm:^3.1.1"
graphql: "npm:16.8.0"