Eldar Dautović
b089b93e67
feat: modified DoubleTextInput to split First and Last name accordingly ( #4598 )
...
* feat: modified DoubleTextInput to split First and Last name accordingly
* Fix Linter
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-03-21 09:50:11 +01:00
Aditya Pimpalkar
da12710fe9
feat: multi-workspace (frontend) ( #4232 )
...
* select workspace component
* generateJWT mutation
* workspaces state and hooks
* requested changes
* mutation fix
* requested changes
* user workpsace delete call
* migration to drop and createt user workspace
* revert select props
* add DropdownMenu
* seperate multi-workspace dropdown as component
* Signup button displayed accurately
* update seed data for multi-workspace
* lint fix
* lint fix
* css fix
* lint fix
* state fix
* isDefined check
* refactor
* add default workspace constants for logo and name
* update migration
* lint fix
* isInviteMode check on sign-in/up
* removeWorkspaceMember mutation
* import fixes
* prop name fix
* backfill migration
* handle edge cases
* refactor
* remove migration query
* delete user on no-workspace found condition
* emit workspaceMember.deleted
* Fix event class and unrelated fix linked to a previously missing dependency
* Edit migration (I did it in prod manually)
* Revert changes
* Fix tests
* Fix conflicts
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-03-20 14:43:41 +01:00
Charles Bochet
cfb0cce9b8
Refactor Views by cleaning the code, relying on apolloCache and improving performances ( #4516 )
...
* Wip refactoring view
* Post merge conflicts
* Fix review
* Add create view capability
* Fix create object missing view
* Fix tests
2024-03-20 14:21:58 +01:00
Thaïs
20e14cb455
fix: fix typings in calendar utils tests ( #4572 )
...
* fix: fix typings in calendar utils tests
* fix: remove unstable test
2024-03-20 10:07:01 +01:00
brendanlaschke
017b09ba35
Blocknote custom slash menu ( #4517 )
...
blocknote v12, cleaned up blockschema & specs, added custom slash menu
2024-03-20 08:38:05 +01:00
martmull
35d41e38c8
Set optional checkout.session.url ( #4569 )
...
* Set optional checkout.session.url
* Lint
* Edit .env.example
* Vale CI
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-03-20 07:04:07 +01:00
Félix Malfait
b6e8bb1a6c
Delete auth/file front variables ( #4455 )
2024-03-19 22:19:40 +01:00
Félix Malfait
4bfb90657f
Add JSON field type and Event object ( #4566 )
...
* Add JSON field type and Event object
* Simplify code
* Adress PR comments and add featureFlag
2024-03-19 21:54:08 +01:00
bosiraphael
4ab426c52a
4485 create a custom resolver for calendar events ( #4568 )
...
* create timeline calendar event resolver
* working on getCalendarEventsFromPersonIds
* add count query
* add calendarEventVisibility and add typing
* update calendarEvent dto
* modify calendarEvent dto
* compute calendar event visibility
* fix types
* add FieldMetadata in timeline calendar dtos and create queries and fragments
* remove fieldMatadata
* fix naming
* update resolver
* add getCalendarEventsFromCompanyId
* fix queries
* refactor queries
* fix visibility
* fix calendar event attendees bug
* visibility is working
* remove @IDField
* update gql queries
* update dto
* add error
* add enum
* throw http exception
* modify error
* Refactor calendar event visibility check
* use enum
2024-03-19 18:34:00 +01:00
Lucas Bordeau
9f6c578a46
Added context ( #4557 )
2024-03-18 17:13:32 +01:00
gitstart-app[bot]
872fb2bd49
TWNTY-4450 - Add tests for /modules/activities/emails ( #4520 )
...
* Add tests for `/modules/activities/emails`
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Remove temporary changes
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-03-18 17:10:07 +01:00
brendanlaschke
2aa6bcdb70
Action bar add delete count ( #4470 )
...
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-18 16:11:02 +01:00
Charles Bochet
feebc45d31
Fix storybook tests on IconPicker ( #4510 )
2024-03-15 21:47:07 +01:00
Charles Bochet
e0ae12ffa1
Fix server deploy ( #4509 )
...
* Fix server deployment broken by nx
* Fix server deployment broken by nx
* Fix server deployment broken by nx
* Fix
* Fix
* Fix
* Fix
2024-03-15 21:15:14 +01:00
Charles Bochet
cd9f402bc2
Fix calendar broken tests
2024-03-15 19:40:48 +01:00
Charles Bochet
1cc8edd016
Fix tests and linter
2024-03-15 19:14:57 +01:00
Charles Bochet
afb9b3e375
Prefetching views and favorites ( #4421 )
...
* wip
* Push
* Complete work on prefetch
* Add comment
* Fix
* Fix
* Fix
* Fix
* Remove dead code
* Simplify
* Fix tests
* Fix tests
* Fix according to review
* Fix according to review
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-15 18:35:40 +01:00
Thaïs
38f28de4a6
feat: open event details drawer on event row click ( #4464 )
...
* feat: open event details drawer on event row click
Closes #4294
* feat: review - display Calendar Event details Inline Cells in readonly mode
* fix: fix calendar event field values not being set
* chore: review - reactivate no-extra-boolean-cast eslint rule
2024-03-15 17:37:36 +01:00
Ravan
680bb11f19
Changed Filter/sort labels font weight to medium instead of bold. ( #4500 )
...
* changed font weight to 500 for filter/sort labels
* Removed isSort prop and StyledChipProps type
2024-03-15 17:36:11 +01:00
Danil
235e71ca02
Update backdrop-filter in OverlayBackground.ts ( #4436 )
...
* Update backdrop-filter in OverlayBackground.ts
* Fix backdrop-filter in OverlayBackground.ts
* Update opacity of menu item, to be constantly 0
* Fixes
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-15 17:19:27 +01:00
Aditya Pimpalkar
638a12c571
feat: iframe addition (chrome-extension) ( #4418 )
...
* toggle iframe addition
* React UI init
* remove files
* loading state files
* render iframe logic
* remove event
* build fix
* WIP
* Ok
* Cleaned
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-15 16:36:53 +01:00
gitstart-twenty
c083bb15cd
First batch of modules/activities tests ( #4446 )
...
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 >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
2024-03-15 16:32:06 +01:00
gitstart-app[bot]
7b83c84fa5
TWNTY-4447 - Add tests for /modules/activities/hooks ( #4475 )
...
Add tests for `/modules/activities/hooks`
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2024-03-15 16:30:42 +01:00
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