twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
GNU Affero General Public License v3.0
15.14k stars 1.52k forks source link

[Timebox] Migrate `Link` Field Type to the new `Links` field type #5909

Open Bonapara opened 1 month ago

Bonapara commented 1 month ago

Current behavior

We do offer two Link field types: Link and Links

CleanShot 2024-06-17 at 16 33 40

Desired Behavior

We should migrate the Link field type to the new Links field type

greptile-apps[bot] commented 1 month ago
  1. Update type guards in src/types/guards.ts to replace Link with Links.
  2. Modify input components in src/components/inputs to use Links instead of Link.
  3. Update hooks in src/hooks to handle Links field type.
  4. Change composite type definitions in src/types/composite.ts to use Links.
  5. Refactor any usage of Link in src/utils to Links.
  6. Ensure all references in src/schema are updated to Links.

References

charlesBochet commented 1 month ago

We want to keep Links

charlesBochet commented 1 month ago

Maybe a 0-21 command to make the migration manually?