Commit Graph

4255 Commits

Author SHA1 Message Date
Balaji Krishnamurthy
ca54bc1813
Fix country selector text overflow issue (#8125)
Closes #7906 

Modified the two children(`TextInputV2` and `CountrySelect`) in the
`StyledHalfRowContainer` component to always be equal in size and divide
the available space equally.
The `StyledIconChevronDown` component has a `flex-shrink: 0` to prevent
it from completely disappearing. The same applies for the
`selectedOption.Icon`.
A `p` tag had to be added to the label to correctly handle the text
overflow.

---------

Co-authored-by: Devessier <baptiste@devessier.fr>
2024-10-28 16:20:29 +01:00
Thomas Trompette
2ba98ddadd
Handle NBSP in tiptap parsing (#8148)
Tiptap uses non breaking spaces between nodes (like variables). Those
html characters are not properly handles in emails. Replacing by regular
spaces during parsing.

I tried to fix it in settings but looks like this is only for preserving
those nbsp and not for removal (see
https://github.com/ueberdosis/tiptap/pull/254)
2024-10-28 15:50:14 +01:00
gitstart-app[bot]
fc8c9d9167
Migrate to twenty-ui - input components (#7914)
### Description

Migrate Input components: 

- CardPicker
- Radio
- RadioGroup
- Checkbox
- Toggle
- IconListViewGrip

### Demo

Radio Component on Storybook


![](https://assets-service.gitstart.com/4814/2d0c7436-9fab-4f3d-a5c4-be874e885789.png)

Checkbox component on Storybook


![](https://assets-service.gitstart.com/4814/07bcc040-cc92-4c7e-9be8-ca1a5f454993.png)

###### 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
BOHEUS
ff388f56ea
Add info about disabling background checks (#8145)
#8144
2024-10-28 15:06:47 +01:00
Charles Bochet
ad1e835150 Remove broken e2e tests 2024-10-28 14:48:14 +01:00
gitstart-app[bot]
f202cdb4cb
[Server Integration tests] Enrich integration GraphQL API tests #4 (#8015)
This PR was created by [GitStart](https://gitstart.com/) to address the
requirements from this ticket:
[TWNTY-7526](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-7526).

 --- 

### Description

We are using standard field and object IDs because there is a problem
when creating them as we would with helpers.

We were creating custom objects and removing them in afterAll, but there
is a problem that causes a conflict in the object IDs if the tests run
at the same time. The solution would be to modify the test command as
mentioned here:

<https://github.com/typeorm/typeorm/issues/6125>

Currently, we are using the standard IDs but we can create the objects
within the test if you want, but we would need to make them run in
sequence

### Demo


![](https://assets-service.gitstart.com/16336/70c5550e-8570-45d7-a613-a3d6b79e7c00.png)

### Refs

#7526

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-10-28 14:24:24 +01:00
Balaji Krishnamurthy
288fb1dbda
Delete API key button now visible in light mode (#8094)
Closes #7179 
The font color of the button has been set to use
`theme.font.color.danger`. This means that the color will be red
regardless of whether the theme is inverted or not, which was the issue
before.
Merge conflicts have been resolved.
2024-10-28 14:14:39 +01:00
BOHEUS
f9779c4b5e
CreateWorkspace typo fix (#8146)
Follow up of #8115
2024-10-28 14:13:57 +01:00
Weiko
28815f54fe
Refactor object metadata service (#8123)
## Context
ObjectMetadataService became quite large and handles too many
responsibilities. I'm trying to refactor a bit this part in preparation
of a larger work that will combine object-metadata services and
sync-metadata logic

- Created a STANDARD_OBJECT_ICONS that can be reused in relation
creation to refer to a standard object icon.
- Created a STANDARD_OBJECT_FIELD_IDS that can be used with an object
name to get its standard field ids.
- Moved migration, record and relation creations to dedicated services,
refactored to improve performances and readability
- Refactored some validation logic

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-10-28 14:13:15 +01:00
gitstart-app[bot]
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]
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
martmull
1aa961dedf
101 featch available variables from previous steps (#8062)
- add outputSchema in workflow step settings
- use outputSchemas to compute step available variables


https://github.com/user-attachments/assets/6b851d8e-625c-49ff-b29c-074cd86cbfee
2024-10-28 11:25:29 +00: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
sateshcharan
67b654f55d
[oss.gg] create-n8n-template (#8045)
workflow screeshot:

![image](https://github.com/user-attachments/assets/89f7270d-c664-4af8-9752-7d94af6bd0b9)

working video:

https://drive.google.com/file/d/1D4-RbbXlz-tCrGYM1Bot3bLlzKSdjJ_k/view?usp=sharing

Hi,

I’ve completed the task of integrating TwentyCRM through n8n, but I’m
having trouble uploading the [template
](https://drive.google.com/file/d/1PCp_i6y24aIoyhatWec-wz-MOzJbJoww/view?usp=sharing)
due to an issue with my email account. I’ve already reached out to their
support team for assistance. In the meantime, I kindly request that you
consider this as a valid contribution for the challenge until the issue
is resolved.

Thank you!
2024-10-28 11:49:15 +01:00
ZiaCodes
dc4c25cbae
feat: Develop a script to facilitate the migration of data from another CRM to Twenty (#8122)
Develop a script to facilitate the migration of data from another CRM to
Twenty (750 points)

I had to write a script to add data to HubSpot CRM :)
I wrote migration script to move data from HubSpot --> Twenty.

Here's the GitHub
[Repo](https://github.com/Khaan25/twenty-migration-script) - Video
attached in files

Hope it will be beneficial for people and Twenty Community :)
2024-10-28 10:50:58 +01:00
Vanshdeepsingh-2232
fafdaed04c
Update 3-create-custom-interfact-theme-20.md (#8139)
Designed a new Theme for the Twently's website on Figma

What side quest or challenge are you solving?
Create a custom theme for Twenty's interface (150-750 points): Duplicate
the Figma file and customize the variables to create a new theme for
Twenty’s interface.

Points
150-750 points

Description
Design of a new theme (coffee) for twenty's website in figma.

Provide proof that you've completed the task
By : VanshdeepSingh

Link to the Figma file of the design:


https://www.figma.com/design/akgDOb37YLUW9iWLB155EV/Twenty-(Copy)?node-id=478-19796&t=8Gz1yqls2Q3dsN9h-1

Prototype:


https://www.figma.com/proto/akgDOb37YLUW9iWLB155EV/Twenty-(Copy)?node-id=1406-44830&node-type=canvas&t=eBvFkq4KeD1Sgkbn-1&scaling=min-zoom&content-scaling=fixed&page-id=478%3A19796&starting-point-node-id=1406%3A44830

Images:


![image](https://github.com/user-attachments/assets/a49f6604-7f05-4da1-90e4-02540c699858)

![image](https://github.com/user-attachments/assets/50839ef0-0144-43d1-a889-7f8120245038)

![image](https://github.com/user-attachments/assets/48ee03b1-f0c1-435d-9e44-dfe2a0d91356)

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2024-10-28 10:47:25 +01:00
sateshcharan
ba548bbb68
[oss.gg] create-youtube-video-about-20 (#8129)
quest:
create youtube video

points
750

video link
https://youtu.be/qfZyhrhCeyo

task performed:

- I've created a detailed video showcasing Twenty with a walkthrough on
Twenty Dashboard with all it's elements, promoted 3 blogs posts of
Twenty as well
    - one with detailed guide on twenty 
    - one on self hosting twenty 
    - one for integrating with n8n
 
- I've also demonstrated the working of n8n integrated workflow towards
the end of video, i hope this shows enough proof to merge #8045
2024-10-28 10:42:46 +01:00
Aditya Deshlahre
ad738d6947
ossgg: content challenge promo video (#8131)
## promotional video for Twenty

https://youtu.be/65sOHce1gjw

points : 750 

please check it out once 🙂 
I hope you will like it!
2024-10-28 10:39:55 +01:00
Bhavesh Mishra
1d9e7694c5
oss.gg fixed misleading title on the main repo (#8134)
This Pr fix the issue (#8093)

In the oss.gg folder under the no-code-challenge directory, the file
title is incorrect. The current title reads, “Write a self-host guide
blog regarding Twenty CRM,” but the actual task is to “write a blog on
integrating n8n or Zapier marketing tool with Twenty CRM."

Expected behavior

The file title should accurately reflect the actual task to avoid
confusion. It should read: “Write a blog on integrating n8n or Zapier
marketing tool with Twenty CRM."

Example:
• File Path: oss.gg/no-code-challenge/
• Suggested Fix: Update the file title to match the actual task

Points
50
2024-10-28 10:35:30 +01:00
Harsh Shrikant Bhat
58a4076b54
ossgg: Self-host guide and Article (#8141)
## What does this PR do?

Wrote an article and self-host guide for Twenty CRM:

Article:
https://www.harshbhat.me/blog/twenty-crm

Self-host guide:
https://www.harshbhat.me/blog/twenty-self-host

POINTS:
1500
2024-10-28 10:29:24 +01:00
sateshcharan
0148431e5d
[oss.gg] create-custom-theme (#8099)
![image](https://github.com/user-attachments/assets/cc24e328-a8d1-4a56-8560-76fab76e217c)


![image](https://github.com/user-attachments/assets/468dd145-b094-4948-8ebb-096dc23835aa)


![image](https://github.com/user-attachments/assets/59a45426-33c2-4d55-a226-ff3fd3e635cd)

Quest:
create-custom-interfact-theme

Points:
750

[Figma
URL](https://www.figma.com/design/2qlAPS3llwf8jrWKGHEf6O/Twenty-(sateshcharan)?node-id=1633-94880&t=GIceWxqyY0ajWXnZ-1)
Hope you like the design !
2024-10-28 09:08:39 +00:00
sateshcharan
96607f33a5
[oss.gg] create-promotional-video-20-share (#8119)
quest:
create-promotional-video-20-share

video link
https://youtube.com/shorts/OK52eaq0pAQ?feature=share

points:
750

hope you like it :)
2024-10-27 16:55:04 +01:00
Félix Malfait
6d810b94ed
Fix sidebar re-ordering (#8124)
Followup of
https://github.com/twentyhq/twenty/pull/7940#issuecomment-2434447952
2024-10-27 16:20:38 +01:00
Sanskar Jain
1296cea7e8
Add a helper to the password (#8078)
Fix #7601

---------

Co-authored-by: Weiko <corentin@twenty.com>
2024-10-27 15:09:37 +01:00
BOHEUS
5d990594f3
Typo fixes in docs (#8115) 2024-10-27 14:58:43 +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
Vardhaman Bhandari
80b831d26c
Oss.gg Side Quest: Write a blog post about sharing your experience using Twenty (#8121)
#8120

Side Quest: Write a blog post about sharing your experience using Twenty
in a detailed format on any platform.

Points : 750

Proof :
https://dev.to/vardhaman619/my-experience-with-modern-open-source-crm-twenty-crm-2hen


![blog-post-about-experiance-with-twenty](https://github.com/user-attachments/assets/01dfdb26-26ea-4bbe-a6eb-b0778b3fb11e)
2024-10-27 14:42:05 +01:00
Karan Singh Chandel
bf7d7fa4f9
add: blog side quest in oss.gg (#8108)
#8105 
Side Quest: Write a blog post about sharing your experience using Twenty
in a detailed format on any platform. Points: 750 Points Proof: Add your
oss handle and blog link to the list below.

Added My Submission Entry in oss.gg
2024-10-27 06:48:12 +01:00
ZiaCodes
be4cb734d9
feat: Create a YouTube video about Twenty (750 points) (#8092)
Create a YouTube video about Twenty (750 points)

I've created a detailed video showcasing Twenty and walkthrough Twenty
Dashboard with all it's elements and shared my 2 blogs posts as well -
one with detailed guide on twenty and other one on self hosting twenty
on our own server.
2024-10-27 06:36:36 +01:00
ZiaCodes
092f0b5fe9
feat: Promotional Video (#8113)
Create a promotional video for Twenty and share it (750 points)

Hope you like it :)

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
2024-10-27 06:35:12 +01:00
sateshcharan
7c717efc5f
[oss.gg] selfthost-guide-blog-post (#8075)
![image](https://github.com/user-attachments/assets/de35a89b-01a8-4b5d-986d-fc122ce0e741)

Quest:
Write a comprehensive guide on how to integrate Twenty with marketing
automation tool (n8n, Zapier). Include a concrete use case and explain
how to leverage AI to write API requests for non-developers and share
it.

Points:
1500

Hope you like the content !
2024-10-26 13:35:49 +02:00
Yash Parmar
293f55e9c2
[🕹️]: content challenges quest 3: write a self host guide blog[750 points] (#8079)
I have completed the content challenges quest 3 that is write a self
host guide blog.

Here is the [blog
link](https://medium.com/@yashp3020/a-comprehensive-guide-to-self-hosting-twenty-crm-with-docker-compose-40ea3fb4afdc)
2024-10-26 12:18:33 +02:00
Manish Kr Prasad
d1e403e099
side quest: 6_quest_wizard (300 points) (#8076)
Proof:
<img width="1337" alt="Screenshot 2024-10-26 at 12 37 06 AM"
src="https://github.com/user-attachments/assets/8eed8447-63f2-4d2a-9c01-29f39ccd41ca">
<img width="1337" alt="Screenshot 2024-10-26 at 12 36 53 AM"
src="https://github.com/user-attachments/assets/0e4b4091-dbe0-4fde-b6ed-d88a21311e44">
<img width="1337" alt="Screenshot 2024-10-26 at 12 36 41 AM"
src="https://github.com/user-attachments/assets/5828d2bd-31d8-4a92-b9e2-9390ba3182aa">
<img width="1337" alt="Screenshot 2024-10-26 at 12 36 27 AM"
src="https://github.com/user-attachments/assets/993b5352-36f0-4850-8031-b1d58643febc">
<img width="1337" alt="Screenshot 2024-10-26 at 12 34 57 AM"
src="https://github.com/user-attachments/assets/425b78e0-560b-4b2c-9872-935dcafb7755">

Co-authored-by: Apple <apple@Apples-MacBook-Pro.local>
2024-10-26 12:16:15 +02: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
Marie
e5175194ac
Fix search on workspace member (#8066)
Adding search vectors on workspaceMember and tasks
2024-10-25 18:24:54 +02:00
Binni Goel
63a3e070c5
[#8058 | 6741] Fix. showing icon on hover (#8061)
### What type of PR is this? (check all applicable)
- [X] Bug Fix

## Description
This PR include fix required for issue #8058 and #6741 .


- Fixes visibility of currency symbol on hover over field
- Fixes visibility of task icon symbol on hover over field


## Related Tickets & Documents
- Closes #8058 
- Closes #6741

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-10-25 17:11:08 +02:00
pau-not-paul
016642a940
fix: read only cells flash on click (#8057)
Fix for https://github.com/twentyhq/twenty/issues/6807
2024-10-25 17:00:52 +02:00
Sanskar Jain
9c923ba8d5
fix glitch for relation picker search (#8040)
Fix for #7957

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-10-25 16:51:52 +02:00
Sanskar Jain
f633f0d330
fix issue of search not working in dev docs (#8065)
Fix for #8047
2024-10-25 16:46:30 +02:00
Marie
9303e39bcf
Fix broken filter in search resolver (#8064)
The recent addition of a "orWhere" condition to[ improve the search algo
quality](https://github.com/twentyhq/twenty/pull/7955) accidentally
broke the filter, being considered an independent "or" wondition while
we still want the filter to apply.
2024-10-25 16:17:19 +02:00
Thomas Trompette
2e73d020a3
Text area using variables (#8034)
- Adding multiline props to component
- Update design and logic accordingly 
- Fix hotkey scope for right drawer



https://github.com/user-attachments/assets/65ff9641-71a4-4828-a62b-e09327b63150
2024-10-25 12:55:56 +00:00
Baptiste Devessier
0144553667
Add Manual Triggers (#8024)
In this PR:

- Add support for manual triggers in the backend
- Add a right drawer to let users select the type of trigger they want
- Create a specific right drawer for database event triggers
- Create a right drawer for manual triggers; let the user select where
the manual trigger should be made available
- Create a default trigger as soon as the user selects the type of
trigger they want. It prevents the user to see empty selects for record
type and event type. By default, the database event trigger will be set
to "company.created". It should be visible enough for users to
understand what happens and choose another record type or event type.



https://github.com/user-attachments/assets/29a21985-1823-4890-9eb3-e4f876459c7a
2024-10-25 14:24:56 +02:00
Florian Liebig
bf2ba25a6e
Add shortcut metadata to data models & CommandMenu (#7977)
Resolves https://github.com/twentyhq/twenty/issues/7503

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-10-25 11:38:30 +02:00
ZiaCodes
7edfa61571
feat: Disable Continue Button for Invalid Email in Sign in/Sign up (#8022)
This PR fixes #7967

Here's a preview of the working solution:


https://github.com/user-attachments/assets/8918e0ac-c45a-48d2-ac90-004b05ec76f3

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-10-24 21:30:54 +02:00
Félix Malfait
9a62bed748
Fix performance test (#8036)
There was a broken story due to missing context
2024-10-24 18:28:51 +02:00
gitstart-app[bot]
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


![](https://assets-service.gitstart.com/4814/c0a2cd49-e545-469a-b3d3-c02eb462b60d.png)

Info Component on Storybook


![](https://assets-service.gitstart.com/4814/6f3019c5-99e0-4365-a81e-241294887f9e.png)

Status Component on Storybook


![](https://assets-service.gitstart.com/4814/29b5142a-468f-4d7e-88ff-4f3bfdd5abda.png)

###### 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
Baptiste Devessier
e44d525e83
Prevent workflow right drawer flickering when selecting an action type (#8028)
In this PR:

- Use a stable id for create-step nodes; it makes it possible to
preserve their selected attribute and keep them open even after the flow
is re-generated
- Preemptively open the WorkflowStepEdit right drawer for the created
action



https://github.com/user-attachments/assets/c19e6820-e198-4d06-98ae-898bd6e53e33

Fixes https://github.com/twentyhq/private-issues/issues/123
2024-10-24 17:27:56 +02:00
ad-elias
315820ec86
Feat: Advanced filter (#7700)
Design:


![twenty-advanced-filters-design](https://github.com/user-attachments/assets/7d99971c-9ee1-4a78-a2fb-7ae5a9b3a836)

Not ready to be merged yet!

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-10-24 16:59:59 +02:00
gitstart-app[bot]
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


![](https://assets-service.gitstart.com/4814/d6759b99-7d5f-4177-acdf-1c57786330a3.png)

###### 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
Bhavesh Mishra
9b5d0e7850
Oss.gg Content creation promotional video on social site (#8033)
I have created a promotional video of Twenty crm on YouTube and have
shared it features.

[Click here](https://youtube.com/shorts/lC4oqm7UlCI?si=Md-nsfK9F6Shzjkv)

Points
750
2024-10-24 16:35:41 +02:00