Guillim and Charles Bochet
0527bc296e
Default address country 🗺️ & Phone prefix ☎️ ( #8614 )
...
# Default address 🗺️ country & Phone ☎️ country
We add the ability to add a Default address country and a default Phone
country for fields in the Data model.
fix #8081
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-12-02 12:34:05 +00:00
Félix Malfait
ebc381f009
Small text improvement to number field type ( #8816 )
...
Micro improvement to the number field type text
2024-11-29 18:06:00 +01:00
nitin and Félix Malfait
e96ad9a1f2
Admin panel init ( #8742 )
...
WIP
Related issues -
#7090
#8547
Master issue -
#4499
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-11-28 13:43:11 +01:00
Marie
149ce680d5
[Fix] Custom object icon update ( #8762 )
2024-11-26 18:03:19 +01:00
Marie
d85279c55e
Fix update of custom object icon ( #8730 )
...
Icon update was not triggering a save due to missing onBlur prop drill
2024-11-26 10:56:57 +01:00
ad-elias and Marie Stoppa
2e75fae3ad
Allow standard field default value and settings editing ( #7104 ) ( #8559 )
...
Co-authored-by: Marie Stoppa <marie.stoppa@essec.edu >
2024-11-26 10:03:48 +01:00
Guillim and guillim
cb5a0c1cc6
fix-percentage ( #8684 )
...
Following previous release, a suggestion was noticed by @martmull . Here
is a suggested fix.
Before :

After :
<img width="611" alt="Screenshot 2024-11-22 at 14 56 07"
src="https://github.com/user-attachments/assets/67298633-4513-41a4-90aa-5e2366d3cd88 ">
---------
Co-authored-by: guillim <guillaume@twenty.com >
2024-11-22 14:20:37 +00:00
Marie
cf73e32969
Fix isLabelSyncedWithName toggle at object creation ( #8646 )
...
+ remove useless disableNameEdit prop (always has same value as disabled
prop)
2024-11-21 15:15:25 +01:00
Jérémy M and Charles Bochet
2968085e73
Feat: revamp group by settings ( #8503 )
...
This PR fix #8202 that is revamping the `Options` settings for board and
table.
<img width="221" alt="Screenshot 2024-11-15 at 11 47 52 AM"
src="https://github.com/user-attachments/assets/0b143c95-810d-408b-b19e-c2678cd5653a ">
<img width="214" alt="Screenshot 2024-11-15 at 11 47 59 AM"
src="https://github.com/user-attachments/assets/3468734a-8174-4e36-a8ee-08dad6c56227 ">
<img width="210" alt="Screenshot 2024-11-15 at 11 48 10 AM"
src="https://github.com/user-attachments/assets/300628f5-6645-4f1c-af8a-befce2714716 ">
<img width="212" alt="Screenshot 2024-11-15 at 11 48 37 AM"
src="https://github.com/user-attachments/assets/37a3db40-2146-45eb-bea4-44e1041f5bcf ">
<img width="214" alt="Screenshot 2024-11-15 at 11 48 44 AM"
src="https://github.com/user-attachments/assets/42d2adcc-8f03-4f28-928b-d3c3d54d388a ">
<img width="213" alt="Screenshot 2024-11-15 at 11 48 51 AM"
src="https://github.com/user-attachments/assets/90824568-b979-46a7-9841-ab8b9978e138 ">
<img width="211" alt="Screenshot 2024-11-15 at 11 49 00 AM"
src="https://github.com/user-attachments/assets/fa22446a-b1db-4d97-9a45-0778bf09ae3c ">
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-11-20 17:03:18 +01:00
Baptiste Devessier
c133129eb0
Fix state mutation serverless action ( #8580 )
...
In this PR:
- Ensure the `setNestedValue` does a deep copy of the provided object
and doesn't mutate it directly.
- Store the form's state in a `useState` instead of relying entirely on
the backend's state. This makes the form more resilient to slow network
connections.
- Ensure the input settings are reset when selecting another function.
- The Inner component now expects the serverless functions data to be
resolved before being mounted, so I split it.
Closes https://github.com/twentyhq/twenty/issues/8523
2024-11-20 09:15:55 +00:00
Guillim and guillim
4a8234d18c
Feature 7552 patch ( #8574 )
...
Related to #7552
<img width="556" alt="Screenshot 2024-11-18 at 17 57 30"
src="https://github.com/user-attachments/assets/e89e575b-9adb-4910-ab0d-b60079727f70 ">
---------
Co-authored-by: guillim <guillaume@twenty.com >
2024-11-19 12:47:33 +01:00
nitin
e1a730a8fc
Stories and SSL Configuration docs update ( #8551 )
2024-11-18 17:38:02 +01:00
Guillim and guillim
2f3c41620c
Wrap Long text fields (textarea) ( #8557 )
...
Here we add the option for Text inputs to be wrapped, and to select on
how many lines text should be displayed.
Fix #7552
---------
Co-authored-by: guillim <guillaume@twenty.com >
2024-11-18 17:36:19 +01:00
0125d58ba8
Favorite folders ( #7998 )
...
closes - #5755
---------
Co-authored-by: martmull <martmull@hotmail.fr >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-11-18 15:22:19 +01:00
Félix Malfait and Devessier
d8626b1304
Fix 'Error in devtools while checking fields of object' ( #8554 )
...
Fixes https://github.com/twentyhq/twenty/issues/8298
---------
Co-authored-by: Devessier <baptiste@devessier.fr >
2024-11-18 14:59:50 +01:00
nitin and Charles Bochet
2f5dc26545
Settings Option Card component ( #8456 )
...
fixes - #8195
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-11-18 09:22:33 +00:00
Ketan Mehta and Félix Malfait
51c54d4c5b
validation on Select field ( #8316 )
...
fix #8204
I changed "API keys" to "API values".
Stopped inputting special characters in Select field option keys.
@lucasbordeau please check the changes and tell me if I need to do any
other changes. :)
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-11-14 17:46:18 +01:00
Guillim and guillim
15b8b9b158
Feature : Adding percentage option to Input Number ( #8481 )
...
fixing #7375
---------
Co-authored-by: guillim <guillaume@twenty.com >
2024-11-14 14:23:25 +01:00
martmull
ba79a1d324
Fix style ( #8475 )
...
## Before

## After

2024-11-13 13:32:40 +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
Harsh Singh
6d62dd9fd1
fix: object activate dropdown ( #8438 )
...
Fixes : #8436
Fixes : #8435
& other duplicate ```DropdownMenu```
2024-11-11 09:26:07 +01:00
martmull
354ee86cb9
8311 serverless function functions can be executed with any input ( #8380 )
...
- remove ts-morph
- update inputSchema shape

https://github.com/user-attachments/assets/913cd305-9e7c-48da-b20f-c974a8ac7cea
## TODO
- have inputTypes to match the inputSchema type (string, number,
boolean, etc...), only string for now
- handle required/optional inputs
- handle case when inputSchema changes, fix data reset when switching
function
2024-11-08 16:15:27 +00:00
Lucas Bordeau
045f569d62
Fixed dropdown menu field settings ( #8374 )
...
2 dropdown menu components were used. Using only one and using dropdown
props for passing width to its internal dropdown menu component.
2024-11-08 17:11:37 +01:00
Baptiste Devessier
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
Ana Sofia Marin Alexandre and Félix Malfait
f06cdbdfc6
refactor webhookAnalytics call and enrich analytics module ( #8253 )
...
**TLDR**
Refactor WebhoonAnalytics Graph to a more abstract version
AnalyticsGraph (in analytics module). Thus enabling the components to be
used on different instances (ex: new endpoint, new kind of graph).
**In order to test:**
1. Set ANALYTICS_ENABLED to true
2. Set TINYBIRD_JWT_TOKEN to the ADMIN token from the workspace
twenty_analytics_playground
3. Set TINYBIRD_JWT_TOKEN to the datasource or your admin token from the
workspace twenty_analytics_playground
4. Create a Webhook in twenty and set wich events it needs to track
5. Run twenty-worker in order to make the webhooks work.
6. Do your tasks in order to populate the data
7. Enter to settings> webhook>your webhook and the statistics section
should be displayed.
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-11-08 10:00:51 +01:00
brendanlaschke and bosiraphael
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
7bab65b569
Implement object fields and settings new layout ( #7979 )
...
### Description
- This PR has as the base branch the TWNTY-5491 branch, but we also had
to include updates from the main branch, and currently, there are
conflicts in the TWNTY-5491, that cause errors on typescript in this PR,
so, we can update once the conflicts are resolved on the base branch,
but the functionality can be reviewed anyway
- We Implemented a new layout of object details settings and new, the
data is auto-saved in `Settings `tab of object detail
- There is no indication to the user that data are saved automatically
in the design, currently we are disabling the form
### Demo\
<https://www.loom.com/share/4198c0aa54b5450780a570ceee574838?sid=b4ef0a42-2d41-435f-9f5f-1b16816939f7 >
### Refs
#TWNTY-5491
---------
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: Marie Stoppa <marie.stoppa@essec.edu >
Co-authored-by: Weiko <corentin@twenty.com >
2024-11-07 14:50:53 +01:00
Jérémy M and Charles Bochet
ac7d740135
fix: when field metadata SELECT type is edited update view groups ( #8344 )
...
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-11-06 11:41:44 +01:00
Harsh Singh
2d6b239da4
fix: Prevent isDisabled prop from passing to DOM in Settings/Security Link ( #8317 )
...
Fixes : #8297
2024-11-06 10:02:06 +01:00
Thomas Trompette
be8141ce5e
Infer function input in workflow step ( #8308 )
...
- add `inputSchema` column in serverless function. This is an array of
parameters, with their name and type
- on serverless function id update, get the `inputSchema` + store empty
settings in step
- from step settings, build the form
TODO in next PR:
- use field type to decide what kind of form should be printed
- have a strategy to handle object as input
https://github.com/user-attachments/assets/ed96f919-24b5-4baf-a051-31f76f45e575
2024-11-05 14:57:06 +01:00
Raphaël Bosi
d1531aa1b6
8191 command k workflow trigger for selected record ( #8315 )
...
Closes #8191
https://github.com/user-attachments/assets/694da229-cc91-4df2-97a0-49cd5dabcf12
2024-11-05 13:37:29 +01:00
Marie
741020fbb0
Fix gap in object edition page ( #8310 )
...
Fixing

Note - this page design be updated in the next release
(https://github.com/twentyhq/twenty/pull/7979 )
2024-11-04 17:36:03 +01:00
NitinPSingh and Lucas Bordeau
e5641c5c53
fix #7085 breadcrumb fix for mobile viewport ( #7419 )
...
ISSUE
Closes https://github.com/twentyhq/twenty/issues/7085
DEMO
https://github.com/user-attachments/assets/39692906-c02e-4e4c-9205-82447fa142df
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-10-31 17:17:13 +00:00
Thomas Trompette
74291e531c
Fix storybook tests ( #8260 )
...
Before
<img width="717" alt="Capture d’écran 2024-10-31 à 16 58 34"
src="https://github.com/user-attachments/assets/b8ec61f3-11c2-497f-9e4f-183b7989fb59 ">
After
<img width="717" alt="Capture d’écran 2024-10-31 à 16 58 14"
src="https://github.com/user-attachments/assets/8e0a1fbf-19c4-4cd0-ab7b-58ebb5ded1f5 ">
Before
<img width="586" alt="Capture d’écran 2024-10-31 à 16 57 59"
src="https://github.com/user-attachments/assets/eb6caf91-3953-4a8f-a847-17a50cc40d02 ">
After
<img width="586" alt="Capture d’écran 2024-10-31 à 16 57 29"
src="https://github.com/user-attachments/assets/9eee3502-66b4-41c9-a924-b5d3ddb921e3 ">
2024-10-31 17:19:44 +01:00
Thomas Trompette
f5bde0251b
Put back object type in settings form ( #8234 )
...
Before
<img width="673" alt="Capture d’écran 2024-10-31 à 11 15 27"
src="https://github.com/user-attachments/assets/78d81f5b-88c0-40b7-8901-104365ecdd49 ">
After
<img width="673" alt="Capture d’écran 2024-10-31 à 11 15 07"
src="https://github.com/user-attachments/assets/9427da22-a75b-4257-b948-28807b110b26 ">
2024-10-31 10:27:54 +00:00
Antoine Moreaux and Félix Malfait
2e10070fdb
fix(sso): improve enterprise key var management ( #8152 )
...
Resolve https://github.com/twentyhq/twenty/issues/8070
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-29 11:39:00 +01: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
9b6359984d
Migrate to twenty-ui - input/code-editor ( #8072 )
...
This PR was created by [GitStart](https://gitstart.com/ ) to address the
requirements from this ticket:
[TWNTY-7062](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-7062 ).
---
### Description.
Migrate `code-editor` component to twenty ui.\
\
Fixes twentyhq/private-issues#94
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-28 13:34:06 +01:00
gitstart-app[bot] and gitstart-twenty
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
Igor Kowalski
3ae987be92
folderStructure.json refactor ( #8088 )
...
#7911
If you encounter any issues or have any questions regarding the library,
feel free to write
[here](https://github.com/Igorkowalski94/eslint-plugin-project-structure/discussions/new?category=help ),
I’d be happy to help.
2024-10-28 12:06:58 +01:00
Marie
a72f51ae6c
Fix support custom object renaming ( #8089 )
...
In this PR
1) (FE) fixing update of name not taken into account if toggle value is
changed in the same transaction
2) (BE) moving same nameSingular and namePlural validation before
effective update
2024-10-27 14:56:08 +01:00
Marie
d51a797d91
Replace shouldSyncNameAndLabel with isLabelSyncedWithName ( #8067 )
...
For consistency.
This was not deployed yet so allowing myself just to rename everything,
meaning developers will need to reset their db.
2024-10-25 18:28:58 +02: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
4e59f00e3f
Use 'role' = button for chip navigation ( #8011 )
...
Closes #7817
Added role attribute to the div element of the Chip component. This
assigns the role of "button" to the container, which is important for
accessibility. It indicates that this div should be treated as a button
by assistive technologies like screen readers.
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-10-24 14:20:45 +02:00
414f2ac498
Support custom object renaming ( #7504 )
...
This PR was created by [GitStart](https://gitstart.com/ ) to address the
requirements from this ticket:
[TWNTY-5491](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-5491 ).
This ticket was imported from:
[TWNTY-5491](https://github.com/twentyhq/twenty/issues/5491 )
---
### Description
**How To Test:**\
1. Reset db using `npx nx database:reset twenty-server` on this PR
1. Run both backend and frontend
2. Navigate to `settings/data-model/objects/ `page
3. Select a `Custom `object from the list or create a new `Custom
`object
4. Navigate to custom object details page and click on edit button
5. Finally edit the object details.
**Issues and bugs**
The Typecheck is failing but we could not see this error locally
There is a bug after updating the label of a custom object. View title
is not updated till refreshing the page. We could not find a consistent
way to update this, should we reload the page after editing an object?
###
Demo
<https://www.loom.com/share/64ecb57efad7498d99085cb11480b5dd?sid=28d0868c-e54f-454d-8432-3f789be9e2b7 >
### Refs
#5491
---------
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: Marie Stoppa <marie.stoppa@essec.edu >
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: Weiko <corentin@twenty.com >
2024-10-24 11:52:30 +00: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
nitin and martmull
18778c55ac
Multiple operations on webhooks ( #7807 )
...
fixes #7792
WIP :)
https://github.com/user-attachments/assets/91f16744-c002-4f24-9cdd-cff79743cab1
---------
Co-authored-by: martmull <martmull@hotmail.fr >
2024-10-23 15:57:46 +00: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