Compare commits

...

3 Commits

Author SHA1 Message Date
Charles Bochet aa1c9107f6 Bump version 2025-03-19 01:49:28 +01:00
Charles Bochet c59e0d766e Bump version 2025-03-19 01:21:02 +01:00
Charles Bochet c9ffffeda8 Bump version 2025-03-19 00:45:44 +01:00
13 changed files with 26 additions and 15 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-e2e-testing",
"version": "0.44.0-canary",
"version": "0.44.7",
"description": "",
"author": "",
"private": true,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-emails",
"version": "0.44.0-canary",
"version": "0.44.7",
"description": "",
"author": "",
"private": true,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-front",
"version": "0.44.0-canary",
"version": "0.44.7",
"private": true,
"type": "module",
"scripts": {
@@ -151,7 +151,10 @@ export const ActivityRichTextEditor = ({
return {
...oldActivity,
id: activityId,
body: newStringifiedBody,
bodyV2: {
blocknote: newStringifiedBody,
markdown: null,
},
__typename: 'Activity',
};
});
@@ -159,8 +162,11 @@ export const ActivityRichTextEditor = ({
modifyRecordFromCache({
recordId: activityId,
fieldModifiers: {
body: () => {
return newStringifiedBody;
bodyV2: () => {
return {
blocknote: newStringifiedBody,
markdown: null,
};
},
},
cache,
@@ -10,7 +10,6 @@ const task: Task = {
id: '123',
status: 'DONE',
title: 'Test',
body: 'Test',
bodyV2: {
blocknote: 'Test',
markdown: 'Test',
@@ -3,7 +3,6 @@ export type Activity = {
createdAt: string;
updatedAt: string;
title: string;
body: string | null;
bodyV2?: {
blocknote: string | null;
markdown: string | null;
@@ -1,12 +1,14 @@
import { ActivityTargetableObject } from '@/activities/types/ActivityTargetableEntity';
import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular';
import { isNewViewableRecordLoadingState } from '@/object-record/record-right-drawer/states/isNewViewableRecordLoading';
import { recordStoreFamilyState } from '@/object-record/record-store/states/recordStoreFamilyState';
import { ScrollWrapper } from '@/ui/utilities/scroll/components/ScrollWrapper';
import { useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import { lazy, Suspense } from 'react';
import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';
import { useRecoilValue } from 'recoil';
import { isDefined } from 'twenty-shared';
const ActivityRichTextEditor = lazy(() =>
import('@/activities/components/ActivityRichTextEditor').then((module) => ({
@@ -56,6 +58,14 @@ export const ShowPageActivityContainer = ({
| CoreObjectNameSingular.Note
| CoreObjectNameSingular.Task;
const recordFromStore = useRecoilValue(
recordStoreFamilyState(targetableObject.id),
);
if (!isDefined(recordFromStore)) {
return <></>;
}
return !isNewViewableRecordLoading ? (
<ScrollWrapper
contextProviderName="showPageActivityContainer"
@@ -9,7 +9,6 @@ export const mockedNotes: Array<MockedNote> = [
createdAt: '2023-04-26T10:12:42.33625+00:00',
updatedAt: '2023-04-26T10:23:42.33625+00:00',
title: 'My very first note',
body: null,
bodyV2: {
blocknote: null,
markdown: null,
@@ -68,7 +67,6 @@ export const mockedNotes: Array<MockedNote> = [
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
title: 'Another note',
body: null,
bodyV2: {
blocknote: null,
markdown: null,
@@ -26,7 +26,6 @@ export const mockedTasks: Array<MockedTask> = [
createdAt: '2023-04-26T10:12:42.33625+00:00',
updatedAt: '2023-04-26T10:23:42.33625+00:00',
title: 'My very first note',
body: null,
bodyV2: {
blocknote: null,
markdown: null,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-server",
"version": "0.44.0-canary",
"version": "0.44.7",
"description": "",
"author": "",
"private": true,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-shared",
"version": "0.44.0-canary",
"version": "0.44.7",
"license": "AGPL-3.0",
"main": "./dist/index.js",
"scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-ui",
"version": "0.44.0-canary",
"version": "0.44.7",
"type": "module",
"main": "./src/index.ts",
"exports": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-website",
"version": "0.44.0-canary",
"version": "0.44.7",
"private": true,
"scripts": {
"nx": "NX_DEFAULT_PROJECT=twenty-website node ../../node_modules/nx/bin/nx.js",