4eb4d1488c
Use FieldDefinition for company show page ( #1171 )
...
* Use FieldDefinition for company show page
* removing console.log
* fix conflicts
* fix address placeholder + company show page field definition ordering
* fix story
* add replacePlaceholder
* use AppPath enum in stories
* add routeParams
* fix people input story
2023-08-11 14:31:52 -07:00
4288cef096
refactoring editableFieldContext to match with table implementation ( #1164 )
2023-08-10 12:26:05 -07:00
07a8f68ef1
Add FieldDefinition ( #1162 )
...
* add fieldDefinition
* update naming
* use a unique contextProvider for editable fields
* remove EntityUpdateMutationHookContext.Provider usage in CompanyBoardCard
* add fieldDefinitionState
* remove unnecessary refetchQueries to avoid re-render
* add FieldMetadata
* add type guards and update useUpdateGenericEntityField
* restore refetchQueries
2023-08-10 11:26:27 -07:00
cd831af53d
Use dedicated EditableFieldEntityIdContext for editable fields instead of CardIds ( #1145 )
...
* Use dedicated EntityIdContext for editable fields instead of CardIds
* update context name
* remove unused hook
2023-08-10 01:32:28 +02:00
3666980ccc
Feat/generic editable board card ( #1089 )
...
* Fixed BoardColumnMenu
* Fixed naming
* Optimized board loading
* Added GenericEditableField
* Introduce GenericEditableField for BoardCards
* remove logs
* delete unused files
* fix stories
---------
Co-authored-by: corentin <corentin@twenty.com >
2023-08-08 20:08:37 -07:00