Raphaël Bosi
acc3aa6df5
Destroy connected account when deleting workspace member ( #9484 )
...
Closes #9114
2025-01-09 14:36:45 +01:00
Raphaël Bosi
e62079ab6d
Open emails and calendar events inside command menu ( #9477 )
...
https://github.com/user-attachments/assets/cfc8f85e-d49d-4aa1-a8c2-2410aca19444
2025-01-09 14:09:30 +01:00
Raphaël Bosi
a2f2f4148a
Migrate right drawer record page to the command menu ( #9459 )
...
Closes #9423
https://github.com/user-attachments/assets/0d93f170-8c4f-43ff-a0ca-3d2874d44820
2025-01-09 09:58:14 +01:00
Raphaël Bosi
04f648f7f3
Refactor activate workflow actions ( #9434 )
...
Closes #9407
2025-01-07 14:17:16 +01:00
Raphaël Bosi
9392acbee5
Fix use as draft ( #9413 )
...
Closes #9408
2025-01-07 10:21:00 +01:00
Raphaël Bosi
b433145f80
Fix access to workflow version ( #9335 )
...
Fix access to workflow version
2025-01-03 16:22:18 +01:00
Raphaël Bosi
03b1da82c1
Fix select all ( #9337 )
...
There was a bug when selecting all records on the index page.
This was due to the fact that
`WorkflowRunRecordActionMenuEntrySetterEffect` was mounted when it
shouldn't have been.
2025-01-03 15:13:51 +01:00
Raphaël Bosi
e3f7a0572e
9260 refactor multiple record actions and no selection actions ( #9314 )
...
Closes #9260
- Refactored multiple record actions and no selection record actions to
use config file
- Simplified actions registration logic
- Updated tests
2025-01-02 13:15:27 +01:00
Raphaël Bosi
7388f2bcff
Fix command menu action click ( #9285 )
...
- Fix typing
- Fix onClick
2024-12-30 17:10:58 +00:00
Raphaël Bosi
1091bc657d
Command menu refactoring ( #9257 )
...
Refactored the `CommandMenu` component to make it more readable and
easier to refactor.
The file was way too big so I introduced a few hooks and eliminated code
duplication.
Introduced:
- `useMatchCommands` hook to match commands with the search
- `useCommandMenuCommands` which returns all command menu commands
- `useMatchingCommandMenuCommands` to return the commands matched with
the search
- `CommandMenuContainer` to simplify the `DefaultLayout`
- Unmounted the `CommandMenu` when it wasn't opened to improve
performances
I also introduced a new behavior: Automatically select the first item
when opening the command menu:
https://github.com/user-attachments/assets/4b683d49-570e-47c9-8939-99f42ed8691c
2024-12-30 15:22:49 +01:00
Raphaël Bosi
522b51581d
Remove delete action from workflow versions and runs ( #9261 )
...
Updated the action configs for workflow versions and workflow runs.
2024-12-27 16:15:10 +01:00
Raphaël Bosi
8668fd2b94
Fix click outside on board ( #9252 )
...
Fixes #9246
Exclude `page-action-container` from click outside listener
2024-12-27 10:04:32 +01:00
Raphaël Bosi
68d47e9543
Fix workflow activate last version ( #9243 )
...
Fix workflow activate last version being displayed when it shouldn't be.
2024-12-26 16:14:04 +01:00
Raphaël Bosi
522c6c2a8c
Fix right drawer actions ( #9241 )
...
https://github.com/user-attachments/assets/107e6058-633f-4caa-967c-7017bef75d52
2024-12-26 14:16:36 +01:00
Raphaël Bosi
1eee99cfd6
Don't register delete multiple records action when deleted filter is active ( #9170 )
...
Don't register delete multiple records action when deleted filter is
active
2024-12-20 15:49:55 +01:00
Raphaël Bosi
d08075f610
Command menu actions fixes ( #9169 )
...
- Fix command menu not closing after executing an action
- Add delete and favorite actions to workflow and workflow versions
2024-12-20 13:42:01 +00:00
Raphaël Bosi
1acf845101
9018 fix batch delete follow ups ( #9166 )
...
Follow ups on #9018
2024-12-20 11:41:09 +01:00
Raphaël Bosi
925294675c
9018 fix batch delete ( #9149 )
...
Closes #9018
2024-12-20 10:46:24 +01:00
Raphaël Bosi
a0b5720831
Fix modals being unregistered inside command menu ( #9155 )
...
Fix modals being unregistered inside command menu
2024-12-20 10:45:22 +01:00
Raphaël Bosi
b033a50d7c
8978 add navigation inside the command menu for showpage ( #9103 )
...
Closes #8978
- Added new options in the actions config files: `shortLabel`,
`availableOn`
- Added two actions: Navigate to previous records and Navigate to next
records
- Modified `useRecordShowPagePagination` to loop on records when we are
on first record and we hit previous or when we are on last record and we
hit next
- Introduced a new component state
`contextStoreCurrentViewTypeComponentState`
2024-12-17 16:48:12 +00:00
Raphaël Bosi
8ce6f6daea
Refactored all single record actions ( #9045 )
...
## Context
Refactored all single record actions so they can be defined by a config
file.
This refactoring is made with the idea that later the actions will be
stored in the database, so we needed a way to serialize them.
For each object we can define a config file, if an object has no config
file, it falls back to the default config.
I introduced action hooks, which return:
- `shouldBeRegistered`: `boolean` Whether the action should be
registered.
- `onClick`: `() => void` The code that will be executed when we click
on an action
- `ConfirmationModal`?: `React.ReactNode` (optional) The confirmation
modal which will be displayed on click
This PR also closes #8973
## Next steps
- Refactor multiple records actions
- Refactor no selection actions
- Add tests
2024-12-16 16:30:18 +01:00
Raphaël Bosi
2c4a77a7b7
Refactor RecordShowActionMenu to use contextual actions ( #9023 )
...
Closes #8736
2024-12-11 15:24:02 +00:00
Raphaël Bosi
ad04040ea6
8976 modify mobile page header ( #9020 )
...
Closes #8976
2024-12-11 15:06:09 +01:00
Raphaël Bosi
5c60a5511e
8929 move recordindexactionmenu menu inside the recordindexpageheader ( #9007 )
...
Closes #8929
Users with the feature flag `IS_PAGE_HEADER_V2_ENABLED` set to false
will still have the old behavior with the action bar.
To test the PR, test with and without the feature flag.
2024-12-11 11:51:33 +01:00
Raphaël Bosi
90d47a8fca
Fix favorite button ( #9001 )
...
Closes #8977
2024-12-10 15:20:37 +01:00
Raphaël Bosi
f0dbeea704
Remove buttons for activity empty state ( #8999 )
...
Before:
<img width="482" alt="Capture d’écran 2024-12-10 à 11 17 53"
src="https://github.com/user-attachments/assets/3641e902-10b9-4fbf-8383-d6e5d5b2de79 ">
After:
<img width="453" alt="Capture d’écran 2024-12-10 à 11 33 01"
src="https://github.com/user-attachments/assets/9f949933-0740-4c91-abf3-2c1817a68968 ">
2024-12-10 11:09:40 +00:00
Raphaël Bosi
c553361f25
Fix RecordDetailSectionHeader spacing ( #8997 )
...
Before:
<img width="339" alt="Capture d’écran 2024-12-10 à 11 02 30"
src="https://github.com/user-attachments/assets/4fd1d598-0efe-4ee9-931e-dd307af21c95 ">
After:
<img width="345" alt="Capture d’écran 2024-12-10 à 11 02 19"
src="https://github.com/user-attachments/assets/fb72a661-ac66-43c7-906c-9020171dbf3b ">
2024-12-10 11:16:45 +01:00
Raphaël Bosi
d70987653b
8964 add feature flag is page header v2 enabled ( #8995 )
...
Closes #8964
2024-12-10 10:56:28 +01:00
Raphaël Bosi
387f5259a7
8928 refactor page header buttons ( #8952 )
...
Closes #8928
<img width="1296" alt="Capture d’écran 2024-12-09 à 10 26 37"
src="https://github.com/user-attachments/assets/f33202b0-9c11-48da-8daa-e867d62a1803 ">
<img width="1296" alt="Capture d’écran 2024-12-09 à 10 26 54"
src="https://github.com/user-attachments/assets/a94f89d4-ca12-403f-bfcb-12168a82f77c ">
2024-12-09 10:55:33 +01:00
Raphaël Bosi
9c67a109af
Fix SingleRecordSelectMenuItemsWithSearch ( #8932 )
...
- Fix all fields being selected when opening dropdown
- Fix not being able to set back to no selection when a record is
selected and there is only one record to select
Before:
https://github.com/user-attachments/assets/31185a05-7e1a-4550-aa2a-591683934224
After:
https://github.com/user-attachments/assets/e3cd388b-44de-42e2-970b-b4d4f31253bc
2024-12-06 17:41:58 +01:00
Raphaël Bosi and Weiko
229a93e41a
Fix advanced settings icon tool and right bar alignment ( #8910 )
...
Before:
<img width="253" alt="Capture d’écran 2024-12-05 à 18 27 58"
src="https://github.com/user-attachments/assets/73f943d9-d5be-4f0c-8b65-a2c0a8420b80 ">
After:
<img width="233" alt="Capture d’écran 2024-12-05 à 18 27 45"
src="https://github.com/user-attachments/assets/e3992655-fd1f-4748-91e7-3f4e3a2a5fda ">
Co-authored-by: Weiko <corentin@twenty.com >
2024-12-06 15:37:46 +00:00
Raphaël Bosi
a8867fd090
Remove advanced settings wrapper from security page ( #8912 )
...
Before:
Without advanced settings toggled:
<img width="1512" alt="Capture d’écran 2024-12-05 à 19 12 53"
src="https://github.com/user-attachments/assets/efe550e2-5b7f-483f-9726-254acefb2872 ">
With advanced settings toggled:
<img width="1512" alt="Capture d’écran 2024-12-05 à 19 13 01"
src="https://github.com/user-attachments/assets/2fab6843-5be1-4d5b-83c4-94c22c85d4d3 ">
After:
Without advanced settings toggled:
<img width="1512" alt="Capture d’écran 2024-12-05 à 19 12 34"
src="https://github.com/user-attachments/assets/72d87281-3822-42d7-816b-403724052678 ">
With advanced settings toggled:
<img width="1512" alt="Capture d’écran 2024-12-05 à 19 12 26"
src="https://github.com/user-attachments/assets/34c87be4-d528-41a8-b269-e274939a75c7 ">
2024-12-06 00:17:47 +01:00
Raphaël Bosi
c23896c5dc
Fix dropdown overflow ( #8907 )
...
Fixes:
<img width="267" alt="Capture d’écran 2024-12-03 à 14 59 24"
src="https://github.com/user-attachments/assets/73278208-25d2-4225-a632-eb37cc69fcd6 ">
2024-12-05 18:12:59 +01:00
Raphaël Bosi
de56c01206
8733 refactor gmailhandleerrorservice ( #8901 )
...
Closes #8733
- Refactor `GmailHandleErrorService`
- Add tests and mocks for the errors
2024-12-05 17:57:57 +01:00
Raphaël Bosi
078e23154a
Update messaging and calendar doc ( #8869 )
...
Update messaging and calendar doc
2024-12-04 17:30:50 +01:00
Raphaël Bosi
743169a260
Fix message participant assignation bug ( #8857 )
...
Closes #8846
2024-12-03 23:27:08 +01:00
Raphaël Bosi and Charles Bochet
32194a88b3
Implement contextual actions for the workflows ( #8814 )
...
Implemented the following actions for the workflows:
- Test Workflow
- Discard Draft
- Activate Draft
- Activate Workflow Last Published Version
- Deactivate Workflow
- See Workflow Executions
- See Workflow Active Version
- See Workflow Versions History
And the following actions for the workflow versions:
- Use As Draft
- See Workflow Versions History
- See Workflow Executions
Video example:
https://github.com/user-attachments/assets/016956a6-6f2e-4de5-9605-d6e14526cbb3
A few of these actions are links to the relations of the workflow object
(link to a filtered table). To generalize this behavior, I will create
an hook named `useSeeRelationsActionSingleRecordAction` to automatically
generate links to a showPage if the relation is a Many To One or to a
filtered table if the relation is a One to Many for all the record
types.
I will also create actions which will allow to create a relation.
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-12-03 12:09:51 +01:00
Raphaël Bosi
05149feb00
Do not mount the command menu when the user is logged out ( #8808 )
...
Fixes two bugs:
- The command menu contains hooks which were trying to execute queries
even when the user was logged out
- The command menu could be opened with the command + K shortcut even
when the user was logged out
2024-11-29 12:19:58 +01:00
Raphaël Bosi
b857d45182
Add ongoing stale crons commands to doc ( #8776 )
...
Add ongoing stale crons commands to doc
2024-11-28 17:26:07 +01:00
Raphaël Bosi
541bbb93cb
Fix: Put workflow run actions behind feature flag ( #8798 )
...
Fix: Put workflow run actions behind feature flag
2024-11-28 17:21:46 +01:00
Raphaël Bosi
33159e29b7
Put workflow run actions behind feature flag ( #8796 )
...
Put workflow run actions behind feature flag
2024-11-28 16:03:34 +01:00
Raphaël Bosi
a9cb1e9b0d
Refactor actions ( #8761 )
...
Closes #8737
- Refactored actions by creating hooks to add the possibility to
register actions programatically.
- Small fixes from #8610 review
- Fixed shortcuts display inside the command menu
- Removed `actionMenuEntriesComponentState` and introduced
`actionMenuEntriesComponentSelector`
2024-11-27 15:08:27 +01:00
Raphaël Bosi
0d6a6ec678
8764 incorrect email sorting ( #8768 )
...
Closes #8764
2024-11-27 10:11:57 +01:00
Raphaël Bosi
12467d67c8
Remove pg-boss from doc and .env.example ( #8766 )
...
Remove pg-boss from doc and .env.example
2024-11-26 17:10:05 +01:00
Raphaël Bosi
08f163592b
Gmail error handling fixes ( #8732 )
...
Gmail error handling fixes
2024-11-26 11:22:03 +01:00
Raphaël Bosi
f44e2935df
Fix filter multi select ( #8682 )
...
- Created a dropdown inside a dropdown for the
`ObjectFilterDropdownOperandDropdown` so the operand can be opened over
the selection with an offset
- Refactored dropdown component and introduced `DropdownUnmountEffect`
to close the dropdown when the component unmounts
- Removed old logic
Before:
<img width="216" alt="Capture d’écran 2024-11-22 à 14 03 58"
src="https://github.com/user-attachments/assets/3c1bba03-af03-4993-a070-f009b8dc876f ">
After:
<img width="222" alt="Capture d’écran 2024-11-22 à 14 03 40"
src="https://github.com/user-attachments/assets/a8a784b4-8672-4b02-bb21-e4a749682f2e ">
2024-11-22 14:08:29 +00:00
Raphaël Bosi
8f5515cab3
8414 add records selection context inside the command menu ( #8610 )
...
Closes #8414
https://github.com/user-attachments/assets/a6aeb50a-b57d-43db-a839-4627c49b4155
2024-11-21 17:56:53 +01:00
Raphaël Bosi
b8c01bcf5a
Fix empty state not being centered ( #8650 )
...
Fix empty state not being centered
Before:
<img width="1512" alt="Capture d’écran 2024-11-21 à 15 50 56"
src="https://github.com/user-attachments/assets/8ea843b6-dce3-46d9-b2e3-db3be39e0cc1 ">
After:
<img width="1512" alt="Capture d’écran 2024-11-21 à 15 50 41"
src="https://github.com/user-attachments/assets/b18d306a-ccea-489f-941f-086d816d3a79 ">
2024-11-21 16:28:07 +01:00
Raphaël Bosi
aae18a94c5
Fix action menu padding ( #8652 )
...
Before:
<img width="211" alt="Capture d’écran 2024-11-21 à 16 10 29"
src="https://github.com/user-attachments/assets/f13be007-e043-4b65-8fb1-b7264f7b37fd ">
After:
<img width="218" alt="Capture d’écran 2024-11-21 à 16 10 10"
src="https://github.com/user-attachments/assets/3fdf02b1-f932-4e72-8994-7596f6e22164 ">
2024-11-21 16:27:50 +01:00
Raphaël Bosi
24c0b0f873
Remove "When no records are selected" actions on record page ⌘O ( #8575 )
...
Closes #8566
- Introduce the concept of scope for an ActionMenuEntry, scope is either
`global` or `record-selection`
2024-11-20 14:33:16 +01:00
Raphaël Bosi
ac72f8a271
Fix workflow actions not being selectable with arrow keys ( #8576 )
...
https://github.com/user-attachments/assets/c108b60b-030e-4eef-a30f-fab472ea60a9
2024-11-19 16:01:28 +01:00
Raphaël Bosi
9810c5b6f2
Update ShowPageMoreButton to open the command menu when clicked ( #8565 )
...
https://github.com/user-attachments/assets/6e269391-8ea2-4146-8e86-7e75c84982f4
2024-11-18 17:44:23 +01:00
Raphaël Bosi
e8bf81de5b
8172 update the right drawer action menu to open with command o ( #8375 )
...
Closes #8172
- Added a shortcut property to the button component
- Displays the actions inside a dropdown
- The dropdown is toggled either by clicking on the button or with the
`command + O` shortcut
https://github.com/user-attachments/assets/4c4c88fa-85dc-404e-bb42-f2b0d57c8960
2024-11-08 17:08:09 +01:00
Raphaël Bosi
5a53ef1ade
Make filters work on export csv action ( #8389 )
...
- Create a new component state `contextStoreFiltersComponentState` and
refactor `contextStoreTargetedRecordsRuleComponentState`
- Refactor `computeContextStoreFilters` to use filters when no records
are selected
2024-11-08 15:38:45 +01:00
Raphaël Bosi
aa270950d9
Make csv export unavailable when only one record is selected ( #8409 )
...
Make csv export unavailable when only one record is selected
2024-11-08 14:50:04 +01:00
Raphaël Bosi
f9a136ab6d
Update CanAccessMessageThreadService ( #8388 )
...
Trying to fix #7830
2024-11-07 17:32:41 +01:00
Raphaël Bosi
fb22efd9e9
Fix CalendarOngoingStaleJob being in wrong queue ( #8385 )
...
Fix CalendarOngoingStaleJob being in the wrong queue
(`MessageQueue.messagingQueue` instead of `MessageQueue.calendarQueue`)
2024-11-07 17:29:00 +01:00
Raphaël Bosi
a6007d4376
Fix action menu dropdown ( #8368 )
...
Fix action menu dropdown not closing when clicking outside the table or
board and introduce helper functions to get the action menu component
ids.
2024-11-06 16:11:31 +01:00
Raphaël Bosi
7f51eb8c3c
Add the possibility to run workflows with manual trigger from the command K with no records selected ( #8342 )
...
https://github.com/user-attachments/assets/9f094439-8d19-4a6b-883b-456294f691d8
2024-11-06 11:43:18 +01:00
Raphaël Bosi
9e051d7900
8304 - Fix Action Menu Buttons Alignment ( #8348 )
...
Closes #8304
The position of the modal container wasn't absolute, so the gap was also
applied after the `ShowPageMoreButton`
2024-11-05 18:19:01 +01:00
Raphaël Bosi
d1531aa1b6
8191 command k workflow trigger for selected record ( #8315 )
...
Closes #8191
https://github.com/user-attachments/assets/694da229-cc91-4df2-97a0-49cd5dabcf12
2024-11-05 13:37:29 +01:00
Raphaël Bosi and Charles Bochet
9b0c74251f
Fix actions setter when opening the command menu ( #8263 )
...
Fix standard actions overriding navigate and create commands when
opening the command menu.
Before fix:
<img width="493" alt="Capture d’écran 2024-10-31 à 18 08 56"
src="https://github.com/user-attachments/assets/015bd798-baa4-4f84-8886-e355c0ef1455 ">
After fix:
<img width="499" alt="Capture d’écran 2024-10-31 à 18 08 34"
src="https://github.com/user-attachments/assets/02ba7fc4-ec90-4c13-9830-d884c0da37d9 ">
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-11-05 11:01:08 +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
Raphaël Bosi
b1a96e2e04
Fix logged out scopeId error ( #8250 )
...
Fix logged out scopeId error
2024-10-31 15:01:54 +01:00
Raphaël Bosi
b1e9922660
Fix context store filters ( #8236 )
...
Fix context store filters
2024-10-31 11:51:51 +01:00
Raphaël Bosi
7a5d52e88d
Update action menu bar ( #8178 )
...
Closes #8023
2024-10-30 17:22:42 +01: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
Raphaël Bosi
6843a642b5
7499 refactor right drawer to have contextual actions ( #7954 )
...
Closes #7499
- Modifies context store states to be component states
- Introduces the concept of `mainContextStore` which will dictate the
available actions inside the command K
- Adds contextual actions inside the right drawer
- Creates a new type of modal variant
2024-10-22 18:35:45 +02:00
Raphaël Bosi and Charles Bochet
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
Raphaël Bosi
7e7784f444
Fix icon button disabled border ( #7607 )
...
<img width="538" alt="Capture d’écran 2024-10-11 à 17 34 22"
src="https://github.com/user-attachments/assets/c4a0dfb9-65cc-453a-af4b-476acf063504 ">
2024-10-11 18:08:12 +02:00
Raphaël Bosi
0cb9853a55
Fix DropdownMenuInput border ( #7603 )
...
<img width="213" alt="Capture d’écran 2024-10-11 à 16 52 27"
src="https://github.com/user-attachments/assets/c4b171e7-9df1-4b75-8cbe-25a2672d7211 ">
<img width="167" alt="Capture d’écran 2024-10-11 à 16 52 18"
src="https://github.com/user-attachments/assets/9a853e0e-d50a-4d6a-9c27-789fdd2df0ac ">
2024-10-11 17:03:57 +02:00
Raphaël Bosi
3761fbf86f
Refactor action menu ( #7586 )
...
Introduces effects to set the actionMenuEntries
2024-10-11 15:25:35 +02:00
Raphaël Bosi
a7d5aa933d
7338 refactor actionbar and contextmenu to use the context store ( #7462 )
...
Closes #7338
2024-10-10 13:26:19 +02:00
Raphaël Bosi
a8da0e2bc8
7336 create contextstore ( #7374 )
...
Closes #7336
Create 3 states:
- `contextStoreCurrentObjectMetadataIdState`: is set when we change
object metadata
- `contextStoreCurrentViewIdState`: is set when we change view
- `contextStoreTargetedRecordIdsState`: is set when we select records
inside a table or a board or when a show page is opened. Is reset when
we change view.
2024-10-08 18:40:35 +02:00
Raphaël Bosi
e042711f34
Fixes on messaging and calendar ( #7485 )
...
Fix syncedAt no longer been set on message sync.
Fix calendar data model:
- Add `syncedAt` to `CalendarChannelWorkspaceEntity`
- Move `recurringEventExternalId` from `CalendarEventWorkspaceEntity` to
`CalendarChannelEventAssociationWorkspaceEntity` since the id is
relative to one channel
Fix save queries on calendar sync after regression.
2024-10-08 13:44:16 +02:00
Raphaël Bosi and Charles Bochet
33d5a57ea2
6694 remove raw queries from connected account ( #7101 )
...
Closes #6694
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-08 13:31:44 +02:00
Raphaël Bosi and Charles Bochet
23e7958218
Fix syncStageStartedAt not correctly set ( #7436 )
...
Fix syncStageStartedAt not correctly set
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-10-05 00:44:52 +02:00
Raphaël Bosi
942281f4b0
Fix email migration ( #7298 )
...
Checks if person standard email field exists before running the
migration.
2024-09-27 17:20:15 +02:00
Raphaël Bosi
9f477129e2
Fix use object metadata item ( #7297 )
...
Fixes a bug which happened during workspace creation and remove
duplicated code
2024-09-27 16:42:35 +02:00
Raphaël Bosi
c9c2f32922
7154 deleted event is not emitted when calling destroyone ( #7159 )
...
Closes #7154
2024-09-27 15:52:04 +02:00
Raphaël Bosi
0e375d9021
Add phone fields migration command to 0 30 ( #7269 )
...
Add phone fields migration command to 0 30
2024-09-26 15:26:58 +02:00
Raphaël Bosi
3d5ecc9c08
7242 error when displaying message threads with a large number of participants ( #7251 )
...
Closes #7242
2024-09-25 16:53:18 +02:00
Raphaël Bosi
b83f0f46e5
Add try catch around messaging monitoring cron and fix decorators ( #7207 )
...
Add try catch around messaging monitoring cron and fix
decorators:`@Process` and `@SentryCronMonitor` were inverted.
2024-09-24 16:29:05 +02:00
Raphaël Bosi
4d31995564
Remove shouldUseEmailsField ( #7208 )
...
Remove shouldUseEmailsField. This boolean was used to ensure
retro-compatibility with the old email field. It is no longer needed.
2024-09-24 16:03:43 +02:00
Raphaël Bosi
20d06b3c0f
7182 person avatar is not the same color in emails and calendar ( #7185 )
...
Fixes #7182 and displayName in calendar
2024-09-21 00:35:39 +02:00
Raphaël Bosi
6a5f9492d3
7142 make messaging full message list fetch idempotent ( #7148 )
...
- Add message deletion and thread cleaning during full message list
fetch
- Add thread cleaning during partial message list fetch
- Delete provider from cache key
2024-09-19 18:32:25 +02:00
Raphaël Bosi
1d56ace2af
Fix sync statuses on the fe ( #7117 )
...
Follows #6685
2024-09-18 18:46:39 +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
66456828ab
7059 Fix email loading in the timeline ( #7116 )
...
Fixes #7059
2024-09-18 14:37:23 +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
Raphaël Bosi
f1264fda76
Fix: Set sync stage started at when starting sync ( #7046 )
...
Fix:`syncStageStartedAt` was not set correctly after refactoring
2024-09-16 15:10:53 +02:00
Raphaël Bosi
833832525c
Create command to set stale message sync back to pending ( #7048 )
...
Some message channels are stuck in an ongoing `syncStage` because
`syncStartedAt` was not set correctly at the beginning of the sync.
This command resets message channels with an ongoing `syncStage` and
`syncStartedAt` set to null.
2024-09-16 15:10:42 +02:00
Raphaël Bosi and Charles Bochet
cd66ea74a2
6657 Refactor and fix blocklist ( #6803 )
...
Closes #6657
- Fix listeners
- Refactor jobs to take array of events
- Fix calendar events and messages deletion
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-08-31 16:38:47 +02:00
Raphaël Bosi
e7bbc7ddfc
Fix participant listeners ( #6767 )
...
Fixes a bug where all the messagesParticipants and the
calendarEventParticipants were linked to a contact after its
restoration.
2024-08-28 16:26:08 +02:00
Raphaël Bosi
da23ca3c23
Fix message direction seeds ( #6760 )
...
Direction is now on mcma and no longer on message
2024-08-28 13:03:00 +02:00
Raphaël Bosi and Charles Bochet
e6a55f270b
5617 Create CalendarOngoingStaleCron Job ( #6748 )
...
Closes #5617
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-08-27 19:13:15 +02:00
Raphaël Bosi
e771793626
6655 remove field direction in message and add it in mcma ( #6743 )
...
Closes #6655
- Remove direction from message
- Add direction do mcma
- Create migration command
- Create upgrade 0.24
2024-08-27 19:11:04 +02:00
Raphaël Bosi and Charles Bochet
81fa3f0c41
6256 refactor messaging module to remove all provider specific code and put it inside the drivers folders ( #6721 )
...
Closes #6256
Closes #6257
+ Create custom exceptions
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-08-27 18:14:45 +02:00
Raphaël Bosi and Charles Bochet
1eeeae8564
6686 Add try catch on every cron job, and send exception to exceptionHandler ( #6705 )
...
Closes #6686
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-08-22 18:23:05 +02:00