twenty/packages
gitstart-app[bot] 9898ca3e53
TWNTY-6135 - Improve Data Importer Select Matching (#6338)
### Description:

- we move all logic about the unmatchedOptions to a new component called
UnmatchColumn, because as it will be a full line in the table, it was
better to update where the component will be rendered
- In the latest changes to keep the columns when we change the step to
step 3 and go back to step 2, we added a fallback state
initialComputedColumnsState that saves the columns and only reverts the
updates when we go back to step 1 or close by clicking the X button

### Refs: 

#6135

```
It was necessary to add references and floating styles to the generic component to fix the bug when the last option was open and the dropdown was being hidden in the next row of the spreadsheet table. We fixed the same problem that occurs in the companies table as well
```

we used this approach mentioned on this documentation to be able to use
the hook without calling it on each component, we are calling only once,
on the shared component
<https://floating-ui.com/docs/useFloating#elements>\
before:


![](https://assets-service.gitstart.com/25493/2c994e0f-6548-4a9e-8b22-2c6eccb73b2e.png)

now:


![](https://assets-service.gitstart.com/25493/f56fd516-7e95-4616-b1ed-c9ea5195a8ae.png)###
Demo: <https://jam.dev/c/e0e0b921-7551-4a94-ac1c-8a50c53fdb0c>

Fixes #6135

NOTES: the enter key are not working on main branch too

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-08-22 17:42:49 +02:00
..
twenty-chrome-extension Improve performance twenty orm (#6691) 2024-08-20 19:42:02 +02:00
twenty-docker Lumosviridi v20 kubernetes updates (#6356) 2024-08-08 13:55:45 +02:00
twenty-e2e-testing feat(e2e): twenty-e2e-testing with playwright (#6539) 2024-08-14 17:23:32 +02:00
twenty-emails Bump version to 0.23.2 2024-08-21 15:39:55 +02:00
twenty-front TWNTY-6135 - Improve Data Importer Select Matching (#6338) 2024-08-22 17:42:49 +02:00
twenty-postgres Upgrade pg graphql version to 1.5.6 (#5937) 2024-06-18 17:34:16 +02:00
twenty-server Make workspaceMemberId optional in JWT for workspaces that are not ACTIVE (#6714) 2024-08-22 00:28:19 +02:00
twenty-ui TWNTY-6135 - Improve Data Importer Select Matching (#6338) 2024-08-22 17:42:49 +02:00
twenty-utils Fix docs build in CI (#5826) 2024-06-11 19:06:37 +02:00
twenty-website Bump version to 0.23.2 2024-08-21 15:39:55 +02:00
twenty-zapier [Fix] Remove usage of deprecated FieldMetadata type probability (#6279) 2024-07-16 11:36:10 +02:00