twenty/packages
Samyak Piya 2651379ccc
Add automatic company logo fetching during workspace creation (#9158)
Closes #9151 

## Description
This PR automatically sets a workspace's logo based on the user's work
email domain during signup. When a user creates a new workspace using
their work email (e.g., @airbnb.com), the system will fetch and set
their company logo from twenty-icons.com as the default workspace logo.

## Implementation Details
- Added a new `CompanyEnrichmentService` to handle company-related data
enrichment
- Created a modular architecture that supports future enrichment
features (e.g., company name, details)
- Integrated with existing work email detection
- Maintains user ability to override the logo later

## Testing

https://github.com/user-attachments/assets/f7855c99-462a-4053-9e52-29649e954275


I tested the following scenarios:
- Signing up with a work email (e.g., @company.com) → Logo is
automatically set
- Signing up with a personal email (e.g., @gmail.com) → No logo is set
- User can still upload a custom logo after automatic setting

## Technical Notes
- Uses existing `isWorkEmail` utility
- Structured for future extensibility (additional company data
enrichment)
- No breaking changes to existing functionality

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
2024-12-22 09:24:27 +01:00
..
twenty-chrome-extension Settings Option Card component (#8456) 2024-11-18 09:22:33 +00:00
twenty-docker Fix Dockerfile twenty to take twenty-shared into account 2024-12-17 15:42:36 +01:00
twenty-e2e-testing Basic test verifying if demo account is working properly (#8442) 2024-12-17 13:56:00 +01:00
twenty-emails Add Twenty Shared & Fix profile image rendering (#8841) 2024-12-17 09:24:21 +01:00
twenty-front Workspace logo is not visible (#9174) 2024-12-20 18:15:02 +01:00
twenty-server Add automatic company logo fetching during workspace creation (#9158) 2024-12-22 09:24:27 +01:00
twenty-shared Add automatic company logo fetching during workspace creation (#9158) 2024-12-22 09:24:27 +01:00
twenty-tinybird refactor webhookAnalytics call and enrich analytics module (#8253) 2024-11-08 10:00:51 +01:00
twenty-ui Add possibility to destroy a record (#9144) 2024-12-19 17:00:30 +01:00
twenty-utils Fix docs build in CI (#5826) 2024-06-11 19:06:37 +02:00
twenty-website wrote 0.35 changelog (#9171) 2024-12-20 16:48:18 +01:00
twenty-zapier Phone country code unique (#9035) 2024-12-19 16:42:18 +01:00