08a9db2df6
Add Twenty Shared & Fix profile image rendering ( #8841 )
...
PR Summary:
1. Added `Twenty Shared` Package to centralize utilitiies as mentioned
in #8942
2. Optimization of `getImageAbsoluteURI.ts` to handle edge cases

---------
Co-authored-by: Antoine Moreaux <moreaux.antoine@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-12-17 09:24:21 +01:00
99f53a5030
Fix broken image urls in Settings > Profile and Invite To Workspace Email ( #8942 )
...
Fixes #8601
We had 3 implementations of getImageAbsoluteURI: in twenty-front, in
twenty-ui and in twenty-emails. I was able to remove the one in
twenty-front but I could not remove it from twenty-emails as this is a
standalone for now. The vision is to introduce shared utils in a
twenty-shared package
2024-12-07 14:57:32 +01:00
fed12ddfcd
Improve performance of demo workspace - Rename getImageAbsoluteURIOrBase64 function ( #6282 )
...
### Description
1. This PR is a continuation of a previous PR:
https://github.com/twentyhq/twenty/pull/6201#pullrequestreview-2175601222
2. One test case was removed here:
`packages/twenty-front/src/utils/image/__tests__/getImageAbsoluteURI.test.ts`
because since we are not handling base64 images anymore, the result is
the same of the last test case. Would you rather we update the test
instead?
### Refs
- #3514
- https://github.com/twentyhq/twenty/pull/6201
### Demo
https://www.loom.com/share/4f32b535c77a4d418e319b095d09452c?sid=df34adf8-b013-44ef-b794-d54846f52d2d
Fixes #3514
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
2024-07-29 14:07:21 +02:00
28202cc9e0
Fix workspaceLogo in invite-email ( #5865 )
...
## Fixes wrong image url in email

## Done
- duplicates and adapt `getImageAbsoluteURIOrBase64` from `twenty-front`
in `twenty-email`
- send `SERVER_URL` to email builder
2024-06-14 12:36:24 +02:00
e9d3ed99ca
5078 ability to invite team members ( #5750 )
...
## Added features
- update team member setting page
- add a section to send invitation by email
- add a new invitation email
- update email font to 'Trebuchet MS' as Google Inter font is not
working, we need to use a web safe font
https://templates.mailchimp.com/design/typography/
## Demo
https://github.com/twentyhq/twenty/assets/29927851/c731d883-1599-4281-87e3-0671f36994ae
## Invitation Email

2024-06-05 16:35:14 +02:00