be20a690b3
added typechecking for all ts files ( #6466 )
...
Fixes : #6436
Changes made:
- Added typecheck step before twenty-ui build to check stories TS errors
- Added a tsconfig.dev.json to add stories and tests to typecheking when
in dev mode
- Added tsconfig.dev.json to storybook dev command of twenty-ui to
typecheck stories while developing
- Fixed twenty-ui stories that were broken
- Added a serve command to serve front build
- Fixed unit test from another PR
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-08-20 11:05:13 +02:00
b8f33f6f59
5095 move onboardingstatus computation from frontend to backend ( #5954 )
...
- move front `onboardingStatus` computing to server side
- add logic to `useSetNextOnboardingStatus`
- update some missing redirections in
`usePageChangeEffectNavigateLocation`
- separate subscriptionStatus from onboardingStatus
2024-06-28 17:32:02 +02:00
3986824017
5623 add an inviteteam onboarding step ( #5769 )
...
## Changes
- add a new invite Team onboarding step
- update currentUser.state to currentUser.onboardingStep
## Edge cases
We will never display invite team onboarding step
- if number of workspaceMember > 1
- if a workspaceMember as been deleted
## Important changes
Update typeorm package version to 0.3.20 because we needed a fix on
`indexPredicates` pushed in 0.3.20 version
(https://github.com/typeorm/typeorm/issues/10191 )
## Result
<img width="844" alt="image"
src="https://github.com/twentyhq/twenty/assets/29927851/0dab54cf-7c66-4c64-b0c9-b0973889a148 ">
https://github.com/twentyhq/twenty/assets/29927851/13268d0a-cfa7-42a4-84c6-9e1fbbe48912
2024-06-12 21:13:18 +02:00
cfd83d6b8e
[UI] Remove theme constants from twenty-front and use the ones exported from twenty-ui. ( #5558 )
...
Some parts of the Frontend used theme constants exported from
`modules/ui` while other parts used theme constants exported from
`twenty-ui`.
This PR centralizes theme constants by removing them from `modules/ui`
completely.
2024-05-25 16:09:25 +02:00
b8eef21343
[UI] Extract our ColorSample and Tag components from twenty-front to twenty-ui. ( #5543 )
...
Two more components extracted out of twenty-front: `ColorSample` and
`Tag`.
2024-05-23 07:46:31 +02:00
d1cbd709bd
Extract typography components from twenty-front to twenty-ui. ( #5466 )
...
Removed the following components from twenty-front and moved them to
twenty-ui.
- H1Title.
- H2Title.
- H3Title.
Moving components in smaller chunks to ease the process of resolving
conflicts.
<img width="1255" alt="image"
src="https://github.com/twentyhq/twenty/assets/125115953/a3953659-5dfd-4d03-a6de-50b064129d55 ">
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-05-22 10:52:35 +02:00
602d5422a2
feat: display Links field as Expandable List ( #5374 )
...
Closes #5114
2024-05-15 15:52:23 +02:00
87994c26ff
4900 multi select field front implement expanded cells ( #5151 )
...
Add expanded cell
https://github.com/twentyhq/twenty/assets/29927851/363f2b44-7b3c-4771-a651-dfc4014da6ac

2024-05-03 15:03:06 +02:00
1da64c7715
[feat] Minor updates to the edit db connection page ( #5250 )
...
- Add placeholders in db connection edit page
- Fix icon alignement and size (should not change) in Info banner
2024-05-02 15:25:54 +02:00
1b2ed80c1c
[feat][Remote objects] Edit a connection (for pg) ( #5210 )
...
## Context
#4774
## How was it tested
Locally
## In further PRs
- Update connection status upon page change
- Adapt Info banner to dark mode
- placeholders for form
2024-04-30 17:46:30 +02:00
0ccbdacb5a
feat: Status tags can show loader to complement displayed text ( #5137 )
...
Resolves #5134
https://github.com/twentyhq/twenty/assets/16918891/48475f1b-a61f-4b87-8b9b-1271a183ac4b
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-04-25 10:27:17 +02:00
d7d9f0c16b
Fix ParticipantChip and stories imports ( #4974 )
...
- Fix ParticipantChip
- Fix stories imports after some component have been moved to twenty UI
2024-04-15 18:09:05 +02:00
b6d0b8a895
refactor: move Checkmark, Avatar, Chip and Tooltip to twenty-ui ( #4946 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
Part of #4766
2024-04-15 12:05:06 +02:00
9f83cc1426
refactor: move @/ui/display/icon to twenty-ui ( #4820 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
Part of https://github.com/twentyhq/twenty/issues/4766
2024-04-12 15:30:48 +02:00
c0b3a8715f
4810 display participants in the right drawer of the calendar event ( #4896 )
...
Closes #4810
- Introduces a new component `ExpandableList` which uses intersection
observers to display the maximum number of elements possible
2024-04-12 10:33:46 +02:00
584d90ec89
Create new field type JSON ( #4729 )
...
### Description
Create new field type JSON
### Refs
https://github.com/twentyhq/twenty/issues/3900
### Demo
https://github.com/twentyhq/twenty/assets/140154534/9ebdf4d4-f332-4940-b9d8-d9cf91935b67
Fixes #3900
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
Co-authored-by: Marie Stoppa <marie.stoppa@essec.edu >
2024-04-11 11:41:36 +02:00
8ae6af6bd7
refactor: move createState to twenty-ui ( #4716 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2024-04-01 13:22:51 +02:00
5d07b6347e
refactor: move Tabler Icon exports to twenty-ui ( #4727 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
2024-04-01 13:15:47 +02:00
00eee3158e
4698-Renamed to inbox ( #4701 )
...
Renamed to inbox
2024-03-28 17:11:13 +01:00
3171d0c87b
feat: address composite field ( #4492 )
...
Added new Address field input type.
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-28 16:50:38 +01:00
e576fe0d67
Update yarn commands ( #4644 )
...
* Simplify commands
* Simplify commands
* Migrate all dev commands to project.json
* Fix tests
2024-03-25 12:31:18 +01:00
922d632607
Basic log styling ( #4634 )
...
* basic log styling
* fixed mobile wrap and changed default event icon
* add group by test
2024-03-25 10:15:39 +01:00
8e4123e772
48 add yearly monthly sub switch ( #4577 )
2024-03-21 10:47:25 +01:00
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
017b09ba35
Blocknote custom slash menu ( #4517 )
...
blocknote v12, cleaned up blockschema & specs, added custom slash menu
2024-03-20 08:38:05 +01:00
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
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
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
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
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
92aa0bd888
feat: add Month headers to Show Page Calendar tab ( #4326 )
...
Closes #4288
2024-03-08 06:22:23 -03:00
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
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
b762be3f93
Added a 'Read documentation' button in the Developers tab in settings ( #4249 )
2024-02-29 19:00:30 +01:00
8625a71f15
Add export as csv ( #4034 )
...
* Add export as csv
Resolves 2183.
* collect over paginated data
* refactor
* add tests
* parameterize pageSize (limit)
* use pageInfo for onCompleted callback
* json column variable naming
* omit relations from csv exports
2024-02-29 17:45:44 +01:00
6ec0e5e995
feat: adjust navigation drawer design ( #4242 )
...
Closes #3969 , Closes #4240
2024-02-29 16:49:23 +01:00
f543191552
TWNTY-3825 - ESLint rule: const naming ( #4171 )
...
* ESLint rule: const naming
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
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 >
* refactor: Reverts changes on `twenty-server`
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
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: KlingerMatheus <klinger.matheus@gitstart.dev >
2024-02-25 13:52:48 +01:00
a993155fb0
feat: add Color calendar setting ( #4141 )
...
* feat: add Color calendar setting
Closes #4067
* fix: fix wrong imports
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-24 12:34:56 +01:00
5a692fbaeb
feat: add Accounts List Card to Calendar Settings ( #4129 )
...
Closes #4061
2024-02-22 11:22:49 +01:00
15510c9fbe
Added beta tag in email ( #4098 )
...
#4040 added beta tag
2024-02-21 17:09:36 +01:00
6fb0099eb3
3969 Adjusted Sidebar ( #3971 )
...
* Label fix
* changes done
* Revert "Label fix"
This reverts commit 1233b5809993da454bc84286746ef4ef18934e2e.
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-02-19 23:01:17 +01:00
47d7e19570
Update custom object placeholder ( #3876 )
...
* #3874 update custom object placeholder
* #3876 removed object-edit folder and file
* #3833 update loading image
* remove image file
2024-02-13 23:24:21 +01:00
7b88e5bdaf
3865-Add-Integrations ( #3870 )
...
* initial commit setup
* ui done
* added links
* changed brand logos
* Twenty logo fix
* Windmill logo fix
* Fix typo
* Add feature flag
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-13 23:11:05 +01:00
2ba9a209e8
3804 use email visibility to display only the shared information frontend ( #3875 )
...
* create and use component
* visibility working
* Fix click behavior for email thread previews
* Add dynamic styling to EmailThreadPreview component
* refactor to respect the convention
2024-02-08 17:49:29 +01:00
511627ccb8
Fix count avatar color + align thread preview items ( #3695 )
...
Fix count avatar and align items
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-01-30 15:01:12 +01:00
6eca6dc780
Fix Opportunities page ( #3660 )
...
* Fix Opportunities page
* Fix
* Fix tests
2024-01-28 23:33:36 +01:00
fd5cae6aae
fixed overflowing text for select on card #3494 ( #3504 )
...
* fixed overflowing text for select on card #3494
* maxWidth of useRelationFeild hook
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-23 19:08:39 +01:00
23a3614b54
Fixed filter dropdown on task page ( #3469 )
...
* Fixed filter dropdown on task page
* Fixed ts in test
* Change avatarUrl to nullable in ObjectRecordIdentifier
2024-01-23 12:59:26 -03:00
096f005562
header component added ( #3539 )
...
* header component added
* fix css issues and date format issue
---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2024-01-23 12:06:21 +01:00
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