140d3460eb
Refactor/finish activities optimistic ( #4106 )
...
* Finished optimistic effects
* Fixed tests
* Added unit test on useActivityConnectionUtils to prepare for refactor
* Fixed console.log
2024-02-21 18:54:14 +01:00
36a6558289
Feat/activity optimistic activities ( #4009 )
...
* Fix naming
* Fixed cache.evict bug for relation target deletion
* Fixed cascade delete activity targets
* Working version
* Fix
* fix
* WIP
* Fixed optimistic effect target inline cell
* Removed openCreateActivityDrawer v1
* Ok for timeline
* Removed console.log
* Fix update record optimistic effect
* Refactored activity queries into useActivities for everything
* Fixed bugs
* Cleaned
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-20 14:20:45 +01:00
cca72da708
Activity cache injection ( #3791 )
...
* WIP
* Minor fixes
* Added TODO
* Fix post merge
* Fix
* Fixed warnings
* Fixed comments
* Fixed comments
* Fixed naming
* Removed comment
* WIP
* WIP 2
* Finished working version
* Fixes
* Fixed typing
* Fixes
* Fixes
* Fixes
* Naming fixes
* WIP
* Fix import
* WIP
* Working version on title
* Fixed create record id overwrite
* Removed unecessary callback
* Masterpiece
* Fixed delete on click outside drawer or delete
* Cleaned
* Cleaned
* Cleaned
* Minor fixes
* Fixes
* Fixed naming
* WIP
* Fix
* Fixed create from target inline cell
* Removed console.log
* Fixed delete activity optimistic effect
* Fixed no title
* Fixed debounce and title body creation
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-09 14:51:30 +01:00
3b458d5207
Activity injection into Apollo cache ( #3665 )
...
- Created addRecordInCache to inject a record in Apollo cache and inject single read query on this record
- Created createOneRecordInCache and createManyRecordsInCache that uses this addRecordInCache
- Created useOpenCreateActivityDrawerV2 hook to create an activity in cache and inject it into all other relevant requests in the app before opening activity drawer
- Refactored DEFAULT_SEARCH_REQUEST_LIMIT constant and hardcoded arbitrary request limits
- Added Apollo dev logs to see errors in the console when manipulating cache
2024-01-29 16:12:52 +01:00
7fdd7119d2
Allow Card field update and card drag on new record board ( #3661 )
2024-01-29 08:59:13 +01:00
2d929c3b91
feat: display label identifier table cell as chip with link to Record… ( #3503 )
...
* feat: display label identifier table cell as chip with link to RecordShowPage
Closes #3502
* Fix test
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-17 17:44:36 +01:00
10fd67ba32
Fix relation creation bug + enable favorite for custom objects ( #3392 )
...
* Fix relation creation bug
* Fix vale CI
* Fix comment bug
2024-01-11 22:46:43 +01:00
b112b74022
Feat/activities custom objects ( #3213 )
...
* WIP
* WIP - MultiObjectSearch
* WIP
* WIP
* Finished working version
* Fix
* Fixed and cleaned
* Fix
* Disabled files and emails for custom objects
* Cleaned console.log
* Fixed attachment
* Fixed
* fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-05 09:08:33 +01:00
c4fecb0a1a
Upload image for use in blocknote editor ( #3044 )
...
* - upload image to use in blocknote editor
- fix local-storage not in gitignore
* fix lint
* fix runtime config
add tests for body parsing notes and tasks
* lint
2023-12-20 15:16:19 +01:00
5f7442cf23
Add jest tests for twenty-front ( #2983 )
...
* Add jest tests for twenty-front
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Fix tests
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-15 10:53:20 +01:00
5bdca9de6c
Migrate to a monorepo structure ( #2909 )
2023-12-10 18:10:54 +01:00