Raphaël Bosi
dfc1bb7c29
361 create a navigation stack for the command menu ( #9995 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/361
- Created navigation stack state
- Created navigation functions inside the `useCommandMenu` hook
- Added tests
2025-02-04 15:47:43 +01:00
Raphaël Bosi
49e4484937
324 add search records as a fallback action in case of no results ( #9976 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/324
Fixed typos: 'No results' is used when multiple results are expected and
'No result' is used when only one result is expected.
https://github.com/user-attachments/assets/e3655ced-465a-44b1-92af-63878b9d8a94
2025-02-03 15:54:24 +01:00
Raphaël Bosi
d9b86475d3
323 add object name inside the search ( #9962 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/323
Before:
<img width="495" alt="Capture d’écran 2025-01-31 à 18 11 56"
src="https://github.com/user-attachments/assets/dd1d3ac1-6c97-4398-b233-d323eeacdbb9 "
/>
After:
<img width="500" alt="Capture d’écran 2025-01-31 à 18 09 58"
src="https://github.com/user-attachments/assets/68d23990-2d0b-437d-ad2e-a686cdb320e1 "
/>
2025-02-01 08:18:48 +01:00
Raphaël Bosi and Lucas Bordeau
625466f38d
Fix optimistic effect for implicit and filters ( #9935 )
...
The optimistic effect for record creations and updates wasn't working
properly for `and filters` without explicit `and`.
The problem was located inside `isRecordMatchingFilter` which didn't
consider implicit `and filters` as `and filters`. This caused queries to
be updated by the optimistic effect even if they didn't match the root
query filter.
I also removed `fetchPolicy: 'cache-and-network'` from a query. This was
a temporary fix for this issue.
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2025-01-30 17:31:02 +01:00
Raphaël Bosi
ce296fae4f
Add search records actions to the command menu ( #9892 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/253 and
https://github.com/twentyhq/core-team-issues/issues/256 .
- Created `CommandMenuList`, a component used at the root level of the
command menu and inside the search page of the command menu
- Refactored record agnostic actions
- Added shortcuts to the action menu entries (`/` key for the search)
and updated the design of the shortcuts
- Reordered actions at the root level of the command menu
https://github.com/user-attachments/assets/e1339cc4-ef5d-45c5-a159-6817a54b92e9
2025-01-29 17:23:40 +00:00
Raphaël Bosi
04bc42aa47
Improve command menu chip design ( #9915 )
...
Before:
<img width="236" alt="Capture d’écran 2025-01-29 à 17 07 13"
src="https://github.com/user-attachments/assets/edc277f3-3e50-405a-9981-3ac63e270f3f "
/>
<img width="259" alt="Capture d’écran 2025-01-29 à 17 07 23"
src="https://github.com/user-attachments/assets/81863c50-5b96-4cbf-bc15-ab437d839fa1 "
/>
<img width="224" alt="Capture d’écran 2025-01-29 à 17 07 41"
src="https://github.com/user-attachments/assets/c0783544-6928-4b05-bf86-66d37ddca5e5 "
/>
After:
<img width="230" alt="Capture d’écran 2025-01-29 à 17 03 49"
src="https://github.com/user-attachments/assets/c47be446-32fa-40d1-af25-207ed91c0ea2 "
/>
<img width="254" alt="Capture d’écran 2025-01-29 à 17 04 15"
src="https://github.com/user-attachments/assets/99b9ab30-c77d-4392-8ef6-2a1a5fb00047 "
/>
<img width="218" alt="Capture d’écran 2025-01-29 à 17 04 37"
src="https://github.com/user-attachments/assets/6e214a42-438d-495f-9855-fd5397fcc6d3 "
/>
2025-01-29 16:37:59 +00:00
Raphaël Bosi
ff41768e8f
250 implement restore context button on command menu ( #9836 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/250
https://github.com/user-attachments/assets/9c120188-497d-4273-9137-f8d0de3bd884
2025-01-24 16:10:02 +01:00
Raphaël Bosi
337b6a86ab
251 create top bar chips inside the command menu ( #9809 )
...
Closes #https://github.com/twentyhq/core-team-issues/issues/251
https://github.com/user-attachments/assets/065c97fe-1daf-4b48-9d57-6bbb96d24ede
2025-01-23 14:44:21 +01:00
Raphaël Bosi
8213995887
Open showpage on workflow creation ( #9714 )
...
- Created an new component state
`isRecordEditableNameRenamingComponentState`
- Updated `useCreateNewTableRecord` to open the ShowPage on workflow
creation
- Refactored `RecordEditableName` and its components to remove the
useEffect (This was causing the recordName state to be updated after the
focus on `NavigationDrawerInput`, but we want the text so be selected
after the update).
- Introduced a new component `EditableBreadcrumbItem`
- Created an autosizing text input: This is done by a hack using a span
inside a div and the input position is set to absolute and takes the
size of the div. There are two problems that I didn't manage to fix:
If the text is too long, the title overflows, and the letter spacing is
different between the span and the input creating a small offset.
https://github.com/user-attachments/assets/4aa1e177-7458-4691-b0c8-96567b482206
New text input component:
https://github.com/user-attachments/assets/94565546-fe2b-457d-a1d8-907007e0e2ce
2025-01-22 14:44:10 +01:00
Raphaël Bosi
b81ffcc77c
Add viewId to recordIndexId ( #9647 )
...
Before the `recordIndexId` was the name plural. This caused problems
because the component states were the same for every view of an object.
When we switched from one view to another, some states weren't reset.
This PR fixes this by:
- Creating an effect at the same level of page change effect to set the
`currentViewId` inside the object `contextStore`
- Adding the `currentViewId` to the `recordIndexId`
Follow ups:
- We need to get rid of
`packages/twenty-front/src/modules/views/states/currentViewIdComponentState.ts`
and use the context store instead
2025-01-16 18:41:19 +01:00
Raphaël Bosi
0ff8637469
Add create new record action to workflows ( #9692 )
...
- Added create new record action to `WorkflowActionsConfig`
As @FelixMalfait suggested
[here](https://github.com/twentyhq/core-team-issues/issues/72 ), we
should introduce an inheritance system for actions.
2025-01-16 17:10:16 +01:00
Raphaël Bosi
77a11d30d3
Make calendar event details readonly ( #9638 )
...
Before:
https://github.com/user-attachments/assets/870aee34-58b4-48bc-b90f-ce17d61da26e
After:
https://github.com/user-attachments/assets/498d46f9-bd4e-400f-a645-076a86999479
2025-01-15 15:30:45 +01:00
Raphaël Bosi
ff93fd3c74
190 display ctrl instead of for windows users ( #9617 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/190
<img width="226" alt="Capture d’écran 2025-01-15 à 12 07 12"
src="https://github.com/user-attachments/assets/b9a13746-2629-477a-9795-cda03c63f8f6 "
/>
To test, update the user agent in your browser dev tools:
<img width="459" alt="Capture d’écran 2025-01-15 à 12 14 29"
src="https://github.com/user-attachments/assets/4371d5fc-fd3c-403d-beaa-7ba58019d3c9 "
/>
2025-01-15 12:53:18 +00:00
Raphaël Bosi
5fb6b18b18
77 create new record action and remove old behavior ( #9598 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/77
2025-01-15 11:39:37 +01:00
Raphaël Bosi
8fb9cb4f5f
Fix command menu avatar url ( #9611 )
...
Closes #9488
2025-01-14 15:37:14 +00:00
Raphaël Bosi
739611afa8
Migrate copilot to command menu ( #9522 )
...
Open copilot chat inside command menu
https://github.com/user-attachments/assets/60d83a77-6e96-4daa-98b0-33b7c1157d9a
2025-01-13 17:12:31 +01:00
Raphaël Bosi
530a18558b
9426 migrate workflow pages to command menu ( #9515 )
...
Closes twentyhq/core-team-issues#53
- Removes command menu top bar text input when the user is not on root
page
- Fixes bug when resetting command menu context
- Added animations on command menu open and close
- Refactored workflow visualizer code to remove unnecessary rerenders
and props drilling
https://github.com/user-attachments/assets/1da3adb8-220b-407b-9279-30354d3100d3
2025-01-13 16:53:57 +01:00
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