Commit Graph

178 Commits

Author SHA1 Message Date
Charles Bochet
a7265fa3b4
Remove flag relation select (#3588)
* Remove feature flag on relation and select

* Move packages back to twenty-server to enable smaller build without using nx

* Fix package.json
2024-01-23 09:59:00 +01:00
bosiraphael
6aad59d0be
3434 connect settingsaccountsemails to the backend (#3584)
* wip

* wip

* update sync settings

* fix key in map

* connect email visibility to backend

* finished

* improve typing
2024-01-22 18:29:14 +01:00
Jeet Desai
062bbd57a3
drag and drop on files tab (#3432)
* #3345 drag and drop on files tab

* #3432 resolved comments on drag and drop feature
2024-01-22 13:00:18 -03:00
Thomas Trompette
f1b3d1537a
Load views on user load and read in cache (#3552)
* WIP

* Poc

* Use cached root query + remove proloaded views state

* Fix storybook test + fix codegen

* Return default schema if token is absent, unauthenticated if token is invalid

* Use enum instead of bool

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-22 16:00:16 +01:00
Thomas Trompette
e6f985c681
Update company board card link to opportunity show page (#3557)
Update board link to opportunity show page

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-19 17:01:24 +01:00
Sujith Thirumalaisamy
7607ecaac6
Updated CreateProfile default to System Color Scheme (#3544)
Added the default colorScheme while creating a new profile.
2024-01-19 14:28:31 +01:00
gitstart-twenty
bafc15d2b8
Add tests for modules/ui/layout/tab (#3535)
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>
2024-01-19 12:38:56 +01:00
gitstart-app[bot]
8d206fd2c8
TWNTY-3480 - Add tests for modules/object-record/relation-picker/hooks (#3547)
Add tests for `modules/object-record/relation-picker/hooks`

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-19 12:38:21 +01:00
gitstart-twenty
1bb7ff3730
Add tests for modules/auth and modules/command-menu (#3548)
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
2024-01-19 12:37:49 +01:00
Thomas Trompette
c868347552
Show page - disable click for workspace member relation (#3464)
* [Draft] Add disable logic + failing test

* Fix test

* Remove hook

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-18 18:22:26 +01:00
gitstart-app[bot]
d8c9a94e14
TWNTY-3381 - Add tests for modules/apollo (#3530)
Add tests for `modules/apollo`

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2024-01-18 11:25:27 +01:00
Charles Bochet
2628ee0f27 Revert blocknote upgrade because it's breakind design 2024-01-18 10:56:39 +01:00
Jeet Desai
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
Irfan K
ceddd211cf
feat: Create a ThreadBottomBar component (#3474)
* feat: Create a ThreadBottomBar component

* capitalised share like  Share in button

* removed ButtonGroup to avoid the border-radius issue
2024-01-18 09:47:01 +01:00
brendanlaschke
f6f4e6c769
Update blocknote (#3517)
* update blocknote, remove feature flag

* Fix backend

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-18 09:40:00 +01:00
gitstart-app[bot]
c8de37860f
TWNTY-3379 - Add tests for modules/favorites and modules/companies (#3528)
* Add tests for `modules/favorites` and `modules/companies`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

* Fix failing test in `object-metadata/hooks`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

---------

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-18 09:29:12 +01:00
Thaïs
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
Jeet Desai
409f2b7651
Fix: Increase Fields column width (#3519)
#3516 Increase Fields column width
2024-01-17 17:03:03 +01:00
Jeet Desai
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
Lucas Bordeau
bbfe62df9a
Implemented useListenClickOutside V2 (#3507)
* Implemented useListenClickOutside V2

* Removed lock and implemented a toggle instead
2024-01-17 16:22:22 +01:00
gitstart-twenty
808100fdd5
Add tests for modules/navigation and modules/keyboard-shortcut-menu (#3461)
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>
2024-01-17 16:00:58 +01:00
Lucas Bordeau
4fa9e18920
Fixed selection reset on loading more (#3500) 2024-01-17 15:59:55 +01:00
gitstart-twenty
adfd1f655d
Add tests for modules/analytics (#3462)
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>
2024-01-17 15:58:12 +01:00
gitstart-twenty
6af2513528
Add tests for modules/object-metadata/hooks (#3485)
* Add tests for `modules/object-metadata/hooks`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Merge main

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Refactor according to self review

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>
2024-01-17 15:57:31 +01:00
Irfan K
ba038a4a83
fixed issue Refine Settings Layout (#3429)
* fixed issue Refine Settings Layout

* fixed width and issue

* Fix according to review

* Fix

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-17 15:54:52 +01:00
Irfan K
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
Thaïs
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
Leo Alfred
8864528d55
Center InternalDatePicker Clear button (#3265)
* Center InternalDatePicker Clear button

* Add back Clear button padding

* Center date picker clear button through props

* Refactor StyledButtonContainer padding

* Refactor StyledButtonContainer to extend MenuItem

* Use custom date picker Clear button implementation

* Undo MenuItem changes

* Refactor new date picker code

* Refactor datepicker solution

* Rename StyledButtonContent to StyledButton

* Remove unnecessary menu-item class
2024-01-17 12:05:16 +01:00
Kanav Arora
5cf0077e3d
UI Fixes for Dark Mode (#3337)
* Forced Scroll BG color fix

* pr requested changes
2024-01-17 11:54:29 +01:00
Jeet Desai
60e9864e52
Fix: z index for the menu (#3497)
fix: z index for the menu
2024-01-17 10:13:51 +01:00
Jeet Desai
161c4f8910
#3489 sidebar label in one line (#3490)
* #3489 sidebar in one line

* remove tooltip from sidebar label
2024-01-16 22:19:14 +01:00
Charles Bochet
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
Charles Bochet
fb93bb69fb
Fix opportunity relation (#3478)
* Fix opportunity relation

* Fix

* Fix

* Fix tests

* Fix

* Fix
2024-01-16 14:39:48 +01:00
brendanlaschke
bf67f07291
Fix zindex contextmenu (#3460)
fix zindex contextmenu
2024-01-15 18:23:13 +01:00
Thomas Trompette
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
bosiraphael
4695e99458
3369 rename messagerecipients table into messageparticipants (#3457)
* renaming

* renaming
2024-01-15 16:55:19 +01:00
Charles Bochet
16a24c5f0c
Rework relations (#3431)
* Rework relations

* Fix tests
2024-01-15 12:07:23 +01:00
GARY
8c96acc2a3
Improved Floating Button Icon style (#3428)
* Improved Floating Button Icon style

* Improve Floating Button Icon style #3420
2024-01-14 15:36:16 +01:00
Thaïs
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
gitstart-twenty
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
Thomas Trompette
c53abf2f5a
Fix chromatic tests + re-enable (#3414)
* Fix chromatic tests + re-enable

* Try to run command manually

* Fix

* Fix

* Fix

* Fix

* Fix

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-12 18:32:00 +01:00
gitstart-twenty
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
gitstart-twenty
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
gitstart-twenty
d05d7ec1d1
Add tests for modules/people, modules/pipeline, modules/search and modules/settings (#3395)
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-12 18:05:56 +01:00
Charles Bochet
4f306f8955
Fix bug hover on table (#3404) 2024-01-12 16:30:32 +01:00
Thomas Trompette
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
Thaïs
09a2a656e2
feat: display identifier field in Object Detail page for custom objects (#3329)
* feat: display identifier field in Object Detail page for custom objects

Closes #3301

* fix: show Name as object label identifier by default

* Minor improvements

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-12 12:11:09 +01:00
Thaïs
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
Irfan K
9ecc3bdbf2
fixed Object settings font weight fixes (#3332)
* fixed Object settings font weight fixes

* fixed Object settings font weight fixes
2024-01-12 10:02:20 +01:00
Charles Bochet
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