Commit Graph

4277 Commits

Author SHA1 Message Date
Raphaël Bosi
40152d3b92
7665 handle the select all case inside the action menu (#7742)
Closes #7665 
- Handle select all
- Handle Filters

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-10-21 14:22:03 +02:00
Charles Bochet
eaab2d0dd2 Fix CI not running on main 2024-10-21 13:32:54 +02:00
Charles Bochet
2f72e22ff9 Fix CI not running on main 2024-10-21 13:19:35 +02:00
Thomas des Francs
a5b2b3522f
Updated image to correct typo (#7907)
Fixes https://github.com/twentyhq/twenty/issues/7899
2024-10-21 12:25:25 +02:00
Baptiste Devessier
e7eeb3b820
Add Workflow Run show page (#7719)
In this PR:

- Display a workflow version visualizer for the version of the workflow
the run was executed on.
- Display the output of the run as code.


https://github.com/user-attachments/assets/d617300a-bff4-4328-a35c-291dc86d81cf
2024-10-21 12:04:44 +02:00
shubham yadav
b914182b78
Update workflows to optimize CI processes (#7828)
This Pull Request addresses the need to optimize our Continuous
Integration (CI) workflows for Playwright tests and release processes.
The changes implemented aim to reduce unnecessary resource usage by
conditionally executing jobs based on relevant file changes and
Implement https://github.com/tj-actions/changed-files step

## Changes logs
- Updated `ci-test-docker-compose.yaml , ci-chrome-extension.yaml ` to
check for changed files before running tests.
- Updated `ci-front.yaml , ci-utils.yaml , ci-website.yaml ,
ci-server.yaml` to check for changed files before running tests.
- Enhanced `playwright.yml` to skip unnecessary tests based on file
changes.
2024-10-21 12:02:14 +02:00
Baptiste Devessier
fc6748de0a
Add modal to confirm workflow draft version overriding (#7758)
In this PR:

- Allow the `<ConfirmationModal />` to take additional buttons to
display between the cancel and the confirm buttons.
- Create a modal that's displayed when the user tries wants to use a
workflow version as draft while a draft version already exists. The
displayed modal contains a link to the current draft version and a
button to confirm the overriding of the current draft version.

A demo:


https://github.com/user-attachments/assets/6349f418-1b11-45b3-9f5e-061ca74c2966

Closes twentyhq/private-issues#114
2024-10-21 11:51:54 +02:00
Bhavesh Mishra
f3ec6a759f
OSS.GG Content creation challenge (#7859)
I have the content creation challenge of twenty I have published a
detailed Youtube walkthrough to Twenty Dashboard and Created a Blog on
Hashnode about Twenty Crm with step by step guide to use Twenty.

Below are the task links
1. Create a YouTube Video about Twenty showcasing a specific way to use
Twenty effectively. Points: 750
[Watch here](https://youtu.be/KuAycGuW698?si=TyKGVyrydLzof2RI)

2. Write a blog post about sharing your experience using Twenty in a
detailed format on any platform. Points: 750
[Click
here](https://k5lo7h.hashnode.dev/twenty-crm-a-fresh-start-for-modern-businesses)

Total Points - 1500
2024-10-21 08:41:19 +02:00
Rajeev Dewangan
ae1d53aa29
Write-a-blog-post-about-Twenty (#7902)
What side quest are you solving: Write a blog post about Twenty

Description: Shared my experience using Twenty in a detailed blog post

Points: 750

Proof: 

link :
https://open.substack.com/pub/rajeevdewangan/p/our-experience-using-twenty-an-open?r=4lly3x&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true
![Screenshot 2024-10-21
103524](https://github.com/user-attachments/assets/9475c262-8c5e-4a74-b2c7-e690e72daba4)
2024-10-21 08:37:00 +02:00
Ngan Phan
d6810c3b42
fix: Custom fields lacks empty tag (#7777)
This PR fixes this issue #7250

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-10-21 08:33:59 +02:00
BOHEUS
cc4b060932
Typos in docs (#7898) 2024-10-20 23:09:28 +02:00
Manish Kr Prasad
35bb1a82ba
side quest: Like & Re-Tweet oss.gg Launch Tweet (#7877)
Description:
Liked & Tweeted @twentycrm on X

Points:
50

Proof:
Link: https://x.com/mkprasad_821/status/1847886807314120762

<img width="1369" alt="Screenshot 2024-10-20 at 11 56 54 AM"
src="https://github.com/user-attachments/assets/e17daa69-6920-4641-8282-4aa98f48762a">

---------

Co-authored-by: Apple <apple@Apples-MacBook-Pro.local>
2024-10-20 20:28:06 +02:00
Poorvi Bajpai
f27b1169a1
meme-magic #7875 created (#7878)
Completed the sidequest of meme magic

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2024-10-20 20:27:53 +02:00
sateshcharan
a09c5280ee
oss.gg - Side quest meme magic completed (#7879)
![image](https://github.com/user-attachments/assets/c2d52346-4fdb-49de-8b70-e3a1da3a7521)

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2024-10-20 20:26:17 +02:00
Manish Kr Prasad
b134f62da7
oss.gg: Created a gif about twenty and uploaded to Giphy (#7884)
### Points
150

### Proof

Link to tweet: https://x.com/mkprasad_821/status/1847917157956419690
Link to giphy: https://giphy.com/gifs/uiTAwFJ0BWQsQb7jbM
<img width="1144" alt="Screenshot 2024-10-20 at 1 49 43 PM"
src="https://github.com/user-attachments/assets/cf1ccdbc-1dc0-461c-80b7-d49a59926e73">

Co-authored-by: Apple <apple@Apples-MacBook-Pro.local>
2024-10-20 20:25:24 +02:00
Manish Kr Prasad
8b5b0da77f
Design/Create new Twenty logo, tweet your design. (#7892)
### Points:
300

### Proof:
<img width="1144" alt="Screenshot 2024-10-20 at 6 13 00 PM"
src="https://github.com/user-attachments/assets/b116e978-c216-443b-a12d-7d340e1e3d09">

Co-authored-by: Apple <apple@Apples-MacBook-Pro.local>
2024-10-20 20:23:24 +02:00
Manish Kr Prasad
44a843542c
Design a promotional poster for twenty. (#7896)
### Points:
300

### Proof:

<img width="1227" alt="Screenshot 2024-10-20 at 10 00 57 PM"
src="https://github.com/user-attachments/assets/b2dfaefb-b73c-4a22-a4f0-8721150af52d">

Co-authored-by: Apple <apple@Apples-MacBook-Pro.local>
2024-10-20 20:21:23 +02:00
Charles Bochet
eccf0bf8ba
Enforce front project structure through ESLINT (#7863)
Fixes: https://github.com/twentyhq/twenty/issues/7329
2024-10-20 20:20:19 +02:00
Manish Kr Prasad
f801f3aa9f
oss.gg Tweet about your favourite feature in Twenty (#7880)
Point: 50

Proof:
Link: https://x.com/mkprasad_821/status/1847895747707953205

<img width="1369" alt="Screenshot 2024-10-20 at 12 31 07 PM"
src="https://github.com/user-attachments/assets/c9db7eb1-e854-4cb6-8120-5a14d27ccadd">

Co-authored-by: Apple <apple@Apples-MacBook-Pro.local>
2024-10-20 10:20:39 +02:00
Manish Kr Prasad
dc1fbc3315
Created a meme on Twenty and posted on X (#7883)
### Points: 
150

### Proof:
Link to Tweet: https://x.com/mkprasad_821/status/1847900277510123706

![Screenshot 2024-10-20 at 12 49 12
PM](https://github.com/user-attachments/assets/ae47d070-3b98-46b7-ba89-ecce8c16ae9a)

Co-authored-by: Apple <apple@Apples-MacBook-Pro.local>
2024-10-20 10:19:42 +02:00
sateshcharan
c5138df58c
oss.gg side-quest-gif-magic completed (#7873)
![image](https://github.com/user-attachments/assets/3238d111-9098-4e60-a287-87d7f13f2ace)
2024-10-20 07:57:05 +02:00
Nabhag Motivaras
ac88840bf0
fix: redis url to not be optional anymore (#7850)
## Description

- `REDIS_URL` is required 

<img width="1903" alt="Redis Required"
src="https://github.com/user-attachments/assets/5b53a4a6-29f4-4473-b7e4-52489f75204e">

---- 

- Closes #7849

- Might be related #7768

--- 

- Wasn't gracefully reseting database

``` 
   npx nx database:reset twenty-server
```
2024-10-19 17:22:47 +02:00
Anis Hamal
8368f14fb9
Bug Fix: Decreased border radius of badge and changed badge parent div padding to margin (#7835)
## What does this PR do?
Decreased the border-radius of the badge and changed the padding-top and
padding-bottom of the badge parent div to margin-top and margin-bottom

Fixes #7811

<img width="1470" alt="Screenshot 2024-10-19 at 12 27 49 AM"
src="https://github.com/user-attachments/assets/2ecb2e18-127e-4093-ba82-34b6e71656a8">
<img width="1470" alt="Screenshot 2024-10-19 at 12 28 37 AM"
src="https://github.com/user-attachments/assets/ef6b4b8d-7f9d-452f-885b-971e2ac658b9">

## How should this be tested?
Create any task, notes, or files.

---------

Co-authored-by: ehconitin <nitinkoche03@gmail.com>
2024-10-19 11:42:43 +02:00
Baptiste Devessier
36e59d80c4
Use the correct color for workflow nodes label (#7829)
Follow the design from the Figma about the color to use.

Big up to @Bonapara for doing great job on the Figma!

It was done on stream!

Fixes #7058
2024-10-19 10:59:04 +02:00
Prashant Acharya
29f903a83b
Added new logo images (#7840)
**Added new logo in different png format**
Fixed Issue:
Design a new logo for Twenty (300 points) #**7834**

What tool did I used?
I used logo.com as a design tool to design the logo. 

Logo I made:

![20-high-resolution-logo-black](https://github.com/user-attachments/assets/f041d22d-6d7f-4171-96b7-302a255e89e9)

![20-high-resolution-logo-white-transparent](https://github.com/user-attachments/assets/163f1b9d-cfa2-4d75-ba9d-9cb0ce54bf46)

![20-high-resolution-logo-black-transparent](https://github.com/user-attachments/assets/4648107d-c628-4a64-9bd1-94ab036c4b60)

![20-high-resolution-logo](https://github.com/user-attachments/assets/7735e623-b2e2-4484-b71c-5fc42be33362)
2024-10-19 10:58:20 +02:00
Félix Malfait
c285f0a9df
Refactoring show page (#7838)
@ehconitin following your question I did a quick refactoring of the show
page - we can push it much further but it would be better to start from
this code than from main

Edit: I will merge to avoid conflicts, this is very far from perfect but
still much better than the mess we had before
2024-10-19 00:39:10 +02:00
Weiko
d4457d756c
Fix custom index creation missing indexFieldMetadatas (#7832)
## Context
Regression on custom index creation where indexFieldMetadatas were not
saved properly in the DB. This is because we recently changed save() to
upsert() in the indexMetadataService and upsert does not handle nesting
insert properly.
I'm suggesting another fix where we separate indexMetadata creation and
index migration creation in 2 different functions. Since the goal was to
be able to recreate the index after being deleted when we changed the
tsvector expression and indexMetadata was actually not deleted, we
didn't need to recreate that part (hence the upsert) and only needed to
run a migration to create the actual index in the workspace schema.
I've updated the different services and now only call
createIndexMigration when we update a search vector expression.

Note: this is also fixing the sync-metadata command when running on a
workspace with a custom object (including the seeded workspace which has
the 'rocket' custom object), failing due to the missing 'searchVector'
indexFieldMetadata
2024-10-18 18:59:50 +02:00
Charles Bochet
17b934e22b Migrate to shipfox 2024-10-18 18:36:01 +02:00
NitinPSingh
e50117e3b0
fix #7781 made kanban board title and checkbox 24px (#7815)
# issue: #7781 

- [x] titlechip to 24px
- [x] checkbox to 24px
![Screenshot 2024-10-18
134759](https://github.com/user-attachments/assets/e9d347e3-41b8-4b0d-a072-d139ed982971)
![Screenshot 2024-10-18
134708](https://github.com/user-attachments/assets/8b83f6dd-96ac-4a4e-b6ae-85d3e2923fb9)
2024-10-18 18:02:43 +02:00
martmull
9c8eeeea9d
Start twenty-server:worker when npx nx start (#7820)
- start the worker service when launching `npx nx start`
- update documentation
2024-10-18 16:13:12 +02:00
Marie
5a23d1eea8
[sentry fix] handle undefined createdBy case (#7818)
Fix sentry
https://twenty-v7.sentry.io/issues/5998085857/?alert_rule_id=15135094&alert_type=issue&environment=prod&notification_uuid=9a6c6c3d-6bd1-4c7f-bf27-8acb3571bbc3&project=4507072499810304&referrer=discord
2024-10-18 15:14:08 +02:00
Marie
6fef125965
Use search instead of findMany in relation pickers (#7798)
First step of #https://github.com/twentyhq/twenty/issues/3298.
Here we update the search endpoint to allow for a filter argument, which
we currently use in the relation pickers to restrict or exclude ids from
search.
In a future PR we will try to simplify the search logic in the FE
2024-10-18 14:50:04 +02:00
Ana Sofia Marin Alexandre
8cadcdf577
add dynamic dates for webhookGraphDataUsage (#7720)
**Before:**
Only last 5 days where displayed on Developers Settings Webhook Usage
Graph.

![image](https://github.com/user-attachments/assets/7b7f2e6b-9637-489e-a7a7-5a3cb70525aa)


**Now**
Added component where you can select the time range where you want to
view the webhook usage. To do better the styling and content depassing .

<img width="652" alt="Screenshot 2024-10-15 at 16 56 45"
src="https://github.com/user-attachments/assets/d06e7f4c-a689-49a0-8839-f015ce36bab9">


**In order to test**

1. Set ANALYTICS_ENABLED to true
2. Set TINYBIRD_TOKEN to your token from the workspace
twenty_analytics_playground
3. Write your client tinybird token in
SettingsDeveloppersWebhookDetail.tsx in line 93
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.
8.  Select the desired time range in the dropdown

**To do list**

- Tooltip is truncated when accessing values at the right end of the
graph
- DateTicks needs to follow a more clear standard
- Update this PR with more representative images
2024-10-18 11:00:21 +02:00
martmull
0c24001e23
Fix update event webhook triggering (#7814) 2024-10-18 10:20:21 +02:00
Hitarth Sheth
f6c094a56f
[FIX] fix navigation overflow (#7795)
FIX #7733

Fixes the overflow and responsive problem on large and small devices. 


![image](https://github.com/user-attachments/assets/6cd8b33f-a52f-4452-b161-9c84ebbb4cce)

![image](https://github.com/user-attachments/assets/c8c0386f-e2a2-4f96-a06e-7e37f54c0564)

The 'Workspace' title is fixed and only links under it are scrolled when
overflown.

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-10-18 00:49:42 +02:00
Pushpender
8f7ca6a0e3
Fix Google Auth displays Status: 401 on screen (#7659)
When the user presses the cancel button, the server sends the following
response:

![image](https://github.com/user-attachments/assets/cb68cf01-b32c-4680-a811-cd917db88ca9)

{"statusCode": 401, "message": "Unauthorized"}

Now, when the user clicks the cancel button, they are redirected to the
home page for login.

Related Issue
Fixes #7584

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-10-18 00:21:57 +02:00
Syed Hamza Hussain
6f5dc1c924
Bug Fix: created new div and p tag styles and wrap it on the workspace member as container (#7581)
Hello,
Hope you are doing well.I created a special style for the text to make
sure it stays in one line and wont exceed the width if the text width
will be more then 80px it will ecplise and set ... at the end of the
text.

I created these 2 styles variables and wrap my text in these styles 
StyledObjectSummary 
StyledEllipsisParagraph 

Fixes #7574 


#Screens Shots
<img width="1268" alt="Screenshot 2024-10-10 at 10 58 04 PM"
src="https://github.com/user-attachments/assets/2d3ef2c5-c4c8-489b-a205-50a48b986d60">

<img width="530" alt="Screenshot 2024-10-10 at 10 58 20 PM"
src="https://github.com/user-attachments/assets/e0d1cb48-dbc9-427a-99ac-54269c574360">

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-10-17 23:55:50 +02:00
Thibault Le Ouay
249c7324a2
Improve error message for Graphql API (#7805)
![CleanShot 2024-10-17 at 11 39
39](https://github.com/user-attachments/assets/616b8317-de1f-4b61-b2b4-980b14b09f66)

This improves this error message.

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-10-17 22:40:30 +02:00
Harshit Singh
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
Shashank Suman
c0e6fb6fdb
added left padding in filter chip (#7800)
Fixes: #7779

---------

Co-authored-by: Shashank Suman <shashanksuman@Shashanks-MacBook-Air.local>
2024-10-17 21:36:44 +02:00
Charles Bochet
fad1363095 Fix CIs not running 2024-10-17 19:35:27 +02:00
gitstart-app[bot]
58fd34071c
[Server Integration tests] Enrich integration GraphQL API tests (#7699)
### Description

- We are using gql instead of strings to be able to see the graphql code
highlighted

### Demo


![](https://assets-service.gitstart.com/28455/d06016b9-c62c-4e0d-bb16-3d7dd42c5b6b.png)

Fixes #7526

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2024-10-17 19:16:19 +02:00
Atharva_404
f08b8fda16
Updated 1-design-promotional-poster-20-share.md with (#7791)
Added my own entry to the list with the following poster:
### Points:
300
<br/>

![twenty](https://github.com/user-attachments/assets/bd7648a5-8012-4d73-a992-b8e7e8ed08a0)
2024-10-17 17:46:46 +02:00
Shlok Koirala
d827d80ddc
[🕹️] Twenty Design Challenges: New twenty logo by Shlok-py (#7790)
added shlok-py nmew logo for twenty
2024-10-17 17:45:55 +02:00
Nazar Poshtarenko
c07650fd7e
fix(front): move "Add to favorites" btn to start of action menu (#7785)
### What does this PR do?

Moves the "Add to favourites" action button to the beginning of the
action menu, thus moving the "Delete" button to its right edge.

Fixes #7780.

<img width="1494" alt="image"
src="https://github.com/user-attachments/assets/52498fce-278c-4f04-a5ce-26920f9ffd5a">
2024-10-17 19:41:02 +05:30
Thomas Trompette
f338d01b4f
Build code introspection service (#7760)
Starting to use ts-morph to retrieve function parameters
2024-10-17 15:08:42 +02:00
martmull
ddbfabfc99
Precise wording for api example (#7783)
Enhance composite type filter example in open-api
2024-10-17 14:41:38 +02:00
Charles Bochet
f26c65fd41 Try out depot as CI provider 2024-10-17 11:50:43 +02:00
Jeel
8e86e94125
Fix: Remove Deleted filter not reflecting issue (#7676)
## PR Summary

This Pull request fixes #7626 

Adding Deleted filter from option will add filter label as "Deleted" in
tableFiltersState, But on click of "Remove Deleted filter" "Deleted at"
is used for finding tableFilter id, which results in tableFilter id as
undefined.
2024-10-16 18:20:39 +02:00
Harshit Singh
03dd7527b7
fix: Array data type accepts whitespace as input (#7707)
## Description

- This PR fixes the issue #7593

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2024-10-16 17:52:32 +02:00