4ce607869e
[CHORE] TypeScript Lingui configuration file ( #11021 )
...
# Introduction
We want theses configurations to be strictly typed but needed as in
https://github.com/twentyhq/twenty/pull/10960 will browse through all
TypeScript files within the codebase
2025-03-19 12:05:55 +01:00
7065f6f15d
i18n - translations ( #11020 )
...
Created by Github action
---------
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-19 11:59:34 +01:00
1ecc5e2bf6
Limit nodes opened by default in the JSON Tree component ( #11002 )
...
- Add a parameter to choose which nodes to open by default
- On the Admin Panel, open all nodes by default
- On the Workflow Run step output, open only the two first depths
- On the Workflow Run step input, open only the previous step first
depth
- Display `[empty string]` when a node is an empty string
- Now, display `null` instead of `[null]`
## Demo
https://github.com/user-attachments/assets/99b3078a-da3c-4330-b0ff-ddb2e360d933
Closes https://github.com/twentyhq/core-team-issues/issues/538
2025-03-19 11:44:34 +01:00
15a2cb5141
Update playwright ( #10927 )
...
Update twenty-e2e-testing to reflect actual state of app
2025-03-19 11:29:36 +01:00
ecc21656cb
i18n - translations ( #11019 )
...
Created by Github action
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-19 11:20:44 +01:00
62a58816e3
Fix view groups update after field metadata update ( #10995 )
...
This PR fixes a difficult to reproduce bug, where a race condition
appears if we go back to a table with view groups before the update
field metadata logic finishes its work.
In order to reproduce this bug on localhost, you'll have to simulate a
slow network in your browser.
The problem was that the view groups are initialized only once by
useLoadRecordIndexStates, in an effect component :
RecordIndexLoadBaseOnContextStoreEffect. And that this component as an
internal state loadedViewId, which prevents subsequent updates of view
groups by useLoadRecordIndexStates, because it considers that loading
already happened, even if it's actually stale data.
So instead of creating other states to burden the effect component with
complex state management, the solution was to add the only needed update
in a synchronous way directly in updateOneFieldMetadataItem logic. This
way we are sure that our boards and tables with view groups get updated
eventually, for each field metadata update, even if the requests take
time.
Fixes https://github.com/twentyhq/twenty/issues/10947
Fixes https://github.com/twentyhq/twenty/issues/10944
2025-03-19 11:13:14 +01:00
7921ee5216
Stop emitting update event if before===after ( #11004 )
...
as title
2025-03-19 10:49:21 +01:00
ca9c070945
Fix activity ( #11015 )
...
Deprecating unused states and making sure that the ActivityRichText
editor loads when activity.bodyV2 is present
2025-03-19 10:45:11 +01:00
117a961622
Fix activity content not properly loaded
2025-03-19 00:45:02 +01:00
a4bd00ae29
Remove opportunity specific code on Kanban ( #11000 )
...
In this PR:
- clean board from opportunity specific logic
- remove in place creation in board
- trigger creation in right drawer instead
2025-03-18 23:54:40 +01:00
d47debaff6
i18n - translations ( #11010 )
...
Created by Github action
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-18 21:32:51 +01:00
7546d9b82c
i18n - translations ( #11009 )
...
Created by Github action
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-18 21:20:45 +01:00
841d48b704
Creating records in side panel not working ( #10999 )
...
Fixes https://github.com/twentyhq/core-team-issues/issues/624
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2025-03-18 19:34:50 +01:00
9e83d902d8
[permissions V2] Create and update a custom role (without granularity) ( #11003 )
...
First steps for https://github.com/twentyhq/core-team-issues/issues/595
and https://github.com/twentyhq/core-team-issues/issues/621
Not handling granular permissions through objectPermissions and
settingsPermissions next; will come next !
2025-03-18 18:42:30 +01:00
489cc13fd9
i18n - translations ( #11005 )
...
Created by Github action
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-18 18:01:11 +01:00
c3a9c85265
Update 'Settings Permissions' Layout ( #10997 )
...
Fixes https://github.com/twentyhq/core-team-issues/issues/566
## Before
<img width="712" alt="Screenshot 2025-03-18 at 17 17 38"
src="https://github.com/user-attachments/assets/5c2dd8c6-e0cc-4610-b858-071d50de692c "
/>
<img width="775" alt="Screenshot 2025-03-18 at 17 17 30"
src="https://github.com/user-attachments/assets/52bdde22-f26d-4698-8138-5f2af28ddd50 "
/>
## After
<img width="949" alt="Screenshot 2025-03-18 at 16 58 31"
src="https://github.com/user-attachments/assets/71b77032-0f5d-452b-b088-7af7e306d0a6 "
/>
<img width="946" alt="Screenshot 2025-03-18 at 16 58 38"
src="https://github.com/user-attachments/assets/dc2ddf95-1622-419a-a35b-3037da7bdd4d "
/>
2025-03-18 17:48:35 +01:00
6acb70d6a9
i18n - translations ( #10998 )
...
Created by Github action
---------
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-18 17:36:49 +01:00
0ce91d84c1
Allow to add and delete fields ( #10990 )
...
- Allow to add a new field
- On field click, display a delete button
- Use id instead of names for fields
https://github.com/user-attachments/assets/4ebffe22-225a-4bae-aa49-99e66170181a
2025-03-18 17:24:52 +01:00
6d517360d1
i18n - translations ( #10994 )
...
Created by Github action
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-18 17:21:25 +01:00
b4412ab3c8
Fix workflow id not being set ( #10989 )
...
The workflow id was not set inside `WorkflowRunVisualizerEffect` and
`WorkflowVersionVisualizerEffect` this PR fixes this
2025-03-18 17:00:56 +01:00
2680f1d6be
583 refactor useCommandMenu hook ( #10984 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/583
- Split hook into smaller hooks
- Create tests
2025-03-18 15:37:28 +01:00
324794707a
i18n - translations ( #10988 )
...
Created by Github action
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-18 15:34:51 +01:00
0e8d5728b0
Fix permissionAssignment dropdownMenu max height ( #10987 )
...
HasMaxHeight prop was missing in the dropdown container so the content
was not scrollable
Before
<img width="692" alt="Screenshot 2025-03-18 at 15 18 08"
src="https://github.com/user-attachments/assets/5ab8fd70-5528-4cf8-a526-38afdae1f502 "
/>
After
<img width="703" alt="Screenshot 2025-03-18 at 15 17 59"
src="https://github.com/user-attachments/assets/5bbf4347-c963-4785-948c-8e16272bf067 "
/>
2025-03-18 15:29:05 +01:00
38c6222422
i18n - translations ( #10986 )
...
Created by Github action
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-18 15:20:19 +01:00
eb73838e5d
Fix yarn lock ( #10985 )
2025-03-18 14:57:06 +01:00
1bd3000b5d
Investigate workflow user error ( #10952 )
...
Investigation related to https://github.com/twentyhq/twenty/issues/10868
- throw an error when computedVersion is undefined
2025-03-18 14:24:21 +01:00
a73b440646
i18n - translations ( #10980 )
...
Created by Github action
---------
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-18 14:23:52 +01:00
291d6082c9
refactor(captcha): simplify interval handling in hook ( #10974 )
...
Close #10708
---------
Co-authored-by: Félix Malfait <felix@twenty.com >
2025-03-18 13:23:31 +00:00
6255207aa3
Command menu overflow ellipsis ( #10977 )
...
Fixes https://github.com/twentyhq/core-team-issues/issues/579
2025-03-18 13:21:47 +00:00
be1b877868
Add empty states to settings tables ( #10978 )
...
## Context
Fixes https://github.com/twentyhq/twenty/issues/10964
## Test
<img width="617" alt="Screenshot 2025-03-18 at 12 18 30"
src="https://github.com/user-attachments/assets/dab8738d-d221-4a6b-a72e-061ab5fffb70 "
/>
<img width="647" alt="Screenshot 2025-03-18 at 12 18 25"
src="https://github.com/user-attachments/assets/45466a80-7a80-4cde-a0c5-420cd6c05cb2 "
/>
<img width="637" alt="Screenshot 2025-03-18 at 12 18 19"
src="https://github.com/user-attachments/assets/46a9f27a-bd3a-4e91-9885-668cf780d562 "
/>
<img width="630" alt="Screenshot 2025-03-18 at 12 18 07"
src="https://github.com/user-attachments/assets/e1f805a0-ed7f-4cf2-8f75-78b865bd1ca2 "
/>
<img width="649" alt="Screenshot 2025-03-18 at 12 18 01"
src="https://github.com/user-attachments/assets/e9f3086f-fe97-4f3b-99e0-25249e9dd43b "
/>
2025-03-18 14:18:33 +01:00
ab9498b3de
feat(workspace): delete custom domain on hard workspace delete ( #10975 )
...
Add logic to remove a workspace's custom domain during hard deletion.
Includes tests to verify behavior for both hard and soft deletion cases.
Fix #10351
2025-03-18 14:06:24 +01:00
f5195433f3
Configure Keystatic for release images ( #10889 )
...
- Add validation for the `release` field of the releases collection
- The `release` must follow semver format
- The `slug` matches the `release` by default and must follow semver
format, too
- Order the releases properly
- `0.10.0` appears before `0.3.0`; I made the comparison against
`0000.0010.0000` and `0000.0003.0000`
- Set up images for release's contents
- Refactor the release notes of the version `0.43.0` to be editable in
Keystatic; it will serve as an example
## Demo
https://github.com/user-attachments/assets/d82851e9-11e7-4e27-b645-cf86a93d77bf
2025-03-18 12:45:51 +01:00
eb5fb51c1b
Animate the opening and exiting states of the JSON visualizer ( #10965 )
...
I used `overflow-y: clip` instead of `overflow-y: hidden` because of
this behavior:
> Setting overflow to visible in one direction (i.e. overflow-x or
overflow-y) when it isn't set to visible or clip in the other direction
results in the visible value behaving as auto.
## Demo
https://github.com/user-attachments/assets/b7975c99-58cc-4b63-b420-a54b27752188
Closes https://github.com/twentyhq/core-team-issues/issues/562
2025-03-18 12:05:10 +01:00
0f85d5b94b
fix: attachment scroll issue in preview modal ( #10925 )
...
Fixes #10919
---------
Co-authored-by: ehconitin <nitinkoche03@gmail.com >
Co-authored-by: Félix Malfait <felix@twenty.com >
2025-03-18 10:47:11 +01:00
aa6fd90424
Create objectPermissions and settingsPermissions tables ( #10962 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/594
2025-03-18 10:45:31 +01:00
606098fef6
refacto(twenty-front): improve DropdownMenuHeader api ( #10961 )
2025-03-18 08:19:22 +01:00
38dabc9f84
[fix] Users with readOnly permissions should not be able to edit richtext fields ( #10959 )
...
Before
<img width="1024" alt="Screenshot 2025-03-17 at 17 46 34"
src="https://github.com/user-attachments/assets/c754adfb-4197-4be8-95dc-2f2024ed8a5c "
/>
After
<img width="954" alt="Screenshot 2025-03-17 at 17 46 20"
src="https://github.com/user-attachments/assets/e6063990-5d30-416f-9d16-2974d8d1d831 "
/>
2025-03-17 19:03:43 +01:00
c9a48c0ba9
0.44 changelog ( #10963 )
...
Co-authored-by: Guillim <guillim@users.noreply.github.com >
2025-03-17 17:42:07 +00:00
79af21ef59
i18n - translations ( #10957 )
...
Created by Github action
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-17 17:21:20 +01:00
2be26ecc98
add temporary log to investigate on deletion logic ( #10955 )
...
related to
[611](https://github.com/twentyhq/core-team-issues/issues/611 )
2025-03-17 17:13:01 +01:00
b4ec00088b
i18n - translations ( #10953 )
...
Created by Github action
---------
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-17 16:46:03 +01:00
bda835b9f8
feat(twenty-front/workspace-menu): improve workspace menu ( #10642 )
...
New workspace menu
2025-03-17 15:31:31 +00:00
78b3b7edab
i18n - translations ( #10951 )
...
Created by Github action
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-17 16:20:44 +01:00
8db8d9ad00
feat(twenty-front): improve dropdown menu header ( #10672 )
2025-03-17 16:10:52 +01:00
c4efb45f04
i18n - translations ( #10950 )
...
Created by Github action
---------
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-17 16:01:03 +01:00
093d6c0a1a
Extract the JSON visualizer component in twenty-ui ( #10937 )
...
- Move the JsonTree component and the other components to twenty-ui
- Rely on a React Context to provide translations
## Future work
It would be good to migrate the `createRequiredContext` function to
`twenty-ui`. I didn't want to migrate it in this PR but would have liked
to use it.
2025-03-17 15:00:06 +00:00
428499e222
598 remove favorites actions from pinned actions on workflows and add see runs ( #10946 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/598
- Add export single run action
- Add export single version action
2025-03-17 15:45:20 +01:00
a2ea831b9b
i18n - translations ( #10949 )
...
Created by Github action
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-17 15:34:42 +01:00
8b5d5b35ad
Workspace seeders with version ( #10895 )
...
# Introduction
close https://github.com/twentyhq/core-team-issues/issues/487
Updated the seeders to infer the workspace's version from the
`APP_VERSION` env var
To test in local run: `npx nx database:reset twenty-server` with either
a defined or not defined `APP_VERSION` in your `.env`
( note that invalid semver values will throw an error and stop the
process ) ( valid version ex: `APP_VERSION=1.0.0`)
2025-03-17 15:32:49 +01:00
3e3e8de400
i18n - translations ( #10948 )
...
Created by Github action
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
Co-authored-by: github-actions <github-actions@twenty.com >
2025-03-17 15:20:27 +01:00