4331 Commits

Author SHA1 Message Date
bosiraphael
56c3a2ab5a Merge branch 'main' into o365sync 2024-11-04 11:41:52 +01:00
bosiraphael
d29a1e6dd1 modified cron pattern, and set the message channel status to not synced for microsoft 2024-11-04 11:40:03 +01:00
Félix Malfait
740ca550cc Fix Danger CI not running (#8299)
The Danger CI was not running anymore (we need it for CLA/Congrats bot)
2024-11-04 08:37:44 +01:00
Hitarth Sheth
b66bdd9de5 [FIX] remove blue outline for Phones, Emails, and Domains fields (#8268)
FIX: #8252

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-11-04 08:32:27 +01:00
BOHEUS
8b1f34dbfb IconButton Secondary color (#8286)
Related to #8212
2024-11-03 17:18:32 +01:00
BOHEUS
d350662984 Fix docs with missing npx (#8288)
Related to #8082

Created this PR on purpose after both #8083 and #8161 were closed and
respective branches were deleted by the author
2024-11-03 16:49:36 +01:00
Lairton
0c6c22b852 Fix typo in default member's last name (#8293)
Fixes #8290

Correct the last name of the default member "Phil Shiler" to "Phil
Schiler" in the
`packages/twenty-server/src/database/typeorm-seeds/workspace/workspace-members.ts`
file.

* Change the last name from "Shiler" to "Schiler" for the user with the
email `phil.schiler@apple.dev`.

---

For more details, open the [Copilot Workspace
session](https://copilot-workspace.githubnext.com/twentyhq/twenty/issues/8290?shareId=13cc0610-8aaf-45f9-9e96-2a723ed60218).
2024-11-03 16:41:25 +01:00
Félix Malfait
558cc6810e Fix assignee not displayed on tasks (#8280)
Fix an issue where the assignee of a task wasn't displayed on the task
record's show page
2024-11-01 18:26:56 +01:00
BOHEUS
6630fc4a6a Fixed typo in task's status (#8274)
Related to #8100

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-11-01 11:33:30 +01:00
BOHEUS
f70ed7fb5a Remove oss.gg banner from README.md (#8275) 2024-11-01 11:28:56 +01:00
Raphaël Bosi
234a5db80c Fix hotkey scope when opening command menu (#8258)
Fix hotkey scope when opening command menu
2024-11-01 09:25:10 +01:00
Raphaël Bosi
a71a350ed2 Fix disabled + focus button (#8259)
Before fix:
<img width="302" alt="Capture d’écran 2024-10-31 à 16 56 03"
src="https://github.com/user-attachments/assets/20e219a7-7020-4076-8e8a-bf4892dc0863">
After fix:
<img width="312" alt="Capture d’écran 2024-10-31 à 16 55 54"
src="https://github.com/user-attachments/assets/4b759b08-85cb-40ff-aacd-09b078f08033">
2024-11-01 09:24:51 +01:00
Lucas Bordeau
c93d2bcd5e Fixed many dropdown bugs (#8256)
Many dropdown bugs have been fixed, more refactoring is needed.

Dropdown fixed : 
- Filter select
- Sort select
- Visible field select
- Hidden field select
- Multi item picker (phones, links, emails, etc.)
- Phone country select
2024-11-01 09:23:01 +01:00
Charles Bochet
a287edd91b Kanban full name (#8261) 2024-11-01 09:19:55 +01:00
Félix Malfait
86a0ea7c43 Delete oss-gg directory (#8271)
As per title
2024-11-01 09:10:24 +01:00
NitinPSingh
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
Jérémy M
3fbd312141 fix: no more dashed line (#8254)
Fix bug introduced by #8152 where `<Tag />` component doesn't have
dashed lines anymore.
<img width="114" alt="Screenshot 2024-10-31 at 3 10 10 PM"
src="https://github.com/user-attachments/assets/25c9cb91-7be2-407b-9f07-a3811fb2d082">
<img width="134" alt="Screenshot 2024-10-31 at 3 10 03 PM"
src="https://github.com/user-attachments/assets/c44a551f-0e02-4fd4-b779-2076df513b03">
2024-10-31 15:32:51 +01:00
Raphaël Bosi
b1a96e2e04 Fix logged out scopeId error (#8250)
Fix logged out scopeId error
2024-10-31 15:01:54 +01:00
Harshit Singh
c9fcce6590 fix: Emails input field stays in errored state (#8243)
## Description

- This PR fixes the issue #8235 
- Error state resets when error state is removed

## Changes



https://github.com/user-attachments/assets/0aeb99fe-56c8-437a-ad2c-97e245a44158
2024-10-31 13:26:59 +01:00
Chris
aff55f49fe 🕹️ feat(cli): script to migrate (contacts and companies) from Attio to Twenty (#8046)
I made an MVP of a Command Line Interface to help migrate (just contacts
and companies for now) from Attio to Twenty. I made this rushing but
here's the code of the script:
[code](https://github.com/chrisdadev13/twenty-cli/tree/main) and a
little a
[demo](https://www.loom.com/share/f98f34f8d9b34728998847d3b97a16b7) :)

<img width="650" alt="Screenshot 2024-10-24 at 8 56 27 PM"
src="https://github.com/user-attachments/assets/2668084c-941a-4150-875c-1f2b60c1c9ba">

Since Twenty is open source, this kind of tools can be a great way to
catch contributions and also improve migrations process. I mean, now
with the CLI you can only migrate from Attio, but what if tomorrow
someone extends the tool to easily migrate from Salesforce, or any other
CRM, to Twenty? 🤔

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2024-10-31 13:09:02 +01:00
Charles Bochet
034e558758 Deprecate useListenClickOutsideByClassNameListener (#8242) 2024-10-31 12:46:21 +01:00
Lucas Bordeau
d46820472c Fix view filter creation on new view (#8199)
Wrong view was used for the creation from another view (source and
target view were inverted)
2024-10-31 12:44:20 +01:00
Baptiste Devessier
b3f95d6db9 Ensure the text of select control is aligned on the left (#8238)
Fixes:


![image](https://github.com/user-attachments/assets/900596ed-1426-49cd-a2f3-4b81eacbb7d0)

The regression is due a recent change I made to the SelectControl
component: https://github.com/twentyhq/twenty/pull/8125.

The SelectControls get applied `text-align: center` due to the styles
`react-datepicker` applies to the header component. My grid
implementation makes the label take all the available width. I could
have let it take an `auto` width, but I think it's better to set the
`text-align` property and ensure the `SelectControl` component behaves
predictably.
2024-10-31 12:03:45 +01:00
Raphaël Bosi
b1e9922660 Fix context store filters (#8236)
Fix context store filters
2024-10-31 11:51:51 +01:00
Baptiste Devessier
d0dc8bae4f Fix save record table cell when clicking outside table (#8230) 2024-10-31 11:45:40 +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
Aditya Deshlahre
f465a7bc11 ossgg: side quest content/design challenge blogs + figma link add (#8182)
### Twenty side quest content challenge

#### Self Hosting Blog

- [BLOG
Live](https://dev.to/adityadeshlahre/complete-guide-to-self-hosting-twenty-crm-2h08)

#### Points 750

#### Details Review of Twenty

- [BLOG
Live](https://dev.to/adityadeshlahre/transform-your-customer-relationships-with-the-leading-open-source-crm-twenty-161d)

#### Points 750

Please give it a read 

### Twenty side quest design challenge

- [Figma
Link](https://www.figma.com/design/4hlpS6LOIaJqDbd6T6SlXc/CustomTwentyByAdityDeshlahre?node-id=478-19796&t=Dp8EBpl0FxVjiGHT-1)

- [prototype
preview](https://www.figma.com/proto/4hlpS6LOIaJqDbd6T6SlXc/CustomTwentyByAdityDeshlahre?node-id=478-19796&t=Dp8EBpl0FxVjiGHT-1)

#### Please check prototype for most updated theme 

### theme:POV

![image](https://github.com/user-attachments/assets/16775432-e0ee-462e-8041-1fd5e6f5d6f0)

### ProperMint


![image](https://github.com/user-attachments/assets/c8355c6b-092c-4e14-abc0-2c8475bf0754)

![image](https://github.com/user-attachments/assets/befb0964-59e2-4113-8396-282fd1b51da3)

![image](https://github.com/user-attachments/assets/7c6a59fe-6215-4b5f-8e52-188abfeef310)

##### Updated Side button

![image](https://github.com/user-attachments/assets/abdf5ef0-b802-461f-b83f-b2d38eda5443)

#### Points 750

### Total Points : 2250 { if every thing seems good then 🤣 }

Thank You 🙂
2024-10-31 11:09:51 +01:00
Charles Bochet
99837f9752 Fix integration tests (#8229)
Removing leftovers of the deprecated "activity" object which is fixing
our integration tests
2024-10-31 10:36:29 +01:00
RajuGangitla
2bfd0fe252 ossgg: article, blog, migration script, n8n workflow (#8183)
Total points : **3750 points** 

1. Self hosting guide (750 points)

[link](https://dev.to/raju_gangitla_91920e1427f/self-hosting-twenty-crm-a-complete-guide-559n)

2. Blog posted on my company website  (750 points)
[blog](https://zedblock.com/blog/twenty-crm)

3. i wrote a script for data migration from zoho to twenty (750 points)
here is the [github
link](https://github.com/RajuGangitla/twenty-migration-scripts)
here is the [video
link](https://www.loom.com/share/f072bf31fb46449d98d6826a3a824fe9?sid=21f2c3f4-f286-43a2-98aa-d1fb92c3a86e)

4. created a n8n workfow for which will add, update and delete people
data in google sheets whenver we change in twenty dashbaord (750 points)
i attached the template json down below 
here is the
[video](https://www.loom.com/share/89f86ef895e946fbbbbae3cc90559bb7?sid=5015c1da-b472-46c3-b144-1d170bdf5c9f)


[twenty_leads_to_google_sheets.json](https://github.com/user-attachments/files/17576685/twenty_leads_to_google_sheets.json)

5. Wrote a comprehensive guide on " integrate Twenty with marketing
automation tool (n8n, Zapier). " (750 points)
Here is the
[link](https://dev.to/raju_gangitla_91920e1427f/automating-people-data-sync-n8n-workflow-for-twenty-crm-and-google-sheets-5789)
2024-10-31 10:28:31 +01:00
Weiko
82f33efe9c Add missing CopyWebhookOperationIntoOperationsCommand to 0.32 upgrade global command (#8219)
## Context
This command was missing in the global upgrade command, this PR simply
adds it.
2024-10-31 09:56:44 +01:00
Marie
e5d492d09f Fix empty option selected in single entity select (#8208)
SingleEntitySelect was wrongfully showing the empty option (eg "No
company") as selected if the selected option was not showing in the
list, because of a search filter for instance (eg selected option is
"Linkedin" but search filter is "a").

Fixing this and removing misleading prop selectedEntity from components
where it is never passed.
2024-10-31 09:41:44 +01:00
Weiko
d19bc2c224 Fix SimplifySearchVectorExpressionCommand (#8218)
## Context
This command was introduced to simplify searchVector expressions that
were added in v0.31.x for existing workspaces.
New search vector columns have been added later during 0.32 development
and should not be migrated, this actually breaks the command because we
run sync-metadata before the upgrade command.

The fix removes the throw since this is expected and return early if the
search vector was not matched with an object that needs migration.

## Test
checkout v0.31.0
reset:db command
checkout this PR
run typeorm migrations
run upgrade 0-32 command
2024-10-30 17:47:52 +01:00
Thomas Trompette
c7c16f7114 Fix date picker size (#8216)
<img width="760" alt="Capture d’écran 2024-10-30 à 16 54 19"
src="https://github.com/user-attachments/assets/b9b0f717-d93e-48d4-9df5-b817eab5b704">
2024-10-30 17:34:05 +01:00
Raphaël Bosi
7a5d52e88d Update action menu bar (#8178)
Closes #8023
2024-10-30 17:22:42 +01:00
Marie
7dfde04957 Fix advanced settings display (#8196)
In [this PR (fix navigation
overflow)](https://github.com/twentyhq/twenty/pull/7795) we introduced a
regression, hidding the left-side animation with advanced settings:
<img width="285" alt="Capture d’écran 2024-10-30 à 12 56 22"
src="https://github.com/user-attachments/assets/46d7b1e5-4759-42e9-9bcb-aaa0fedfe542">

<img width="274" alt="Capture d’écran 2024-10-30 à 12 56 31"
src="https://github.com/user-attachments/assets/d3c3d337-f6fc-4509-a920-4c2c7506f061">
2024-10-30 16:18:44 +00:00
Charles Bochet
3957658e1c Fix storybook tests 2024-10-30 17:02:07 +01:00
Marie
692c4ba6fb Add simple configuration to ts_query (#8215)
In the expression of our searchVector fields, we use the "simple"
configuration (over the default "english" one), to avoid picking a
language that's irrelevant to the user.
I initially forgot to add the same configuration to the query that is
being sent using ts_query.
Adding it will also allow the search to work for a single character,
while so far a single letter was most of the time considered a "stop
word" (a word with no semantic value, like "a").
2024-10-30 16:58:51 +01:00
martmull
7f90ac2df8 Handle case where fieldValue is null (#8210)
Allow null values when updating relation to fix detach action
2024-10-30 16:53:02 +01:00
martmull
7b467822f1 Fix tinybird Ci (#8211)
Ignore ci job if no change in tinybird
2024-10-30 15:36:47 +00:00
Charles Bochet
b7d5c05a74 Fix front tests (#8207) 2024-10-30 15:50:56 +01:00
Félix Malfait
50c912d57f Delete unused objects (#7823)
Fixes #7113

---------

Co-authored-by: Weiko <corentin@twenty.com>
2024-10-30 13:35:43 +01:00
ZiaCodes
57d9b8e8b4 feat: generate secret function and replaced few instances (#7810)
This PR fixes #4588

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-10-30 12:07:11 +01:00
Lucas Bordeau
1782865ff8 Added feature flag for advanced filter (#8194)
Added feature flag for advanced filter
2024-10-30 12:06:46 +01:00
Atharva_404
cb3ceba893 Update 2-tweet-about-fav-twenty-feature.md (#8185)
Added my entry

### Points
50

### Issues
Solves #8186 

### Proof
Here is a screenshot of proof:

![image](https://github.com/user-attachments/assets/95a63e21-44fe-4a5b-a974-02e11b03f43a)
2024-10-30 09:10:08 +01:00
Harsh Shrikant Bhat
16a29bc217 ossgg: Promotional video with animation and 3d Objects (#8184)
https://x.com/HarshBhatX/status/1851481457761370559

It is too big in size to upload here 🤓.

Points:
750
2024-10-30 09:09:03 +01:00
Atharva_404
c1c55d0208 Update 1-quote-tweet-20-oss-gg-launch.md (#8187)
Added my entry

### Points
50

### Issue
#8188 

### Link to the tweet
https://x.com/0x_atharva/status/1851503532840566919
2024-10-30 09:08:00 +01:00
Baptiste Devessier
d887a857ca Revert "fix: Country Dropdown not closing with AddressInput " (#8174)
Reverts twentyhq/twenty#8147
2024-10-29 15:55:18 +01:00
Weiko
31ecaf2a0d fix object metadata renaming (#8175)
## Context
Latest refactoring broke the findOneWithinWorkspace method which is
called during object update, I'm simply reverting this change.
object-metadata-relation.service was naively computing a namePlural
based on the nameSingular while we already had that info in the DB...
Should fix some issues with renaming as well because the original field
was not computed with the right name.
2024-10-29 14:45:27 +00:00
Raphaël Bosi
fe2c8bb43b 7339 implement contextual actions inside the commandmenu (#8000)
Closes #7339


https://github.com/user-attachments/assets/b623caa4-c1b3-448e-8880-4a8301802ba8
2024-10-29 15:10:45 +01:00