Harshit Singh and Charles Bochet
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
Harshit Singh and Lucas Bordeau
43a0006947
fix: Settings card inconsitent for mobile viewports ( #7464 )
...
Closes #7457
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-10-10 17:43:22 +02:00
martmull
f138a1cf6e
7417 workflows i can send emails using the email account ( #7431 )
...
- update `send-email.workflow-action.ts` so it send email via the google
sdk
- remove useless `workflow-action.email.ts`
- add `send` authorization to google api scopes
- update the front workflow email step form to provide a
`connectedAccountId` from the available connected accounts
- update the permissions of connected accounts: ask users to reconnect
when selecting missing send permission

2024-10-08 23:29:09 +02:00
Charles Bochet
d8c4af9279
Fix all broken CIs ( #7439 )
...
Fix all the broken CIs :p
This includes an ongoing effort to simplify test maintenance by having 1
unique source of truth about metadata and data mocks (that will later be
generated from a unique source of seeds: dev = demo = test)
Regressions:
- Unit line coverage: 60 > 55
- Storybook Pages branch coverage: 40 > 35
We will need to write tests to increase those coverage
- RelationFieldDisplay perf: 0.2ms to 0.22ms > We might have a
regression here
- Removed perf story about RawJSON > We will need to re-add it
2024-10-05 00:23:23 +02:00
Rishi Kant and Félix Malfait
c4762c3921
Add Header to Email & Calendar Tabs #7288 ( #7293 )
...
# Fix: 7288 - Add Header to Email & Calendar Tabs (No Account Connected)
## Description
Added a header to the **Email** and **Calendar** tabs when no account is
connected, matching the style and spacing of the account page to prevent
layout issues when switching between pages.
### Header Content:
- **Connected Accounts**
- **Manage your internet accounts**
## Screenshot:
<img width="1440" alt="Screenshot 2024-09-27 at 5 20 55 PM"
src="https://github.com/user-attachments/assets/0c641dd6-e17f-47c4-9e30-45a3f8a9eac9 ">
Fixes #7288
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2024-09-27 14:09:33 +02:00
Weiko
7669b40543
Fix calendar page without account ( #7256 )
...
More details in this PR https://github.com/twentyhq/twenty/pull/7202
We(I) forgot to fix on the calendar page.
2024-09-25 16:15:52 +02:00
Weiko
d8e16cbfd1
Fix IN filter with empty array ( #7202 )
...
## Context
The api currently allows empty array in the IN filter but the expected
behaviour is not very clear. Typeorm seems to return all records when it
is empty which could lead to undesired result. Instead we decided to
throw an error.
I've updated the FE accordingly to skip calls when array is empty.
<img width="696" alt="Screenshot 2024-09-23 at 14 20 28"
src="https://github.com/user-attachments/assets/4b641430-ff17-40a6-bbc5-75e9a1d55f50 ">
2024-09-23 15:12:49 +02:00
Raphaël Bosi
1d56ace2af
Fix sync statuses on the fe ( #7117 )
...
Follows #6685
2024-09-18 18:46:39 +02:00
Ana Sofia Marin Alexandre
cac3e116a3
Add SettingsCard for Config Data Type and Accounts Settings ( #7093 )
...
https://github.com/twentyhq/twenty/issues/6950
Add new Settings Card for Config Data Type and accounts Settings
Before:
<img width="707" alt="Screenshot 2024-09-11 at 17 43 16"
src="https://github.com/user-attachments/assets/63ff9373-fa86-4b22-8e8b-21483039c3be ">
After:
<img width="755" alt="Screenshot 2024-09-17 at 14 15 18"
src="https://github.com/user-attachments/assets/213c24a1-dc1c-4ffb-8890-7c1f63ed376c ">
<img width="755" alt="Screenshot 2024-09-17 at 14 15 38"
src="https://github.com/user-attachments/assets/0fc12d19-b92a-493d-80fa-0064cf491fbc ">
2024-09-18 18:32:41 +02:00
Raphaël Bosi
55a3ee2c3b
Modify messaging settings description ( #7089 )
...
Modify messaging settings description
2024-09-18 15:07:08 +02:00
Raphaël Bosi
7cdf2dc4ec
7092 destroy connected account instead of soft deleting it ( #7099 )
...
- Create `destroyOne` endpoint
- Call `destroyOne` when removing a `connectedAccount`
2024-09-17 18:30:40 +02:00
nitin
33e455655f
Added sync status on the FE ( #6730 )
...
Issue #6685
How do we make sure we get the latest syncStatus on the frontend?
For now we dont get it unless refreshed.
useInterval() on fetching account details?
2024-08-27 11:11:24 +02:00
Félix Malfait
d5350e11a3
Remove some dead code ( #6611 )
...
We could remove a lot more than this, this is just a start.
There are various tools to help with this, knip is a good one
2024-08-11 20:43:18 +02:00
Lucas Bordeau and Weiko
ccf4d1eeec
Date formatting per workspace member settings ( #6408 )
...
Implement date formatting per workspace member settings
We'll need another round to maybe initialize all workspaces on the
default settings.
For now the default behavior is to take system settings if nothing is
found in DB.
---------
Co-authored-by: Weiko <corentin@twenty.com >
2024-07-30 14:52:10 +02:00
bosiraphael and Charles Bochet
6728e40256
5899 display a banner to alert users which need to reconnect their account ( #6301 )
...
Closes #5899
<img width="1280" alt="Index - banner"
src="https://github.com/twentyhq/twenty/assets/71827178/313cf20d-eb34-496a-8c7c-7589fbd55954 ">
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-07-27 18:34:52 +02:00
Charles Bochet
62e9492e8b
Fix email and calendar settings not displayed when only one channel is present
2024-07-18 09:23:14 +02:00
Adithya Thejas S and Charles Bochet
a8dfff3a6d
fix: conditionally rendered Tablist only if there are multiple accounts. ( #6274 )
...
issue - 6267
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-07-16 13:51:08 +02:00
Charles Bochet
9ba211055a
Add message import granulary on non-pro emails, group emails and received contact creation ( #6156 )
...
1) Remove featureFlag
2) Base contactCreation on messageChannel.autoContactCreationPolicy
4) add excludeProfessionalEmails + excludeGroupEmails logic
2024-07-08 14:33:48 +02:00
bosiraphael
ef849d316f
Small fixes on accounts settings ( #6157 )
...
- Add keys in components map
2024-07-08 12:00:00 +02:00
Charles Bochet
af83879d7a
Add new Settings to front-end ( #6154 )
...
<img width="1512" alt="image"
src="https://github.com/twentyhq/twenty/assets/12035771/cfcc6ac9-feeb-4d91-aa68-bd0119780d6d ">
2024-07-08 10:47:55 +02:00
Charles Bochet
87dc95c594
Refactor Calendar Settings into tabs ( #6153 )
...
This PR migrates Calendar Settings into Tabs:
<img width="1512" alt="image"
src="https://github.com/twentyhq/twenty/assets/12035771/2531d0f1-ddfd-46c6-8678-bd76d78447b6 ">
2024-07-08 09:11:47 +02:00
Charles Bochet
f847e12709
Implement Settings Tabs ( #6136 )
...
In this PR:
- Renaming SettingsAccountsEmailBlocklist to
SettingsAccountsEmailBlocklist as the blocklist is not tied to
emails/messaging but is user level
- Changing the UI settings UI by removing /emails/{id} page and adding
tabs on /emails page
<img width="1512" alt="image"
src="https://github.com/twentyhq/twenty/assets/12035771/d215a891-fff9-477d-915d-0d7a697742e8 ">
2024-07-04 19:05:33 +02:00
Lucas Bordeau
03b3c8a67a
Refactored all FieldDisplay types for performance optimization ( #5768 )
...
This PR is the second part of
https://github.com/twentyhq/twenty/pull/5693 .
It optimizes all remaining field types.
The observed improvements are :
- x2 loading time improvement on table rows
- more consistent render time
Here's a summary of measured improvements, what's given here is the
average of hundreds of renders with a React Profiler component. (in our
Storybook performance stories)
| Component | Before (µs) | After (µs) |
| ----- | ------------- | --- |
| TextFieldDisplay | 127 | 83 |
| EmailFieldDisplay | 117 | 83 |
| NumberFieldDisplay | 97 | 56 |
| DateFieldDisplay | 240 | 52 |
| CurrencyFieldDisplay | 236 | 110 |
| FullNameFieldDisplay | 131 | 85 |
| AddressFieldDisplay | 118 | 81 |
| BooleanFieldDisplay | 130 | 100 |
| JSONFieldDisplay | 248 | 49 |
| LinksFieldDisplay | 1180 | 140 |
| LinkFieldDisplay | 140 | 78 |
| MultiSelectFieldDisplay | 770 | 130 |
| SelectFieldDisplay | 230 | 87 |
2024-06-12 18:36:25 +02:00
Siddhant Rai
63578e6480
fix: calendar tile fonts underlined ( #5820 )
...
- fixes #5797
2024-06-11 15:24:23 +02:00
martmull
9f6a6c3282
5622 add a syncemail onboarding step ( #5689 )
...
- add sync email onboarding step
- refactor calendar and email visibility enums
- add a new table `keyValuePair` in `core` schema
- add a new resolved boolean field `skipSyncEmail` in current user
https://github.com/twentyhq/twenty/assets/29927851/de791475-5bfe-47f9-8e90-76c349fba56f
2024-06-05 18:16:53 +02:00
bb7d94a455
Create ESLint rule to discourage usage of navigate() and prefer Link ( #5642 )
...
### Description
Create ESLint rule to discourage usage of navigate() and prefer Link
### Refs
#5468
### Demo


Fixes #5468
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-06-04 17:04:57 +02:00
rostaklein
e49db63f30
accounts page loader as skeleton ( #5702 )
...
fixes https://github.com/twentyhq/twenty/issues/5659
https://github.com/twentyhq/twenty/assets/19856731/aeae6f08-bc6e-4d71-9067-39b6382ebf15
2024-06-03 15:14:08 +02:00
Abdullah and Charles Bochet
d1cbd709bd
Extract typography components from twenty-front to twenty-ui. ( #5466 )
...
Removed the following components from twenty-front and moved them to
twenty-ui.
- H1Title.
- H2Title.
- H3Title.
Moving components in smaller chunks to ease the process of resolving
conflicts.
<img width="1255" alt="image"
src="https://github.com/twentyhq/twenty/assets/125115953/a3953659-5dfd-4d03-a6de-50b064129d55 ">
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-05-22 10:52:35 +02:00
Charles Bochet
a750901582
Remove Feature Flag on Calendar ( #5288 )
...
Remove Calendar feature Flag!
2024-05-03 19:10:33 +02:00
Weiko
2a0c74ab0f
[calendar] Fix calendar sync status ( #5272 )
...
## Context
There is no calendarChannel syncStatus column compared to the
messageChannel table. In the meantime, we are trying to infer its status
based on the fact that the connection hasn't failed and the sync is
enabled
2024-05-03 15:32:34 +02:00
Charles Bochet
ccd1100773
Fix tests ( #5228 )
...
Fixing typecheck + storybook:modules!
2024-04-30 17:54:07 +02:00
bosiraphael
7c605fc2f9
4002 prevent user from creating twice the same blocklist item ( #5213 )
...
Closes #4002
2024-04-30 14:36:33 +02:00
bosiraphael
907f0a1ea6
Add feature flag gate on calendar settings dropdown and fix queries ( #5221 )
...
- Add feature flag gate on calendar settings dropdown
- Fix find many messages
- Fix connected accounts settings
2024-04-30 14:12:48 +02:00
bosiraphael
d23e02adca
4001 add validation for blocklist ( #5172 )
...
Closes #4001
2024-04-25 15:32:55 +02:00
Orinami Olatunji and Félix Malfait
0ccbdacb5a
feat: Status tags can show loader to complement displayed text ( #5137 )
...
Resolves #5134
https://github.com/twentyhq/twenty/assets/16918891/48475f1b-a61f-4b87-8b9b-1271a183ac4b
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-04-25 10:27:17 +02:00
bosiraphael
8702c71d45
4746 create created listener on blocklist ( #5031 )
...
Closes #4746 for messaging.
I will create another PR to implement the listener on calendar.
2024-04-18 15:06:13 +02:00
Deepak Kumar and Félix Malfait
5c30509d21
GH-4362 Add syncing status ( #4950 )
...
This PR adds a `syncing` status on frontend.
Issue
- #4362
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-04-17 22:06:52 +02:00
Anchit Sinha and bosiraphael
1ab31f4cac
4798-feat(front): Add calendar settings option in settings account dropdown ( #4997 )
...
Closes #4798

---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2024-04-17 17:41:24 +02:00
bosiraphael
3024e04a1c
4971 add issyncenabled toggle in messaging settings ( #4995 )
...
- Closes #4971
- Fix calendar import to take isSyncEnabled into account
2024-04-17 13:35:23 +02:00
bosiraphael
d7d9f0c16b
Fix ParticipantChip and stories imports ( #4974 )
...
- Fix ParticipantChip
- Fix stories imports after some component have been moved to twenty UI
2024-04-15 18:09:05 +02:00
Thaïs
9f83cc1426
refactor: move @/ui/display/icon to twenty-ui ( #4820 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
Part of https://github.com/twentyhq/twenty/issues/4766
2024-04-12 15:30:48 +02:00
bosiraphael
018b9efc2c
4743 use auth google apis callback url instead of messaging provider gmail callback url ( #4838 )
...
Closes #4743
2024-04-08 14:56:12 +02:00
Thaïs and Lucas Bordeau
c5349291c8
chore: setup twenty-ui absolute path alias ( #4732 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
- Setup `@ui/*` as an internal alias to reference `twenty-ui/src`.
- Configures twenty-front to understand the `@ui/*` alias on development
mode, so twenty-ui can be hot reloaded.
- When building on production mode, twenty-front needs twenty-ui to be
built beforehand (which is automatic with the `dependsOn` option).
- Configures twenty-front to understand the `@ui/*` alias when launching
tests, so there is no need to re-build twenty-ui for tests.
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-04-04 15:38:01 +02:00
bosiraphael
ffb1733f39
Fix invalid token after credentials change ( #4717 )
...
- If sync fails we set authFailedAt
- This information is displayed in the frontend in accounts with a `Sync
Failed` pill
- The user can reconnect his account in the dropdown menu
- A new OAuth flow is triggered
- The account is synced
2024-04-02 11:32:27 +02:00
Thaïs
5d07b6347e
refactor: move Tabler Icon exports to twenty-ui ( #4727 )
...
Split from https://github.com/twentyhq/twenty/pull/4518
2024-04-01 13:15:47 +02:00
Thaïs
c3cc0f651c
feat: add remote object integration databases list card ( #4621 )
...
* feat: add remote object integration databases list card
Closes #4549
* fix: fixes after rebase
2024-03-27 18:59:40 +01:00
Thaïs
2ffe519478
feat: add date format calendar setting ( #4600 )
...
Closes #4184
2024-03-27 15:17:31 +01:00
bosiraphael
77e08daa79
4486 connect settingsaccountscalendars to backend ( #4605 )
...
* add useFindOneRecord and useUpdateOneRecord
* remove mock
* use calendar channel information in display
* renaming
* refactoring
* handleSyncEventsToggle
* improve typing using generics
* modifications after review
* rename components
* renaming
2024-03-27 15:01:00 +01:00
Thaïs
6ab43c608f
feat: create Integrations/IntegrationDetail page ( #4574 )
...
* feat: create Integrations/IntegrationDetail page
Closes #4546
* docs: add Settings/Integrations/Integration Detail page stories
* docs: add Settings/Billing page stories
* refactor: move some Settings components to @/settings
* refactor: move some Settings integrations components to @/settings/integrations
2024-03-25 18:06:46 +01:00
Charles Bochet
cfb0cce9b8
Refactor Views by cleaning the code, relying on apolloCache and improving performances ( #4516 )
...
* Wip refactoring view
* Post merge conflicts
* Fix review
* Add create view capability
* Fix create object missing view
* Fix tests
2024-03-20 14:21:58 +01:00