d28843bb85
feat: order board cards by record position ( #3902 )
...
* feat: order board cards by record position
Closes #3848
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-09 18:09:13 +01:00
917fc5bd4d
3811 add accounts loader ( #3829 )
...
* rename exports
* rename exports
* fix css
* done
* updating image
2024-02-09 15:29:11 +01:00
66adbb1783
Enfoce high jest code coverage
2024-02-09 15:14:43 +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
201a2c8acc
feat: display record identifier field as first column in table ( #3788 )
...
* feat: display record identifier field as first column in table
& forbid hiding and moving record identifier column
Closes #3303
* refactor: add availableTableColumnKeysSelectorScopeMap
* feat: show plus icon button for label identifier column and dropdown menu for other columns
* fix: use label identifier field value in RecordShowPage title
* refactor: remove availableColumnKeys selector
* refactor: review - compute label identifier logic in mapViewFieldsToColumnDefinitions + remove selectors
* fix: several fixes
* fix: fix board fields isVisible
* fix: fix board fields reordering
* fix: more board fields fixes
* fix: fix hiddenTableColumnsSelectorScopeMap
2024-02-09 12:36:08 +01:00
7425223f83
3628 timebox separate user creation from workspace creation ( #3737 )
...
* Remove workspace schema creation from signUp
* Set user workspaceMember nullable
* Remove workspace creation
* Handle null workspace in tokens
* Update onboarding status
* Generate types
* Move createWorkspace to workspace resolver
* Create workspace after signup
* Update createWorkspace return type
* Update createWorkspace return type
* Create core.workspace at signup
* WIP
* Fix create workspace
* Fix create workspace
* Clean code
* Remove useless recoil set
* Simplify create workspace request
* Set currentWorkspace at login
* Fix tests
* Create a recoil value for is workspaceSchema created
* Rename createWorkspace to createWorkspaceSchema
* Code review returns
* Use AppPath when possible
* Try without state
* Fix
* Fixes
* Rename createWorkspaceSchema to activateWorkspace
* Remove defaultAvatarUrl from user
* Add defaultAvatarUrl to core user
This reverts commit 1701c30eb18804558293cc42043aedf96ea888df.
* Add defaultAvatarUrl to core user
This reverts commit 1701c30eb18804558293cc42043aedf96ea888df.
* Fix ci
* Fix tests
* Fix storybook
* Fix test
* Remove useless query
* Fix test
* Fix test
* Fix mock data
* Fix test
* Clean Mock Requests
* Fix tentative
* Revert "Clean Mock Requests"
This reverts commit 8aa20a34363ffddfdee24f18fc80b27ea0ad5e1d.
* Fix
* Revert "Fix"
This reverts commit 2df7e9b6569b8bfb53f6a45391db725e28d16a18.
* Revert "Revert "Clean Mock Requests""
This reverts commit 3aefef8e9600d161434a047e845563d1b8e0692e.
* Revert "Fix tentative"
This reverts commit 13e7748d6f3b3858d30fb08adbc8ad347c5556ee.
* Update filename
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-09 12:06:11 +01:00
90b58518bb
feat: change RecordShowPage Relation Card field display for TO_ONE_OB… ( #3596 )
...
feat: change RecordShowPage Relation Card field display for TO_ONE_OBJECT relation fields
Closes #3409
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-08 18:46:35 +01:00
719da29795
Store compact view status ( #3850 )
...
* Store compact view status
* Rename to isCompact
* Fixes
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-08 16:33:52 +01:00
b119dd8e9c
Added sanitize funtion to normalize the link input ( #3543 )
...
* Added sanitize funtion to sanitize the link input of the companies record
* Enabled Eslint
* FIXED: Sanitize www. and query params
Added logic to sanitize both www and query params in the link input.
* fix: fix useSpreadsheetPersonImport tests
* Refactored sanitizeLink function at packages/twenty-front/src/modules/object-record/utils/sanitizeLinkRecordInput.ts
Co-authored-by: Thaïs <guigon.thais@gmail.com >
---------
Co-authored-by: Thaïs <guigon.thais@gmail.com >
2024-02-07 06:09:25 -03:00
7b8fffc3b8
Custom object import csv ( #3756 )
...
* poc custom object import csv
* fix fullname
* lint
* add relation Ids, fix label full name, add simple test
* mock missing fields?
* - fix test
* validate uuid, fix key in column dropdown, don't save non set composite fields, allow only import relations where toRelationMetadata
2024-02-06 16:22:39 +01:00
39f4ec9e7b
Fix storybook tests on Field Preview (Settings) ( #3761 )
2024-02-01 17:44:36 +01:00
7adb5cc00d
feat: delete favorite in cache on related record deletion ( #3751 )
...
* feat: delete favorite in cache on related record deletion
* fix: fix useCreateOneRecord tests
* fix: fix usePipelineSteps tests
* fix: fix useCreateManyRecords tests
* fix: add null relation field values in useGenerateObjectRecordOptimisticResponse
2024-02-01 16:09:32 +01:00
4290db3566
Fix new board bugs ( #3730 )
...
* Fix freeze on field visibility change on board
* Fix
* Fix lint
2024-01-31 17:21:17 +01:00
397de955be
Fixed storybook tests ( #3719 )
...
Fix storybook tests
2024-01-31 12:34:06 +01:00
d7e4b4116f
Minor fixes empty state ( #3703 )
...
* Minor fixes for Timeline empty states
* Refactored TimelineCreateButtonGroup
2024-01-31 12:12:51 +01:00
ba77d7430a
Added empty card for show relations ( #3612 )
...
#3610 Add empty states for show relations
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-31 11:57:48 +01:00
f6e9456ef6
fix: columns overlapping with checkbox column when horizantally scrolling ( #3705 )
2024-01-31 11:49:01 +01:00
c8e4d0ab9a
Board compact view and Company Picker for opportunity special case ( #3713 )
...
* Re-enabled board compact mode
* Add specific case for opportunity to display company picker
* Add infinite scroll
* Remove useEffect
* Fix
* Fix
2024-01-31 11:37:03 +01:00
29339ef99a
fix: detach relation records in cache on record deletion ( #3707 )
...
* fix: detach relation records in cache on record deletion
* fix: fix useGetRelationMetadata tests
2024-01-31 11:36:26 +01:00
2e4f2d54aa
Refactor board and table options ( #3700 )
...
* Refactor board and table options
* Fix
* Fix
2024-01-30 18:38:31 +01:00
8b9d62e425
3681 avatars are not appearing in the messages and people name should be bold ( #3692 )
...
* update font weight
* fix picture not appearing
2024-01-30 17:46:25 +01:00
f68de1a299
Board improvements ( #3694 )
...
* New board improvements
* Improve board
* Fix
2024-01-30 15:24:03 +01:00
511627ccb8
Fix count avatar color + align thread preview items ( #3695 )
...
Fix count avatar and align items
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-01-30 15:01:12 +01:00
84b6bea2b9
Split back fetch more loader for record table and emails ( #3693 )
...
* Split back fetch more loader
* Rename loader
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-01-30 14:50:33 +01:00
b07d67c624
New Empty States ( #3465 )
...
New empty states
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-30 11:01:56 +01:00
da8dd671d1
fix: rating type issues ( #3638 )
...
* fix: rating type issues
* fix: rebase
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-30 09:57:30 +01:00
0239585d81
TWNTY-3483 - Add tests for modules/object-record/record-table/record-table-cell/hooks ( #3685 )
...
Add tests for `modules/object-record/record-table/record-table-cell/hooks`
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
2024-01-30 09:48:28 +01:00
49f33bbe2e
fix: fix record deletion optimistic effect ( #3683 )
...
* fix: fix record deletion optimistic effect
* fix: fix renamed method after rebase
* Re-add evict
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-30 09:33:28 +01:00
e951fb70f8
Add board Action bar and context menu ( #3680 )
...
* Add board Action bar and context menu
* Fix according to review
2024-01-30 09:21:02 +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
a58b4cf437
refactor: apply relation optimistic effects on record update ( #3556 )
...
* refactor: apply relation optimistic effects on record update
Related to #3509
* refactor: remove need to pass relation id field to create and update mutations
* fix: fix tests
* fix: fix SingleEntitySelect glitch
* fix: fix usePersistField tests
* fix: fix wrong import after rebase
* fix: fix several tests
* fix: fix test types
2024-01-29 08:00:00 -03:00
7fdd7119d2
Allow Card field update and card drag on new record board ( #3661 )
2024-01-29 08:59:13 +01:00
6eca6dc780
Fix Opportunities page ( #3660 )
...
* Fix Opportunities page
* Fix
* Fix tests
2024-01-28 23:33:36 +01:00
419f8adde6
Improve RecordTableCellperformances ( #3659 )
...
* Improve RecordTableCellperformances
* Fixes
2024-01-28 20:32:28 +01:00
ada8f55574
Refactor Field Inputs ( #3658 )
...
* Rename field to record-field folder
* Simplify FieldInput
* Fix perfs
* Fixes
* Fixes
* Fix tests
* Fix tests
2024-01-27 23:42:39 +01:00
d6f117c688
Display RecordBoardCards on new board ( #3657 )
...
* Before remove saveEditModeValue logic
* Fixes
* Fix tests
* Fix tests
2024-01-27 15:55:45 +01:00
070900e4eb
Remap items in board ( #3643 )
...
* Remap items in board
* Fix according to review
2024-01-26 17:09:30 +01:00
377fd23c90
Display columns on Record Board ( #3626 )
...
* Display columns on Record board
* Fix
* Fix according to review
* Fix
2024-01-25 18:21:15 +01:00
f099ff90c1
Add fetch more loader for email messages ( #3618 )
...
Add fetch more loader
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-01-25 14:44:54 +01:00
7845e04f6b
Fetch messages with hard coded thread id ( #3613 )
...
* Fetch messages with hard coded thread id
* Fix test
* Use first workspace member or person names
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-01-25 11:13:32 +01:00
21f342c5ea
Scroll tab list on record show ( #3561 )
...
* scroll tab list on record show #3275
* update the style of tab
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-24 18:30:58 +01:00
afbb87ae12
Add new Record board shell ( #3609 )
...
* Add new Record board shell
* Fix
2024-01-24 17:47:04 +01:00
ccbf773fd4
Load empty board if view type is kanban ( #3605 )
...
* Load empty board if view type is kanban
* Fix tests
* Revert
2024-01-24 16:17:47 +01:00
afc36c7329
Introduce new board feature flag ( #3602 )
2024-01-24 14:24:02 +01:00
f48814f6d9
Tag current board as deprecated to make room for the new record board implementation ( #3601 )
2024-01-24 12:36:42 +01:00
e54c141484
Use scroll left instead of intersection observer ( #3522 )
2024-01-24 06:39:04 -03:00
c0c2906209
Fixed Max lenght in Label , #3515 ( #3558 )
...
* Fixed Max lenght in Label , #3515
* should be 200 if label is displayed, 272 if label is not displayed #3558
* Update packages/twenty-front/src/modules/object-record/components/RecordShowPage.tsx
Fix accoding to review
* Fix
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2024-01-23 19:56:19 +01:00
0100244cbc
Tooltip on icons ( #3529 )
...
* Step 3: Set up PostgreSQL Database
* Tooltip on Icons
* Cleaning icon tooltip code
* Fix according to review
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-23 19:43:14 +01:00
c9e326f2ae
Broken calendar component ( #3525 )
...
* #3520 Fix broken calendar component on filter
* #3520 fix the calender component
* #3520 fix error lint and test issue
* resolved lint error
* Fix according to review
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-23 19:33:19 +01:00
fd5cae6aae
fixed overflowing text for select on card #3494 ( #3504 )
...
* fixed overflowing text for select on card #3494
* maxWidth of useRelationFeild hook
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-23 19:08:39 +01:00