twentyhq / twenty

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

Add a create new button on relation picker #3729

Open lucasbordeau opened 4 months ago

lucasbordeau commented 4 months ago

Scope & Context

Relation picker on a relation field.

Current behavior

We can select from a list of objects in a relation picker.

Expected behavior

We want to be able to create an object from a relation picker

image

https://www.figma.com/file/xt8O9mFeLl46C5InWwoMrN/Twenty?type=design&node-id=17404-41837&mode=design&t=FgTQBl2iVzooomzb-11

Tech specs :

It should be the same experience as when we create a new record table row, with the input field taking the focus, you can find it on people or companies tables.

Linked issue : https://github.com/twentyhq/twenty/issues/2965

anoopw3bdev commented 4 months ago

@lucasbordeau I would like to implement this. Please assign to me.

anoopw3bdev commented 4 months ago

Hello @lucasbordeau what is the expected completion date of this feature? I feel like I am taking more time to understand how components are organized and connected each other in the codebase and I am afraid I might not be able to complete it soon.

lucasbordeau commented 4 months ago

@anoopw3bdev There's no deadline right now, are you in our Discord server ?

anoopw3bdev commented 3 months ago

Sorry, I missed this thread @lucasbordeau yes I am in twenty Discord. Will try to resolve this in a week.

Thanks for the patience!

anoopw3bdev commented 3 months ago

Hi @lucasbordeau / @Bonapara do you have a design on how the UI will look like?

Bonapara commented 3 months ago

Hi @anoopw3bdev! Figma is running slowly. Here's the behavior:

https://github.com/twentyhq/twenty/assets/19412894/6ec7b734-06a4-4f64-9319-f100b9a0dcf4

Components

Screenshot 2024-03-13 at 09 00 12

Figma Links:

anoopw3bdev commented 3 months ago

Thanks a lot @Bonapara!