Commit Graph

4277 Commits

Author SHA1 Message Date
Hitarthsheth07
f75d72aef5 loading skeleton and padding 2024-10-29 14:57:15 -04:00
Félix Malfait
f5e44efb4b Merge branch 'main' into horizontal-nav 2024-10-29 11:44:29 +01:00
Muhammad Abdullah
77a4aa2649
added light background for better hover visibility on dark theme (#8043)
fixes: #7969 

## What does this PR do?

Apply a lighter background color to enhance the hover effect in dark
mode.


![twenty-hover](https://github.com/user-attachments/assets/3d218060-2328-481e-9e66-250abd276dc0)
2024-10-29 10:42:04 +00:00
Antoine Moreaux
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
Sanskar Jain
95b475c855
Fixes "No Result" flash and add a separator (#8140)
Fix for #8137

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-10-29 11:36:25 +01:00
Harsh Singh
c0484aa9a2
fix: dropdown max-height and padding bottom (#8167)
Fixes: #6105 

Also fixed side effect due to previous PR:

[Screencast from 2024-10-29
13-54-44.webm](https://github.com/user-attachments/assets/f15db853-ca1c-4be8-9362-610122c4d988)
2024-10-29 11:00:35 +01:00
Félix Malfait
f79e904dd6
Enable Tinybird CI (#8168)
Test to enable it in a second PR. I think it needed to merged in main
first
2024-10-29 10:43:04 +01:00
Ana Sofia Marin Alexandre
8ef4efa0f5
add twenty-tinybird package (#8030)
https://github.com/twentyhq/private-issues/issues/75

**TLDR**

Add twenty-server package, wich contains the last tinybird datasources
and pipes used in analytics.

This new version of the API endpoints, pipes and datasources are
inspired by the implementation of dub.co
(https://github.com/dubinc/dub/blob/main/packages/tinybird/).

It contains the webhooks analytics, serverless functions duration and
serverless functions error count analytics. As well as


**In order to test**

- Follow the instructions in the README.md on twenty-tinybird using your
admin token from twenty_analytics_playground if you want to modify them.
- For a better experience add the extension Tinybird support for VsCode 
- If you want more info about datasources and pipes please read the
tinybird docs.

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
2024-10-29 10:31:05 +01:00
Aditya Deshlahre
6fba3e0805
ossgg: completed all side quest-wizard (#8158)
# Quest Wizard completed all side quest

- bug #8132
- all other side quest done #7848
- meme #7848
- gif #7848
- fav feat about twenty #7848
- initial contribution tweet #7848

# point 300

thank You 🙂
2024-10-29 10:11:32 +01:00
Ashish Viradiya
ac2798b78f
Article on 20CRM (#8155)
total point: 1500
Links:
Selft hosting: 

https://medium.com/@ashishviradiya153/comprehensive-guide-to-self-hosting-twenty-crm-26e7fa36c846
about 20:

https://medium.com/@ashishviradiya153/is-twenty-crm-the-right-tool-for-your-business-heres-my-honest-review-0d41e9d8a7eb
2024-10-29 10:05:19 +01:00
Harshit Singh
7901dbc02f
fix: Country Dropdown not closing with AddressInput (#8147)
## Description

- This PR fixes #8080 
- The Country Selector dropdown closes with Address Input `clickOutside`
function

## Changes


https://github.com/user-attachments/assets/1ab85175-9ce9-40d2-ac52-14bfe87e254f

---------

Co-authored-by: Devessier <baptiste@devessier.fr>
2024-10-29 10:03:28 +01:00
martmull
94f2e1067b
Revert "fix: dropdowns should have a max-height & padding from screen" (#8165)
Reverts twentyhq/twenty#8055
2024-10-29 08:54:16 +00:00
Reese is on Codeberg
a725245c2f
Add padding to navigation header (#8050)
This PR adds padding to the header to align the logo with other icons on
the sidebar.

## Before


![image](https://github.com/user-attachments/assets/6501bbbf-bf06-4d9f-bff7-2d36c1b63a37)


## After


![image](https://github.com/user-attachments/assets/24610cf8-eab2-49bd-b611-e68a66228fd6)

---------

Co-authored-by: martmull <martmull@hotmail.fr>
2024-10-29 07:56:16 +00:00
Jesse Cooke
88de2872d8
Don't require host for postgres (twentyhq#8157) (#8159)
Not sure if this will pass the tests; I don't have TS experience so I'll
see what CI does with it.

Fixes #8157
2024-10-29 08:46:54 +01:00
Hitarthsheth07
e049807b58 fix linting 2024-10-29 02:31:43 -04:00
Hitarth Sheth
b9ddb39a51
Merge branch 'twentyhq:main' into horizontal-nav 2024-10-29 02:21:55 -04:00
Hitarthsheth07
8fb7ec7142 minor updates 2024-10-29 02:07:35 -04:00
Hitarthsheth07
7e8da8741f horizontal nav for mobile 2024-10-28 16:39:39 -04:00
Thomas Trompette
409def8431
Fix manual trigger output schema (#8150)
- add schema for manual trigger
- split into sub functions
- handle case with no variables
2024-10-28 17:42:09 +00:00
Sanskar Jain
69c24968c1
fix for horizontal bar while login in (#8073)
Fix for #8071

---------

Co-authored-by: martmull <martmull@hotmail.fr>
2024-10-28 17:07:00 +00:00
Harsh Singh
e648d942a2
fix: dropdowns should have a max-height & padding from screen (#8055)
Fixes: #6105 

### Problem

- The dropdown gets clipped when the number of filters increases. 

### Solution

- Added scroll property to the ```DropdownMenu``` 
- Added size middleware to the floating UI hook.
- Provided padding of 20px to the size middleware, so that it maintains
distance from the bottom of the screen.

[Screencast from 2024-10-25
13-47-04.webm](https://github.com/user-attachments/assets/c2315ee2-6092-4c4a-8126-dba7ac3bf49b)

---------

Co-authored-by: martmull <martmull@hotmail.fr>
2024-10-28 16:59:57 +00:00
Harshit Singh
cabae4c462
fix: TimeZone dropdown clips through screen in Mobile viewport (#7935)
## Description

- This PR fixes the issue #7934

---------

Co-authored-by: martmull <martmull@hotmail.fr>
2024-10-28 16:11:41 +00:00
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