twenty icon indicating copy to clipboard operation
twenty copied to clipboard

Object creation takes too long

Open Bonapara opened this issue 9 months ago • 2 comments

Description

Creating a custom object takes around 4s. If you mistakenly click the create button twice, an "object already exists" error will appear.

https://github.com/twentyhq/twenty/assets/19412894/06a95c7b-f5de-4ac0-80d8-6ad5d33d24fc

Desired Behavior

  • We want to show a loading indicator in the button after clicking. (See below)
  • We want to prevent the "this object already exists" error from appearing when the button is clicked twice.
  • We should also cut down the loading time.

Button loader:

https://github.com/twentyhq/twenty/assets/19412894/53f51de3-2ec2-4320-a972-aa6e6019bda5

Bonapara avatar May 03 '24 13:05 Bonapara

All set, @JustGJ. Thanks for contributing and good luck!

Bonapara avatar May 06 '24 09:05 Bonapara

I can work on this @Bonapara @FelixMalfait @charlesBochet

pacyL2K19 avatar May 29 '24 09:05 pacyL2K19

I am assigning you then @pacyL2K19, thanks for contributing!

Bonapara avatar May 29 '24 10:05 Bonapara