Charles Bochet
e93a96b3b1
Refactor hotkyes in its own lib folder ( #660 )
...
* Refactor hotkyes in its own lib folder
* Lint
* Fix PR comments
* rename hotkeysScope into hotkeyScope
2023-07-14 12:27:26 -07:00
Charles Bochet
551c3b5e60
Persist table cell values on cell close ( #655 )
...
* Persist table cell values on cell close
* Apply to all cells
2023-07-14 06:20:08 +02:00
Lucas Bordeau
5e0e449e4c
Fix/table rerenders ( #609 )
...
* Fixed top bar rerenders
* Fixed rerender on editable cell
* Fix lint
* asd
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-11 20:51:24 -07:00
Lucas Bordeau
5f98b70c6a
Fix/scope hotkeys ( #581 )
...
* WIP
* asd
* Fix
* Fix lint
* Removed console log
* asd
* Removed isDefined
* Fix/debounce company card onchange (#580 )
* Add internal state and debounce for editable text card
* Use debounce for date fields too
* Update refetch
* Nit
* Removed comments
* Ménage
---------
Co-authored-by: Emilien Chauvet <emilien.chauvet.enpc@gmail.com >
2023-07-11 01:53:46 +00:00
Lucas Bordeau
e03d5ed8a7
Refactor/inplace input ( #541 )
...
* wip
* Changed all other components
* Removed console log
* Console.log
* lint
* Removed internal state
* Fix
* Lint
2023-07-08 16:45:52 -07:00
Charles Bochet
e2822ed095
Fix tests ( #537 )
...
* Fix tests
* Fix lint
2023-07-07 23:11:38 -07:00
Lucas Bordeau
66dcc9b2e1
Feat/better hotkeys scope ( #526 )
...
* Working version
* fix
* Fixed console log
* Fix lint
* wip
* Fix
* Fix
* consolelog
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-07-07 18:53:05 -07:00
Charles Bochet
611cda1f41
Revert "Refacto/abstract inplace input" ( #535 )
...
Revert "Refacto/abstract inplace input (#530 )"
This reverts commit c847bca293 .
2023-07-07 18:10:51 -07:00
Charles Bochet
94ca61c887
Revert "Refacto/remaining inplace input cells" ( #534 )
...
Revert "Refacto/remaining inplace input cells (#531 )"
This reverts commit 6446692f25 .
2023-07-07 18:10:32 -07:00
Emilien Chauvet
6446692f25
Refacto/remaining inplace input cells ( #531 )
...
* Add inplace date input component
* Add inplace phone input component
* Add inplace double text input component
* Add inplace chip input component
* Remove useless styled component
* Reduce code through props destructuring
2023-07-07 15:00:01 -07:00
Emilien Chauvet
c847bca293
Refacto/abstract inplace input ( #530 )
...
* Move code to new folder
* Deduplicate code, remove dependancy on table
* Remove more table dependency
* Move close logic to input
* Migrate editable text cell
* Rename EditableTextInput
* Fix component test id
2023-07-07 12:11:57 -07:00
Charles Bochet
aa612b5fc9
Add tab hotkey on table page ( #457 )
...
* wip
* wip
* - Added scopes on useHotkeys
- Use new EditableCellV2
- Implemented Recoil Scoped State with specific context
- Implemented soft focus position
- Factorized open/close editable cell
- Removed editable relation old components
- Broke down entity table into multiple components
- Added Recoil Scope by CellContext
- Added Recoil Scope by RowContext
* First working version
* Use a new EditableCellSoftFocusMode
* Fixed initialize soft focus
* Fixed enter mode
* Added TODO
* Fix
* Fixes
* Fix tests
* Fix lint
* Fixes
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-06-28 14:06:44 +02:00
Félix Malfait
eb8fc50ff1
Add rule to order css in styled components alphabetically ( #284 )
...
* Add plugin
* Run plugin
2023-06-14 07:59:16 +02:00
Charles Bochet
d3684b34c5
Refactor Editable Cell ( #191 )
2023-06-04 22:47:49 +02:00
Charles Bochet
7b858fd7c9
Reorganize frontend and install Craco to alias modules ( #190 )
2023-06-04 11:23:09 +02:00