Commit Graph

4237 Commits

Author SHA1 Message Date
Jérémy Magrin
5b9a6a1648 feat: wip record table view group 2024-10-24 17:57:14 +02:00
Jérémy Magrin
c7d460324e feat: drop useRecordTableStates and replace by component state v2 2024-10-24 17:28:09 +02:00
Jérémy Magrin
246fbac5b3 Merge branch 'feat/view-groups' into feat/table-view-groups 2024-10-24 14:37:31 +02:00
Lucas Bordeau
7d72880842 Merge branch 'main' into feat/view-groups 2024-10-24 11:52:08 +02:00
ZiaCodes
60e44ccf73 feat: Self-hosting guide (750 points) (#8019)
![image](https://github.com/user-attachments/assets/73d3c515-2d12-4013-bd44-9ac759cf777f)
2024-10-24 11:48:02 +02:00
Anis Hamal
1f84e61da8 Added "Select an option" as default none selector on Workflow Visualizer (#7867)
## What does this PR do?
Shows "Select an option" as a default selector on the select component
for the trigger step in the workflow visualizer

Fixes #7432

<img width="1470" alt="Screenshot 2024-10-20 at 12 48 39 AM"
src="https://github.com/user-attachments/assets/189c2a7a-8abd-4411-90b4-d0e1de487fd5">
<img width="1470" alt="Screenshot 2024-10-20 at 12 48 50 AM"
src="https://github.com/user-attachments/assets/f451068c-0184-40cb-9cab-f139df400cc6">

---------

Co-authored-by: Devessier <baptiste@devessier.fr>
2024-10-24 10:54:22 +02:00
nitin
a35d888c12 Chip right height according to view (#7976) 2024-10-23 19:33:35 +00:00
Félix Malfait
d9429b1a83 Delete unused file (#8014)
Oops, this shouldn't have been merged, it was in the wrong directory
2024-10-23 20:43:13 +02:00
Bhavesh Mishra
6b3cd4dc14 Oss.gg A detailed Guide to self-host Twenty CRM on you local server (#8012)
This Pr consist of a Blog which I wrote on hashnode in which I have
explained in-dept how to setup/host twenty on your local server or cloud
with troubleshooting guide.

I have added output images as refers as well.

check it out 
[Click
here](https://k5lo7h.hashnode.dev/a-detailed-guide-to-self-host-twenty-crm-on-you-local-server)

**Points
750**
2024-10-23 20:26:06 +02:00
Harsh Singh
dd6b8be0d3 fix: date-picker flips in records cell even when there is enough space (#7905)
Fixes: #7897 

This PR fixes the flipping of the date-picker in the record's cell even
if there is enough space below the table.
I attached a screencast to show that it's working fine now. 

With this, it only flips when there is less space to accommodate the
date-picker comp. Also, I tested this after adding lots of records to
see if the scrolling behaviour is intact or not. And I found no issues,
it's working as expected.

[Screencast from 2024-10-21
13-39-42.webm](https://github.com/user-attachments/assets/615fac80-ae2e-4d26-8f94-55d7ee3f91c2)
2024-10-23 19:14:28 +02:00
Thomas Trompette
2e8b8452c1 Add available variables dropdown (#7964)
- Add variable dropdown
- Insert variables on click
- Save variable as `{{stepName.object.myVar}}` and display only `myVar`


https://github.com/user-attachments/assets/9b49e32c-15e6-4b64-9901-0e63664bc3e8
2024-10-23 18:32:10 +02:00
nitin
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
Rajeev Dewangan
165dd87264 Update 1-quote-tweet-20-oss-gg-launch.md (#8008)
What side quest you solving : Like & Re-Tweet oss.gg Launch Tweet

Points : 50

Proof : 
![Screenshot 2024-10-23
205849](https://github.com/user-attachments/assets/ad30fc02-6325-41b8-a8c1-a38d0528d984)
2024-10-23 17:40:12 +02:00
Rajeev Dewangan
c38a6c6af9 Update 2-tweet-about-fav-twenty-feature.md (#8009)
What side quest are you doing : Share a tweet about your favorite
feature in Twenty

Points : 50

Proof : 
![Screenshot 2024-10-23
205918](https://github.com/user-attachments/assets/25d4ded1-1a93-4c14-a193-420d5b2a11a0)
2024-10-23 17:39:50 +02:00
gitstart-app[bot]
dcf92ae7f1 Migrate to twenty-ui - utilities/dimensions (#7949)
This PR was created by [GitStart](https://gitstart.com/) to address the
requirements from this ticket:
[TWNTY-7539](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-7539).

 --- 

### Description

- Move the utilities/dimensions from twenty-front to twenty-ui and
update imports\

Fixes twentyhq/private-issues#79

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-10-23 17:09:32 +02:00
Lucas Bordeau
c9604d3756 Fix sb logs 2024-10-23 16:42:03 +02:00
Lucas Bordeau
5751bd94d1 Fix msw log 2024-10-23 16:39:48 +02:00
Lucas Bordeau
529d819a7c Fix coverage 2024-10-23 16:28:11 +02:00
Lucas Bordeau
2f59bab500 Fix lint 2024-10-23 16:12:15 +02:00
Lucas Bordeau
04a3d070e2 Fix no value 2024-10-23 16:03:28 +02:00
Marie
849d7c2423 Implement search for rich text fields and use it for notes (#7953)
Co-authored-by: Weiko <corentin@twenty.com>
2024-10-23 15:49:10 +02:00
Ngan Phan
45b3992784 fix: Default View Font Color and Reordering (#7940)
This PR fixes issue #6114 
I removed the separate check for default item and add it into the
draggable list.
2024-10-23 15:44:17 +02:00
ZiaCodes
5b6487979c feat: Write Blog Post About 20 (750 points) (#7972)
![image](https://github.com/user-attachments/assets/0aaac3a2-7862-469f-ba69-ab17352a883e)
2024-10-23 15:14:52 +02:00
Vardhaman Bhandari
a55423642a fix: context menu padding (#7918)
This pull request addresses the issue #7915 regarding the lack of
padding in the right-click record menu. This PR add padding to context
menu and reuse the existing component used for the filter/sort feature.


![image](https://github.com/user-attachments/assets/4534eba5-a7de-4142-9d5f-ff0aee86a526)

![image](https://github.com/user-attachments/assets/1690890e-cb18-4879-9a9b-3153cd6aeb26)

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-10-23 15:13:14 +02:00
ZiaCodes
25a8638e4e [🕹️] Quest Wizard (300 points) (#7971)
![image](https://github.com/user-attachments/assets/b7907de9-80df-4801-9db0-deaaf196e663)

![image](https://github.com/user-attachments/assets/26687eb0-2a82-4256-97e6-f41a118513fc)

![image](https://github.com/user-attachments/assets/c9ab8c1a-0d42-4afa-ae17-9933819dbfd9)

![image](https://github.com/user-attachments/assets/76cea0cd-41cc-4508-a8fd-23d2338903c3)

![image](https://github.com/user-attachments/assets/61478b84-bced-4cb5-b66c-3d38c5610c7e)
2024-10-23 15:00:23 +02:00
ZiaCodes
412877e49a feat: design-promotional-poster (300 points) (#7970)
Link to tweet: https://x.com/zia_webdev/status/1848764487081619470


![image](https://github.com/user-attachments/assets/033c06e6-e18b-47f4-83d0-94c09519a8ac)

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-10-23 14:28:36 +02:00
Sanskar Jain
74ecacb791 fix x axis scroll bar issue on developer page (#7975)
This PR Fixes Issue : #7932 
I have added the CSS to remove the scroll bar from x axis of the sidebar
on the developers page.
2024-10-23 13:57:04 +02:00
Lucas Bordeau
86d1488cb5 Fix creation 2024-10-23 13:50:23 +02:00
Lucas Bordeau
9bc63d3de1 Fix 2024-10-23 12:39:06 +02:00
Lucas Bordeau
3ce33140d6 Fix 2024-10-23 12:03:06 +02:00
Lucas Bordeau
7714331d51 Fix 2024-10-23 11:42:27 +02:00
Lucas Bordeau
46c58bd80e Merge branch 'main' into feat/view-groups 2024-10-23 11:07:58 +02:00
shubham yadav
ec0250616e Update install.sh (#7973)
This PR updates the install.sh script to fetch the docker-compose.yml
file from the GitHub branch or tag that matches the version specified by
the user, instead of defaulting to the main branch.

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-10-22 22:19:46 +02:00
Raphaël Bosi
6843a642b5 7499 refactor right drawer to have contextual actions (#7954)
Closes #7499
- Modifies context store states to be component states
- Introduces the concept of `mainContextStore` which will dictate the
available actions inside the command K
- Adds contextual actions inside the right drawer
- Creates a new type of modal variant
2024-10-22 18:35:45 +02:00
Weiko
6c93587efb Fix cache storage (#7966) 2024-10-22 18:21:00 +02:00
gitstart-app[bot]
113e9fc8c7 Migrate to twenty-ui - utilities/animation (#7951)
This PR was created by [GitStart](https://gitstart.com/) to address the
requirements from this ticket:
[TWNTY-7538](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-7538).

 --- 

### Description

- Move animation components to `twenty-ui`    \
  \
  \
  Fixes  #7538

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-10-22 18:08:54 +02:00
NitinPSingh
edc36c707d fix #7821 added gap in record tag and count (#7822)
solves #7821 

added 4px gap in tag and count

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-10-22 18:02:00 +02:00
sateshcharan
32cf88fa8d fix: [oss.gg] solves #7920 (#7962)
![image](https://github.com/user-attachments/assets/bb813194-30e9-4f1c-8633-5b7a3dca87b1)
#7920
2024-10-22 17:58:16 +02:00
ZiaCodes
7a6926ea5a feat: Design a new logo for Twenty (300 points) (#7965)
This PR fixes #7936


![image](https://github.com/user-attachments/assets/083a8475-b2f4-4cb4-9c5b-509d3823c66b)

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
2024-10-22 17:55:04 +02:00
Marie
6dd0ebe087 Add skip option at invite team step (#7960)
Closing [#5925](https://github.com/twentyhq/twenty/issues/5925)
2024-10-22 17:52:15 +02:00
Ana Sofia Marin Alexandre
29bd4e5f2d track serverless functions executions (#7963)
Solves: 
https://github.com/twentyhq/private-issues/issues/74

**TLDR**
When a serverless function is executed, the result is send to tinybird
event data source.

**In order to test:**

1. Set ANALYTICS_ENABLED to true
2. Put your TINYBIRD_INGEST_TOKEN from twenty_event_playground in your
.env file
3.  Don't forget to run the worker
4. Create your serverless function and run it
5. The event should be logged on the event datasource in
twenty_event_playground

**What is the structure of the payload of a serverless function event?**

Here are two examples of the payload:

`{"duration":37,"status":"SUCCESS","functionId":"a9fd87c0-af86-4e17-be3a-a6d3d961678a","functionName":"testingFunction"}`

`

{"duration":34,"status":"ERROR","errorType":"ReferenceError","functionId":"a9fd87c0-af86-4e17-be3a-a6d3d961678a","functionName":"testingFunction"}`

**Possible improvments**

- Change the status(str) to success(bool) 
- Enrich data in the payload
2024-10-22 17:51:51 +02:00
gitstart-app[bot]
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
Jérémy Magrin
9c765ae6bc feat: wip record group table 2024-10-22 17:31:40 +02:00
Weiko
02c34d547f Fix redis connection (#7956)
## Context
bull-mq connection was not working as intended, the connection parameter
was ignored and was falling back to localhost.
This PR should fix the issue by instantiating a IORedis client following
bullmq documentation https://docs.bullmq.io/guide/connections
I also changed cache-storage module to use IORedis client as well to be
more consistent even though it was not necessary there. We could move
that instantiation to a factory class in the future.

## Test
start server + worker with correct port and wrong port with
cache-storage-type memory/redis and queue-type sync/bull-mq
2024-10-22 14:40:18 +00:00
Ana Sofia Marin Alexandre
18cfe79b80 bug fix webhook response not sending data to tinybird (#7952)
Solves https://github.com/twentyhq/private-issues/issues/118

**TLDR**

Fix webhook response not sending data to tinybird when the url is not a
link.

**Changes in Tinybird:**

- Add column Success to webhook payload (boolean)
- Changed the parameter WebhookIdRequest to WebhookId in the
getWebhooksResponse api point.
- Those changes can be seen in the tinybird workspace
twenty_analytics_playground

**In order to test**

1. Set ANALYTICS_ENABLED to true
2. Set TINYBIRD_INGEST_TOKEN to your token from the workspace
twenty_analytics_playground
3. Set TINYBIRD_GENERATE_JWT_TOKEN to the admin kwt token from the
workspace twenty_analytics_playground
4. Set TINYBIRD_WORKSPACE_UUID to the UUID of
twenty_analytics_playground
5. Create a Webhook in twenty and set wich events it needs to track
6. Run twenty-worker in order to make the webhooks work.
7. Do your tasks in order to populate the data
8. Look at your webhooks in settings>api and webhooks> your webhook and
the statistics should be displayed
2024-10-22 15:48:11 +02:00
Marie
f0a2d38471 Improve search algorithm (#7955)
We were previously checking for matching with each search term
independently. Ex searching for "felix malfait" we were searching for
correspondances with "felix" and "malfait".
As a result record A with name "Marie-Claude Mala" and email
"ma.lala@email.com" had a biggest search score than record B "Felix
Malfait" with email felix@email.com for search "felix ma":
for record A we had 0 match with felix and 3 matches with "ma" ("marie",
"mala", "ma")
for record B we had 1 match with felix and 1 match with "ma" (with
"malfait").

So we want to give more weight to a row that would combine matches with
both terms, considering "felix malfait" altogether.
2024-10-22 15:47:16 +02:00
martmull
e767f16dbe 7415 serverless functions update environment variables in a dedicated tab in settings functions not a env file (#7939)
![image](https://github.com/user-attachments/assets/0ef9551d-d867-479e-9a76-faee6930bc0a)

![image](https://github.com/user-attachments/assets/a7aac417-4dd8-401f-8d5b-5b72f31710f6)

![image](https://github.com/user-attachments/assets/16c98e52-a2db-4ed3-b5d2-77745b4d2918)

![image](https://github.com/user-attachments/assets/847d23d6-8a58-4d8f-aff1-4f8a81862964)
2024-10-22 14:51:03 +02:00
ZiaCodes
7fc844ea8f feat: Side quest tweet fav completed (#7944)
![image](https://github.com/user-attachments/assets/26e7b781-afbe-467f-864f-bf04058a5b2d)
2024-10-22 14:24:16 +02:00
ZiaCodes
2aa870d6ac feat: Side quest Gif Magic completed (#7946)
![supermeme_14h47_52](https://github.com/user-attachments/assets/e7788a89-722c-4046-ae5d-c2a738daa433)
2024-10-22 14:23:52 +02:00
ZiaCodes
6e9774dac2 feat: Side quest meme magic completed (#7945)
![image](https://github.com/user-attachments/assets/615094b3-3d6b-40dc-a986-5e725201c47c)
2024-10-22 14:23:31 +02:00