b10d831371
8726 workflow add a test button in workflow code step ( #9016 )
...
- add test button to workflow code step
- add test tab to workflow code step
https://github.com/user-attachments/assets/e180a827-7321-49a2-8026-88490c557da2


2024-12-13 10:16:29 +00:00
a9cb20f317
Refactor and fixes dropdown bugs ( #8807 )
...
Fixes https://github.com/twentyhq/twenty/issues/8788
Fixes https://github.com/twentyhq/twenty/issues/8793
Fixes https://github.com/twentyhq/twenty/issues/8791
Fixes https://github.com/twentyhq/twenty/issues/8890
Fixes https://github.com/twentyhq/twenty/issues/8893
- [x] Also :
Icon buttons under dropdown are visible without blur :

- [x] Also :
<img width="237" alt="image"
src="https://github.com/user-attachments/assets/e4c70936-beff-4481-89cb-0a32a36e0ee2 ">
- [x] Also :
<img width="335" alt="image"
src="https://github.com/user-attachments/assets/5be60395-6baf-49eb-8d40-197add049e20 ">
- [x] Also :
<img width="287" alt="image"
src="https://github.com/user-attachments/assets/a317561f-7986-4d70-a1c0-deee4f4e268a ">
- Button create new without padding
- Container is expanding
- [x] Also :
<img width="303" alt="image"
src="https://github.com/user-attachments/assets/09f8a27f-91db-4191-acdc-aaaeedaf6da5 ">
- [x] Also :
<img width="133" alt="image"
src="https://github.com/user-attachments/assets/fe17b32e-f7a4-46c4-8040-239eaf8198e8 ">
Font is cut at bottom ?
- [x] Also :
<img width="385" alt="image"
src="https://github.com/user-attachments/assets/7bab2092-2936-4112-a2ee-d32d6737e304 ">
The component should flip and not resize in this situation
- [x] Also :
<img width="244" alt="image"
src="https://github.com/user-attachments/assets/5384f49a-71f9-4638-a60c-158cc8c83f81 ">
- [x] Also :

2024-12-06 14:27:48 +00:00
2f5dc26545
Settings Option Card component ( #8456 )
...
fixes - #8195
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-11-18 09:22:33 +00:00
bec4da496d
Data settings new layout - anchor navigation ( #8334 )
...
Follow-up of https://github.com/twentyhq/twenty/pull/7979
Navigation between settings and fields tabs is now reflected in URL.
<img width="1106" alt="Capture d’écran 2024-11-07 à 18 38 57"
src="https://github.com/user-attachments/assets/24b153ef-9e68-4aa2-8e3a-6bf70834c5ad ">
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com >
Co-authored-by: Weiko <corentin@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-11-11 14:06:38 +01:00
6d62dd9fd1
fix: object activate dropdown ( #8438 )
...
Fixes : #8436
Fixes : #8435
& other duplicate ```DropdownMenu```
2024-11-11 09:26:07 +01:00
f3e3c186dc
Fix noninteractive toggle ( #8383 )
...
- Use a label to make the whole card interactive
- Disallow the Toggle component to shrink; it used to on mobile devices
A focus indicator is missing for the Toggle component. We'll have to add
one.
2024-11-08 12:42:15 +01:00
f9c076df31
o365 calendar sync ( #8044 )
...
Implemented:
* Account Connect
* Calendar sync via delta ids then requesting single events
I think I would split the messaging part into a second pr - that's a
step more complex then the calendar :)
---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2024-11-07 18:13:22 +01:00
6264d509bd
Migrate to twenty-ui - navigation/menu-item ( #8213 )
...
This PR was created by [GitStart](https://gitstart.com/ ) to address the
requirements from this ticket:
[TWNTY-7536](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-7536 ).
---
### Description
Migrate all menu items components to twenty ui and update imports.
```typescript
MenuItem
MenuItemAvata
MenuItemCommand
MenuItemCommandHotKeys
MenuItemDraggable
MenuItemMultiSelect
MenuItemMultiSelectAvatar
MenuItemMultiSelectTag
MenuItemNavigate
MenuItemSelect
MenuItemSelectAvatar
MenuItemSelectColor
MenuItemSelectTag
MenuItemSuggestion
MenuItemToggle
```
\
Also migrate all other dependent components and utilities like
`Checkbox` & `Toggle`\
\
Fixes twentyhq/private-issues#82
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-11-07 16:51:39 +00:00
fc8c9d9167
Migrate to twenty-ui - input components ( #7914 )
...
### Description
Migrate Input components:
- CardPicker
- Radio
- RadioGroup
- Checkbox
- Toggle
- IconListViewGrip
### Demo
Radio Component on Storybook

Checkbox component on Storybook

###### Fixes twentyhq/private-issues#92
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-28 15:36:58 +01:00
fa0933b292
Migrate to twenty-ui - layout/section ( #8068 )
...
This PR was created by [GitStart](https://gitstart.com/ ) to address the
requirements from this ticket:
[TWNTY-7533](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-7533 ).
---
Description \
\
Move Section component from twenty-front to twenty-ui and update
imports\
\
\
Fixes twentyhq/private-issues#85
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
2024-10-28 13:08:55 +01:00
b09ecfbb8c
Migrate to twenty-ui - display ( #8004 )
...
This PR was created by [GitStart](https://gitstart.com/ ) to address the
requirements from this ticket:
[TWNTY-6871](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-6871 ).
---
### Description
Migrate:
- Info display component
- Status display component
- SeparatorLineText display component
### Demo
###### SeparatorLineText In Storybook

Info Component on Storybook

Status Component on Storybook

###### Fixes twentyhq/private-issues#95
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-24 17:50:14 +02:00
1dfeba39eb
Migrate to twenty-ui - layout/card ( #8003 )
...
This PR was created by [GitStart](https://gitstart.com/ ) to address the
requirements from this ticket:
[TWNTY-7532](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-7532 ).
---
### Description
Migrate:
- Card
- CardContent
- CardFooter
- CardHeader
### Demo
Card in Storybook

###### Fixes twentyhq/private-issues#86
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-24 16:36:06 +02:00
0a28c15747
Migrate to twenty-ui - input/button ( #7994 )
...
This PR was created by [GitStart](https://gitstart.com/ ) to address the
requirements from this ticket:
[TWNTY-7529](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-7529 ).
---
### Description
- Migrated all button components to `twenty-ui` \
\
`Button`\
`ButtonGroup`\
`ColorPickerButton`\
`FloatingButton`\
`FloatingButtonGroup`\
`FloatingIconButton`\
`FloatingIconButtonGroup`\
`IconButton`\
`IconButtonGroup`\
`LightButton`\
`LightIconButton`\
`LightIconButtonGroup`\
`MainButton`\
\
Fixes twentyhq/private-issues#89
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-24 13:20:02 +02:00
430644448a
Migrate to twenty-ui - navigation/link ( #7837 )
...
This PR was created by [GitStart](https://gitstart.com/ ) to address the
requirements from this ticket:
[TWNTY-7535](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-7535 ).
---
### Description.
Migrate link components to `twenty-ui` \
\
Fixes #7535
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-22 17:36:26 +02:00
0f0a7966b1
feat(sso): allow to use OIDC and SAML ( #7246 )
...
## What it does
### Backend
- [x] Add a mutation to create OIDC and SAML configuration
- [x] Add a mutation to delete an SSO config
- [x] Add a feature flag to toggle SSO
- [x] Add a mutation to activate/deactivate an SSO config
- [x] Add a mutation to delete an SSO config
- [x] Add strategy to use OIDC or SAML
- [ ] Improve error management
### Frontend
- [x] Add section "security" in settings
- [x] Add page to list SSO configurations
- [x] Add page and forms to create OIDC or SAML configuration
- [x] Add field to "connect with SSO" in the signin/signup process
- [x] Trigger auth when a user switch to a workspace with SSO enable
- [x] Add an option on the security page to activate/deactivate the
global invitation link
- [ ] Add new Icons for SSO Identity Providers (okta, Auth0, Azure,
Microsoft)
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-21 20:07:08 +02:00
a45d3148ac
fix: Blocklist table optimised for all viewports ( #7618 )
...
## Description
- This PR fixes the issue #7549
- Optimised blocktable for all viewports
## Changes -
<img width="1113" alt="Screenshot 2024-10-12 at 5 11 11 PM"
src="https://github.com/user-attachments/assets/29d491da-5878-4c88-b50e-6ee6c43d5bec ">
https://github.com/user-attachments/assets/d5fa063d-2819-4a9d-a9b2-e3ceefe65c8d
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-17 21:37:03 +02:00
43a0006947
fix: Settings card inconsitent for mobile viewports ( #7464 )
...
Closes #7457
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-10-10 17:43:22 +02:00
d8c4af9279
Fix all broken CIs ( #7439 )
...
Fix all the broken CIs :p
This includes an ongoing effort to simplify test maintenance by having 1
unique source of truth about metadata and data mocks (that will later be
generated from a unique source of seeds: dev = demo = test)
Regressions:
- Unit line coverage: 60 > 55
- Storybook Pages branch coverage: 40 > 35
We will need to write tests to increase those coverage
- RelationFieldDisplay perf: 0.2ms to 0.22ms > We might have a
regression here
- Removed perf story about RawJSON > We will need to re-add it
2024-10-05 00:23:23 +02:00
c4762c3921
Add Header to Email & Calendar Tabs #7288 ( #7293 )
...
# Fix: 7288 - Add Header to Email & Calendar Tabs (No Account Connected)
## Description
Added a header to the **Email** and **Calendar** tabs when no account is
connected, matching the style and spacing of the account page to prevent
layout issues when switching between pages.
### Header Content:
- **Connected Accounts**
- **Manage your internet accounts**
## Screenshot:
<img width="1440" alt="Screenshot 2024-09-27 at 5 20 55 PM"
src="https://github.com/user-attachments/assets/0c641dd6-e17f-47c4-9e30-45a3f8a9eac9 ">
Fixes #7288
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-09-27 14:09:33 +02:00
7669b40543
Fix calendar page without account ( #7256 )
...
More details in this PR https://github.com/twentyhq/twenty/pull/7202
We(I) forgot to fix on the calendar page.
2024-09-25 16:15:52 +02:00
d8e16cbfd1
Fix IN filter with empty array ( #7202 )
...
## Context
The api currently allows empty array in the IN filter but the expected
behaviour is not very clear. Typeorm seems to return all records when it
is empty which could lead to undesired result. Instead we decided to
throw an error.
I've updated the FE accordingly to skip calls when array is empty.
<img width="696" alt="Screenshot 2024-09-23 at 14 20 28"
src="https://github.com/user-attachments/assets/4b641430-ff17-40a6-bbc5-75e9a1d55f50 ">
2024-09-23 15:12:49 +02:00
1d56ace2af
Fix sync statuses on the fe ( #7117 )
...
Follows #6685
2024-09-18 18:46:39 +02:00
cac3e116a3
Add SettingsCard for Config Data Type and Accounts Settings ( #7093 )
...
https://github.com/twentyhq/twenty/issues/6950
Add new Settings Card for Config Data Type and accounts Settings
Before:
<img width="707" alt="Screenshot 2024-09-11 at 17 43 16"
src="https://github.com/user-attachments/assets/63ff9373-fa86-4b22-8e8b-21483039c3be ">
After:
<img width="755" alt="Screenshot 2024-09-17 at 14 15 18"
src="https://github.com/user-attachments/assets/213c24a1-dc1c-4ffb-8890-7c1f63ed376c ">
<img width="755" alt="Screenshot 2024-09-17 at 14 15 38"
src="https://github.com/user-attachments/assets/0fc12d19-b92a-493d-80fa-0064cf491fbc ">
2024-09-18 18:32:41 +02:00
55a3ee2c3b
Modify messaging settings description ( #7089 )
...
Modify messaging settings description
2024-09-18 15:07:08 +02:00
7cdf2dc4ec
7092 destroy connected account instead of soft deleting it ( #7099 )
...
- Create `destroyOne` endpoint
- Call `destroyOne` when removing a `connectedAccount`
2024-09-17 18:30:40 +02:00
33e455655f
Added sync status on the FE ( #6730 )
...
Issue #6685
How do we make sure we get the latest syncStatus on the frontend?
For now we dont get it unless refreshed.
useInterval() on fetching account details?
2024-08-27 11:11:24 +02:00
ccf4d1eeec
Date formatting per workspace member settings ( #6408 )
...
Implement date formatting per workspace member settings
We'll need another round to maybe initialize all workspaces on the
default settings.
For now the default behavior is to take system settings if nothing is
found in DB.
---------
Co-authored-by: Weiko <corentin@twenty.com >
2024-07-30 14:52:10 +02:00
6728e40256
5899 display a banner to alert users which need to reconnect their account ( #6301 )
...
Closes #5899
<img width="1280" alt="Index - banner"
src="https://github.com/twentyhq/twenty/assets/71827178/313cf20d-eb34-496a-8c7c-7589fbd55954 ">
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-07-27 18:34:52 +02:00
62e9492e8b
Fix email and calendar settings not displayed when only one channel is present
2024-07-18 09:23:14 +02:00
a8dfff3a6d
fix: conditionally rendered Tablist only if there are multiple accounts. ( #6274 )
...
issue - 6267
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-07-16 13:51:08 +02:00
9ba211055a
Add message import granulary on non-pro emails, group emails and received contact creation ( #6156 )
...
1) Remove featureFlag
2) Base contactCreation on messageChannel.autoContactCreationPolicy
4) add excludeProfessionalEmails + excludeGroupEmails logic
2024-07-08 14:33:48 +02:00
ef849d316f
Small fixes on accounts settings ( #6157 )
...
- Add keys in components map
2024-07-08 12:00:00 +02:00
af83879d7a
Add new Settings to front-end ( #6154 )
...
<img width="1512" alt="image"
src="https://github.com/twentyhq/twenty/assets/12035771/cfcc6ac9-feeb-4d91-aa68-bd0119780d6d ">
2024-07-08 10:47:55 +02:00
87dc95c594
Refactor Calendar Settings into tabs ( #6153 )
...
This PR migrates Calendar Settings into Tabs:
<img width="1512" alt="image"
src="https://github.com/twentyhq/twenty/assets/12035771/2531d0f1-ddfd-46c6-8678-bd76d78447b6 ">
2024-07-08 09:11:47 +02:00
f847e12709
Implement Settings Tabs ( #6136 )
...
In this PR:
- Renaming SettingsAccountsEmailBlocklist to
SettingsAccountsEmailBlocklist as the blocklist is not tied to
emails/messaging but is user level
- Changing the UI settings UI by removing /emails/{id} page and adding
tabs on /emails page
<img width="1512" alt="image"
src="https://github.com/twentyhq/twenty/assets/12035771/d215a891-fff9-477d-915d-0d7a697742e8 ">
2024-07-04 19:05:33 +02:00
03b3c8a67a
Refactored all FieldDisplay types for performance optimization ( #5768 )
...
This PR is the second part of
https://github.com/twentyhq/twenty/pull/5693 .
It optimizes all remaining field types.
The observed improvements are :
- x2 loading time improvement on table rows
- more consistent render time
Here's a summary of measured improvements, what's given here is the
average of hundreds of renders with a React Profiler component. (in our
Storybook performance stories)
| Component | Before (µs) | After (µs) |
| ----- | ------------- | --- |
| TextFieldDisplay | 127 | 83 |
| EmailFieldDisplay | 117 | 83 |
| NumberFieldDisplay | 97 | 56 |
| DateFieldDisplay | 240 | 52 |
| CurrencyFieldDisplay | 236 | 110 |
| FullNameFieldDisplay | 131 | 85 |
| AddressFieldDisplay | 118 | 81 |
| BooleanFieldDisplay | 130 | 100 |
| JSONFieldDisplay | 248 | 49 |
| LinksFieldDisplay | 1180 | 140 |
| LinkFieldDisplay | 140 | 78 |
| MultiSelectFieldDisplay | 770 | 130 |
| SelectFieldDisplay | 230 | 87 |
2024-06-12 18:36:25 +02:00
63578e6480
fix: calendar tile fonts underlined ( #5820 )
...
- fixes #5797
2024-06-11 15:24:23 +02:00
9f6a6c3282
5622 add a syncemail onboarding step ( #5689 )
...
- add sync email onboarding step
- refactor calendar and email visibility enums
- add a new table `keyValuePair` in `core` schema
- add a new resolved boolean field `skipSyncEmail` in current user
https://github.com/twentyhq/twenty/assets/29927851/de791475-5bfe-47f9-8e90-76c349fba56f
2024-06-05 18:16:53 +02:00
bb7d94a455
Create ESLint rule to discourage usage of navigate() and prefer Link ( #5642 )
...
### Description
Create ESLint rule to discourage usage of navigate() and prefer Link
### Refs
#5468
### Demo


Fixes #5468
---------
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: Félix Malfait <felix.malfait@gmail.com >
2024-06-04 17:04:57 +02:00
e49db63f30
accounts page loader as skeleton ( #5702 )
...
fixes https://github.com/twentyhq/twenty/issues/5659
https://github.com/twentyhq/twenty/assets/19856731/aeae6f08-bc6e-4d71-9067-39b6382ebf15
2024-06-03 15:14:08 +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
a750901582
Remove Feature Flag on Calendar ( #5288 )
...
Remove Calendar feature Flag!
2024-05-03 19:10:33 +02:00
2a0c74ab0f
[calendar] Fix calendar sync status ( #5272 )
...
## Context
There is no calendarChannel syncStatus column compared to the
messageChannel table. In the meantime, we are trying to infer its status
based on the fact that the connection hasn't failed and the sync is
enabled
2024-05-03 15:32:34 +02:00
ccd1100773
Fix tests ( #5228 )
...
Fixing typecheck + storybook:modules!
2024-04-30 17:54:07 +02:00
7c605fc2f9
4002 prevent user from creating twice the same blocklist item ( #5213 )
...
Closes #4002
2024-04-30 14:36:33 +02:00
907f0a1ea6
Add feature flag gate on calendar settings dropdown and fix queries ( #5221 )
...
- Add feature flag gate on calendar settings dropdown
- Fix find many messages
- Fix connected accounts settings
2024-04-30 14:12:48 +02:00
d23e02adca
4001 add validation for blocklist ( #5172 )
...
Closes #4001
2024-04-25 15:32:55 +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
8702c71d45
4746 create created listener on blocklist ( #5031 )
...
Closes #4746 for messaging.
I will create another PR to implement the listener on calendar.
2024-04-18 15:06:13 +02:00
5c30509d21
GH-4362 Add syncing status ( #4950 )
...
This PR adds a `syncing` status on frontend.
Issue
- #4362
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-04-17 22:06:52 +02:00