74a54da403
replace text input by texterarea ( #3473 )
...
* #3472 replace text input by texterarea
* background color change in dark mode
* box shadow and hide overflow
* added tooltip in overflow text
* resolved comment on #3473
* resolved comments in #3473
2024-01-18 09:49:36 +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
e812878bc3
#3476 round sum total amount in board ( #3484 )
...
* #3476 round sum total amount in board
* Fix issues
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-17 16:44:44 +01:00
bbfe62df9a
Implemented useListenClickOutside V2 ( #3507 )
...
* Implemented useListenClickOutside V2
* Removed lock and implemented a toggle instead
2024-01-17 16:22:22 +01:00
4fa9e18920
Fixed selection reset on loading more ( #3500 )
2024-01-17 15:59:55 +01:00
5d4e226aad
fixed issue Display field name on Kanbans & Shows ( #3427 )
...
* fixed issue Display field name on Kanbans & Shows
* Fixes according to review
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-17 14:00:51 +01:00
96d990e275
feat: set field as custom object label identifier in Object Detail ( #3360 )
...
* feat: set field as custom object label identifier in Object Detail
Closes #3302
* feat: prevent disabling Object label identitifer field in back-end
* refactor: review - extract isLabelIdentifier variable
2024-01-17 12:19:41 +01:00
f3f20ad974
Improve opportunity behavior ( #3487 )
...
* Fix opportunity relation
* Fix
* Fix
* Fix tests
* Fix
* Fix
* Fix opportunities
* Fix Opportunity standard object and apply maxWidth to text ellipsis
* Update packages/twenty-front/src/modules/ui/field/display/components/EllipsisDisplay.tsx
Co-authored-by: Thaïs <guigon.thais@gmail.com >
* Fix
---------
Co-authored-by: Thaïs <guigon.thais@gmail.com >
2024-01-16 15:43:19 +01:00
fb93bb69fb
Fix opportunity relation ( #3478 )
...
* Fix opportunity relation
* Fix
* Fix
* Fix tests
* Fix
* Fix
2024-01-16 14:39:48 +01:00
4e36c6d584
Update recoil v4 states to getters ( #3451 )
...
Update v4 states to getters
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-01-15 18:18:55 +01:00
16a24c5f0c
Rework relations ( #3431 )
...
* Rework relations
* Fix tests
2024-01-15 12:07:23 +01:00
95326b2828
fix: fix Relation field optimistic effect on Record update ( #3352 )
...
* fix: fix Relation field optimistic effect on Record update
Related to #3099
* Fix lint
* Fix
* fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-13 12:35:30 +01:00
0ef1736188
Add tests for modules/object-record/record-board ( #3421 )
...
* Add tests for `modules/object-record/record-board`
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
* Revert unwanted changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
2024-01-13 10:05:50 +01:00
03b5c40e8a
Add tests for modules/object-record/object-filter-dropdown ( #3399 )
...
* Add tests for `modules/object-record/object-filter-dropdown`
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
* Fix linter
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
* Revert unwanted changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2024-01-12 18:08:01 +01:00
83c9fedcdf
Add tests for modules/object-record/object-sort-dropdown ( #3398 )
...
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
2024-01-12 18:07:32 +01:00
4f306f8955
Fix bug hover on table ( #3404 )
2024-01-12 16:30:32 +01:00
52e0e385a4
Pass object name plural in props + remove unused state ( #3401 )
...
* Pass object name plural in props + remove unused state
* Fix test
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-01-12 14:30:36 +01:00
0dc39db314
feat: detach records from Relation field card in Show Page ( #3350 )
...
* feat: detach records from Relation field card in Show Page
Closes #3128
* Fix TS
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-12 12:10:42 +01:00
3ad032cdc1
Fix 3 bugs ( #3391 )
...
* Fix Favorites
* Fix opportunities
2024-01-11 21:34:56 +01:00
985c2f321e
feat: add link to relation filtered table in Record Show Page ( #3261 )
...
* feat: add link to relation filtered table in Record Show Page
Closes #3125
* refactor: use generateFindManyRecordsQuery for optimization
* Fixes from review
* Minor fixes
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-11 20:51:06 +01:00
e2bdf0ce45
Recursively turn relation connection into records ( #3334 )
...
* Use new ObjectRecordConnection
* Use new records without connection in GraphQLView
* Added playwright for storybook tests
* Fixed lint
* Fixed test and tsc
* Fixed storybook tests
* wip tests
* Added useMapConnectionToRecords unit test
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-11 20:27:59 +01:00
299bed511f
Filter the opportunities "Point of contact" field ( #3191 )
...
* Filter the opportunities "Point of contact" field
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-11 20:26:11 +01:00
99247fb689
Fix activity target bug ( #3390 )
2024-01-11 20:18:54 +01:00
2e571976fb
Fix regression on RecordInlineCellContainer
2024-01-11 18:20:06 +01:00
4b97625f37
fix: fixed overflowing text on record show page ( #3372 )
2024-01-11 18:08:31 +01:00
6bae6fcdce
Migrate record table to scope map ( #3363 )
...
* Migrate record table to scope map
* Update record scope id to record id
* Remove todos and fix edit mode
* Fix perf
* Fix tests
* Fix tests
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-11 17:44:40 +01:00
c8aec95325
GH-3183 Add sub actions to quick actions in ActionBar ( #3339 )
...
* convert quick action into a dropdown
* GH-3183 import icons
* GH-3183 display dummy sub-actions in dropdown
* Migrate to new Dropdown API
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-11 13:49:36 +01:00
afacec6994
Finish Implementing Select/MultiSelect #3166 ( #3226 )
...
* Fixed #3166
* refactor: improve generateEmptyFieldValue function
- Optimize handling of MultiSelect and Select cases
- Provide a default value for Select based on FieldSelectValue
- Enhance code readability and maintainability
* Fixed #3166
- Introduce MultiSelect-specific logic with a backend support check
- Implement Select-specific logic with a default value
- Throw an error for unhandled FieldMetadataType
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-11 12:00:11 +01:00
66a054ac21
Add tests for modules/object-record/object-sort-dropdown ( #3366 )
...
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
2024-01-11 11:23:17 +01:00
93a9eb0e3c
Add tests for modules/object-record/hooks ( #3361 )
...
* Add tests for `modules/object-record/hooks`
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
* Remove temporary changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
---------
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 >
2024-01-11 10:37:09 +01:00
ebe8698910
Increase test coverage for /modules/ui ( #3314 )
...
* Increase test coverage for `/modules/ui`
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
Co-authored-by: Fellipe Montes <102544529+FellipeMTX@users.noreply.github.com >
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
Co-authored-by: Fellipe Montes <102544529+FellipeMTX@users.noreply.github.com >
* Fix tests
* Fix tests
* Fix
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com >
Co-authored-by: Fellipe Montes <102544529+FellipeMTX@users.noreply.github.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-11 08:51:36 +01:00
49f66fec70
Fix vite build config ( #3358 )
...
* Fix vite build config
* Fix vite build config
* Fix vite build config
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
2024-01-10 17:42:11 +01:00
2713285a0f
Migrate dropdown to scope map ( #3338 )
...
* Migrate dropdown to scope map
* Run lintr
* Move Dropdown Scope internally
* Fix
* Fix lint
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-10 15:46:37 +01:00
a9ac14439f
Fix phone input bug
2024-01-09 18:48:59 +01:00
8d2758ee5e
Reactivate Select in emptyValue generation
2024-01-09 15:12:59 +01:00
0b505288f2
feat: add Relation field card feature flag ( #3311 )
...
Related to #3123
2024-01-09 12:46:03 +01:00
ed06cc0310
feat: add Relation Field Card plus button in Show Page ( #3229 )
...
Closes #3124
2024-01-09 10:29:01 +01:00
dc94d26997
Fixed create task bug ( #3308 )
2024-01-08 20:56:38 +01:00
67b14824a4
Implement select v1 ( #3312 )
...
* Implement select v1
* Implement select v1
2024-01-08 20:55:45 +01:00
96264e264c
Refactor recoil v4 ( #3266 )
...
* Refactor recoil v4
* Fix ci
2024-01-05 19:18:22 +01:00
8455e15443
Behaviour Fix on new record addition ( #3113 )
...
* Delete record if no company added
* EditMode on First column of new row added
* Fix
* Minor fixes
* Passed scopeId
* Changed FieldInputs to accept onChange handler
* Removed getFieldType
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-05 18:01:51 +01:00
f7034d6e7d
Embrace nx monorepo structure with root package.json ( #3255 )
...
* Upgrade to node 18.17.1 and regroup dependencies in root package.json
* Sort package.json
* Fix lint
* Migrate zapier
2024-01-05 14:59:58 +01:00
618d9678b5
Fix lint issue on record table
2024-01-05 11:35:54 +01:00
e50b62df8f
Loading more UI updated ( #3198 )
...
* style update
* inlcude box as a table element
* Ui
Loading more fixed
* changes
tbody added with ref
with margin and padding with theme variables
* Remove unused react fragment
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-05 11:07:49 +01:00
db46dd4497
feat: add RecordRelationFieldCardSection ( #3176 )
...
Closes #3123
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-05 11:02:02 +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
b0d3e6d8d3
3157 refactor scoped states to move to v3 ( #3180 )
...
* renaming
* renaming
* create getDropdownScopeInjectors
* update useDropdown
* create internal hooks folder
* update record-table states to be scoped states
* update record-table selectors to be scoped selectors
* create utils scope injector
* refactor record-table wip
* refactor record-table wip
* wip
* inject scopeId in selectors
* update intenal hooks
* update intenal hooks
* update intenal hooks
* update intenal hooks
* update intenal hooks
* update intenal hooks
* update internal hooks
* update internal hooks
* update internal hooks
* update internal hooks
* update useTableColumns
* update states and hooks
* refactoring
* refactoring
* refactoring
* refactoring
* refactoring
* refactoring
* refactoring
* refactoring
* refactoring
* fix scopeId not in context
* fix lint errors
* fix error in story
* fix errors: wip
* fix errors
* fix error
* fix jest test
* fix scopeId not defined
* fix jest test
* Bug fixes
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-03 19:45:14 +01:00
6797f013c9
Fix favorites ( #3138 )
...
* WIP
* Finished cleaning favorites create, update, delete on record show page
* Fixed context menu favorite
* Fixed relation field bug
* Fix from review
* Review
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-03 12:30:24 +01:00
2204345300
first column of objects table fixed ( #3147 )
...
* ui:first column of objects table fixed
* refactor shadow style logic
* Minor renaming fixes
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-01-02 11:37:29 +01:00
858c294f14
Website improvements 4 ( #3182 )
...
* Add contributor individual page
* Improve mobile menu
* Fix
* Remove yarn.lock from twenty-website
* Add yarn to gitingore
* Fix linter
2023-12-31 10:41:53 +01:00