gitstart-app[bot]
14a3fc1ba6
Increase test coverage for /modules/activities/timeline ( #4494 )
...
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2024-03-15 16:26:45 +01:00
gitstart-app[bot]
683f1f1f33
Add tests for /modules/activities/tasks/hooks ( #4495 )
...
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2024-03-15 16:25:13 +01:00
Aditya Vashisht
52f1b3ac98
Fixed select field input height ( #4493 )
2024-03-15 13:41:32 +01:00
bosiraphael
f6d27ce19c
Update add account button style ( #4481 )
...
* update style
* fix gap being there twice
2024-03-15 13:33:35 +01:00
Hyunsu Joo
e8e5af6fcb
fix: Close the email side panel upon clicking an open email thread ( #4329 )
...
* fix: state consistency issue while closing the email thread right drawer (#4205 )
* Refactored to use useRecoilCallback in RightDrawer open/close hook
* - registered an email drawer click outside callback to memorize the thread id when drawer was closed
- added a state to memorize then event that triggered right drawer close
- added a predicate that checks if event that close email thread right drawer is not the same that the open email thread click event AND that the thread that we want to open is not the thread that is just being closed.
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-14 18:11:27 +01:00
Anchit Sinha
fbc7e6ab6e
4364-feat(front): Display tags in multi-select picker ( #4419 )
...
* feat: add tags in multi select picker
* feat: display MenuItemLeftContent if no color passed
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-14 17:59:11 +01:00
Dragoș Cojocaru
595c7a9ba4
Migrate Export feature to the action bar ( #4417 )
...
* Migrate Export feature to the action bar
* Fixed predicate derived state
* Fixed bug useFindManyParams outside context
* Added export row selection
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-14 17:57:09 +01:00
Jeet Desai
858416530b
Fix: Added grab cursor on hover over favorite icon ( #4415 )
...
* #4405 Fix: Added grab cursor on hover over favorite icon
* resolved comment
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-14 14:30:24 +01:00
Félix Malfait
42e86c7c82
Enable backend to serve frontend ( #4461 )
...
Basic POC to have frontend served by backend
2024-03-14 11:53:10 +01:00
Abdullah
8c0680b918
Setup the foundation for Twenty UI library. ( #4423 )
...
* feat: create a separate package for twenty-ui, extract the pill component with hard-coded theme values into it, and use the component inside twenty-front to complete the setup
* feat: extract the light and the dark theme into twenty-ui and update the AppThemeProvider component inside twenty-front to consume themes from twenty-ui
* fix: create a decorator inside preview.tsx to provide a default theme to storybook development server
* fix: remove redundant type declarations and revert back the naming convention for theme declarations
* fix: introduce a default value for pill label within the story for development server
* fix: introduce the nx script into package.json for twenty-ui and resolve imports for theme type within the package
* fix: remove the pill component from the twenty-front package along with the story for it
* fix: revert the package versions to those before running the nx cli command for storybook init
* feat: update readme to include details for building the ui library and starting the storybook development server
* fix: include details about twenty-ui inside jest.config for twenty-front to complete front-jest job
* - Added preview head for font
- Added theme addon for light/dark switch
- Added ComponentDecorator
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-13 14:21:18 +01:00
martmull
62d414ee66
40 remove self billing feature flag ( #4379 )
...
* Define quantity at checkout
* Remove billing submenu when not isBillingEnabled
* Remove feature flag
* Log warning when missing subscription active workspace add or remove member
* Display subscribe cta for free usage of twenty
* Authorize all settings when subscription canceled or unpaid
* Display subscribe cta for workspace with canceled subscription
* Replace OneToOne by OneToMany
* Add a currentBillingSubscriptionField
* Handle multiple subscriptions by workspace
* Fix redirection
* Fix test
* Fix billingState
2024-03-12 18:10:27 +01:00
gitstart-app[bot]
60598bf235
[ESLint rule] prevent useRecoilCallback without a dependency array ( #4411 )
...
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2024-03-12 15:12:17 +01:00
Thaïs
41c7cd8cf7
feat: add calendar event attendees avatar group ( #4384 )
...
* feat: add calendar event attendees avatar group
Closes #4290
* fix: take CalendarEventAttendee data model into account
* feat: add Color code section to Calendar Settings (#4420 )
Closes #4293
* Fix lint
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-12 14:58:34 +01:00
Thaïs
ab4ab1dfba
feat: add next event indicator to Show Page Calendar tab ( #4348 )
...
* feat: add next event indicator to Show Page Calendar tab
Closes #4289
* feat: improve calendar animation
* refactor: add some utils and fix sorting edge case with full day
* refactor: rename CalendarCurrentEventIndicator to CalendarCurrentEventCursor
* fix: fix tests
* Fix lint
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-12 14:27:51 +01:00
brendanlaschke
1b485c2984
Hide favorites,MessageParticipant and calendareventattendees from datamodel ( #4392 )
...
hide favorites, MessageParticipant and calendareventattendees from datamodel
2024-03-12 11:47:27 +01:00
Anchit Sinha
d73b1d1a8a
4366-feat(front): Clickable Ascending/Descending menu ( #4389 )
...
* feat: clickable menu
* Remove unused hover
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-11 17:18:41 +01:00
Dragoș Cojocaru
4704ef829e
fix: Standardize labels casing ( #4388 )
...
Standardize labels casing
2024-03-11 17:15:22 +01:00
Charles Bochet
5287b7c4ab
Add icon, position and key on View ( #4413 )
...
* Add view key field
* Update Prefill demo, seed dev, prefill new workspace
2024-03-11 17:00:19 +01:00
Aayush-23
5cf4047482
Allowing to open options for an opportunity on company record. ( #4387 )
...
* Allowing to open option for an opportunity on company record.
* Fixed linting issue.
2024-03-11 16:46:59 +01:00
Jeet Desai
7231ea1e72
Fix: Inline Phone Field Menu ( #4383 )
...
* #4343 fix: phone menu display on page
* Add the possibility to send width as %
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-11 16:38:37 +01:00
Thomas Trompette
c82c60b448
Build arg setter for position ( #4396 )
...
* Build arg setter for position
* Build separated query factory + rename existing
* Sort record by position in front
* Add tests
* Set first for type board
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-11 16:18:15 +01:00
Lucas Bordeau
e26572b408
Use backspace for clearing record table cell. ( #4299 )
...
* Use backspace for clearing record table cell.
2024-03-11 15:19:28 +01:00
Lucas Bordeau
581dfafe11
Renamed nullable utils into isDefined and isUndefinedOrNull ( #4402 )
...
* Renamed nullable utils into isDefined and isUndefinedOrNull
2024-03-11 14:28:57 +01:00
Charles Bochet
3f15cc5b7a
Fix fields cannot be added on opportunity board if no field are present
2024-03-11 00:09:34 +01:00
Charles Bochet
ec384cc791
Implement eager load relations on graphqlQueries ( #4391 )
...
* Implement eager load relations on graphqlQueries
* Fix tests
* Fixes
* Fixes
2024-03-10 23:42:23 +01:00
Charles Bochet
86c0f311f5
Introduce ComponentState ( #4386 )
...
* Proof of concept ComponentState
* Migrate to createState and createFamilyState
* Refactor
* Fix
* Fix tests
* Fix lint
* Fix tests
* Re-enable coverage
2024-03-09 11:31:00 +01:00
gitstart-app[bot]
17511be0cf
TWNTY-3794 - ESLint rule: only take explicit boolean predicates in if statements ( #4354 )
...
* ESLint rule: only take explicit boolean predicates in if statements
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix frontend linter errors
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix jest
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix lint on new code
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
2024-03-09 10:48:19 +01:00
Thaïs
40bea0d95e
feat: add Settings Object Edit identifiers form ( #4300 )
...
* feat: add Settings Object Edit identifiers form
Closes #3836
* fix: fix wrong imports after renaming directories
2024-03-08 21:55:30 +01:00
Jeet Desai
40a3b7d849
Added CurrencyFieldInput design ( #4254 )
...
* #4123 CurrencyFieldInput design is ready
* resolved comment and currency code
* resolved design comment
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-08 21:30:45 +01:00
Charles Bochet
d2e2e50d8a
Fix consistency issuesin relation onDelete behavior while creating a new relation ( #4372 )
...
* Fix consistency issuesin relation onDelete behavior while creating a new relation
* Fix according to review
2024-03-08 11:49:42 +01:00
Thaïs
92aa0bd888
feat: add Month headers to Show Page Calendar tab ( #4326 )
...
Closes #4288
2024-03-08 06:22:23 -03:00
martmull
4a7a629824
44 add blocking middleware payment failed ( #4339 )
...
* Add info ui component
* Add info in billing settings
* Add billing middleware
* Handle subscription canceled webhook event
* Stop deleting billingSubscription when subscription canceled
* Handle subscription unpaid recovery
* Handle subscription canceled status
* Fix test
* Add test
* Fix test chatSupport display
* Fix design
2024-03-07 17:22:58 +01:00
Jérémy M
af6ffbcc68
feat: standard fields on custom ( #4332 )
...
* feat: add ability to sync standard fields on custom object
* fix: clean
* fix: wrong compute during object creation
* fix: missing cascade delete
* fix: remove unused injected class
* fix: naming
* fix: rename factory to paramsFactory and clean
* fix: rename ExtendCustomObjectMetadata to BaseCustomObjectMetadata
* fix: partial fix inconsistent label and description
* Fixes
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-03-07 17:21:50 +01:00
Rachel Johnson
eabece6918
TextInput height fix ( #4327 )
...
changed text input height to 32px
2024-03-07 15:37:27 +01:00
Abhishek Bindra
e8252eca86
Chore: Only show 2 relations in ActivityTargetChips ( #4325 )
...
* limits activity target relations count to 2
* Remove dynamic width calculation
---------
Co-authored-by: Abhishek Bindra <abindra@commvault.com >
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-07 12:26:19 +01:00
Thaïs
dd961209de
feat: add event rows to Show Page Calendar tab ( #4319 )
...
* feat: add event rows to Show Page Calendar tab
Closes #4287
* refactor: use time as events group key instead of ISO string for easier sorting
* feat: implement data model changes
* refactor: improve sorting
2024-03-07 11:13:22 +01:00
Charles Bochet
9190bd8d7f
Deprecate old board ( #4352 )
...
* Deprecate old board
* Fix tests
* Fix tests
2024-03-07 10:02:45 +01:00
Aryan Singh
4f4ce1c655
fix: updated NavigationDrawerItem icon stroke width from sm to md ( #4331 )
2024-03-07 08:25:11 +01:00
Thomas Trompette
019c630686
Use new type position for standard objects and newly created objects ( #4349 )
...
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-06 18:34:10 +01:00
Charles Bochet
e5c09deae5
Improve performances of metadata endpoint ( #4347 )
2024-03-06 18:09:38 +01:00
Thomas Trompette
60239353a9
Create new type position ( #4336 )
...
* Create new type position
* Remove position filter type
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-06 14:41:51 +01:00
Charles Bochet
b08b361dc0
Command menu search bar ( #4337 )
...
* Improve performance on findMany queries
* Fix
* Fix command menu not emptying the search on toggle
* Fix tests
2024-03-06 14:20:05 +01:00
Charles Bochet
e7857d7fa3
Improve performance on findMany queries ( #4334 )
...
* Improve performance on findMany queries
* Fix
2024-03-06 13:59:42 +01:00
gitstart-app[bot]
b2210bd418
TWNTY-2244 - ESLint rule: enforce usage of .getLoadable() + .getValue() to get atoms ( #4143 )
...
* ESLint rule: enforce usage of .getLoadable() + .getValue() to get atoms
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Fix
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Fix linter issue
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
* Fix linter
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-06 00:24:20 +01:00
Charles Bochet
706b5d3cf1
Release 0.3.2 ( #4324 )
...
* Release 0.3.2
* Fix Select search
2024-03-05 18:57:31 +01:00
Charles Bochet
614f3ed69e
Fix click outside on select field ( #4323 )
...
* Fix click outside on select field
* Fix
2024-03-05 18:43:52 +01:00
gitstart-twenty
a7733b24df
Add a concise test report with just the errors ( #4220 )
...
* Add a concise test report with just the errors
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
* Add a concise test report
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-03-05 17:43:31 +01:00
Arshil Vahora
6bb7042a68
Select Field Input Menu scrollable and add Select Field in Filter and Sort ( #3656 )
...
* - fix Select Option Menu scrollable and added search
- add select field in filter and sort operation
* Fix lint
* Fix post merge
* Fix select filter
* Fix
* Remove duplicated search input
* fix turn object into query
* Rename search inputs
* Remove debounced for options
* Simplify option filter
* Rename option to MenuItemSelectTag
* Fix test
* Infer type from field metadata item
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-05 17:41:41 +01:00
martmull
0b889ef089
43 add billing portal link ( #4318 )
...
* Add create billing portal session endpoint
* Rename checkout to checkoutSession
* Add billig portal query in twenty-front
* Add billing menu item
* WIP: add menu page
* Code review returns
* Rename request files
* Unwip: add menu page
* Add billing cover image
* Fix icon imports
* Rename parameter
* Add feature flag soon pill
2024-03-05 17:40:58 +01:00
martmull
28a093d495
42 add billing portal endpoint ( #4315 )
...
* Add create billing portal session endpoint
* Rename checkout to checkoutSession
* Code review returns
2024-03-05 15:28:45 +01:00