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
97f83b55b0
Added a clear/reset button in InternalDateInput to reset/unschedule events ( #3154 )
...
* Added a clear/reset button in InternalDateInput to reset/unschedule events
* Added clearable prop to <InternalDateInput /> and fixed some design mistakes
* Removed unnecessary code that was used during debugging
* Replaced button with <MenuItem /> component
* Fixed null date in ObjectFilterDropdownDateSearchInput
* Moved clear context call from DateInput to DateFieldInput
* Removed useless props
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-12-29 15:15:08 +01:00
fd607789f4
Replace all hardcoded core object name by enum ( #3170 )
...
* Replace hardcoded core object name by enum
Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com >
* Fix typo
Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com >
* Fixed duplicate import
---------
Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-12-29 15:11:30 +01:00
b650b1dca3
GH-3106 Ability to multi-note/task with action bar ( #3137 )
...
* GH-3106 fix activity drawer opener for selected rows hook
* GH-3106 ability to multi note/task with action bar
* GH-3106 use snapshot to get selected row IDs
* GH-3106 format code & fix linting issues
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-12-26 17:44:23 +01:00
756b30815e
Fix various bugs before 0.2.2 ( #3118 )
...
* Fix various bugs before 0.2.2 release
* Additional fixes
* More fixes
* Fixes
2023-12-21 23:48:52 +01:00
69ffa0d229
Bug on table first load ( #3117 )
...
fix: Bug on table first load
2023-12-21 22:30:54 +01:00
794cf87b43
feat: record batch deleteMany ( #3096 )
...
feat: support record batch deleteMany
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-21 19:55:40 +01:00
801177531b
Fix and enhance storybook:modules:tests ( #3107 )
...
* Fix and enhance storybook:modules:tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix and enhance storybook:modules:tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix and enhance storybook:modules:tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Remove unnecessary changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix email thread story
* Re-enable storybook:modules
* Fix
---------
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 >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-21 19:45:47 +01:00
180aec5ad8
Typed updateRecord hook in generic field logic ( #3102 )
...
* Typed updateRecord hook in generic field logic
* Use sanitize instead of additional optimisticInput
2023-12-21 16:27:26 +01:00
e9bc13b5fa
Refactor recoil scope states ( #3097 )
...
* Refactor recoil scope states
* Complete refactoring
* Fix
2023-12-21 14:25:18 +01:00
4918865132
Showpage add more actions button ( #3095 )
...
- add more actions button
2023-12-21 09:27:13 +01:00
687c9131f4
Feat/record optimistic effect ( #3076 )
...
* WIP
* WIP
* POC working on hard coded completedAt field
* Finished isRecordMatchingFilter, mock of pg_graphql filtering mechanism
* Fixed and cleaned
* Unregister unused optimistic effects
* Fix lint
* Fixes from review
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-20 20:31:48 +01:00
a5f28b4395
fix: display label identifier field input in Show Page ( #3063 )
...
* fix: display label identifier field input in Show Page
Fixes #3003
* Cleaned a bit after comments
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-12-20 18:52:02 +01:00
dd044e8f66
fix: empty state should not appear during table loading ( #3040 )
...
* fix: empty state should not appear during table loading
* feat: add initla load tracking
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-20 14:19:02 +01:00
d2666dc667
2973-feat: Skeleton Loading Added ( #2988 )
...
* 2973-feat: Skeleton Loading Added
* loading from useQuery
* PR suggestions fixed
* Fix accoding to review
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-20 10:07:16 +01:00
c09b98cdc9
fix: hide disabled fields in Show Page ( #3062 )
...
Fixes #2904
2023-12-19 18:45:37 +01:00
fff51a2d91
Basic data enrichment ( #3023 )
...
* Add Enrich to frontend
* Naive backend implementation
* Add work email check
* Rename Enrich to Quick Action
* Refactor logic to a separate service
* Refacto to separate IntelligenceService
* Small fixes
* Missing Break statement
* Address PR comments
* Create company interface
* Improve edge case handling
* Use httpService instead of Axios
* Fix server tests
2023-12-18 15:45:30 +01:00
1eb5bebaf7
feat: select default Unit for Currency field ( #2996 )
...
Closes #2347
Co-authored-by: Thais GUIGON <thaisguigon@macbook-pro.home >
2023-12-15 11:01:06 +01:00
af9d3fb217
On RecordTable, if I have no records, the Record Table Layout is not broken ( #2911 )
...
* On RecordTable, if I have no records, the Record Table Layout is not broken
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
* Revert scrollbar changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
* fix + button
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 >
* Merge main
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
* On RecordTable, if I have no records, the Record Table Layout is not broken
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
* Add bottom border
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
* Always show + button
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
* Fix according to PR
---------
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 >
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2023-12-15 10:35:26 +01:00
e22b242ef8
Fix multiselect on activities
2023-12-14 19:05:10 +01:00
468744298b
Fix hook bug ( #2995 )
...
* Fix hook bug
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-14 18:54:23 +01:00
8916dee352
Fix Icon Lazy Loading ( #2984 )
...
Fix Icon picker
2023-12-14 12:13:02 +01:00