Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tasks #5199

Merged
merged 14 commits into from
Apr 29, 2024
Merged

Fix tasks #5199

merged 14 commits into from
Apr 29, 2024

Conversation

charlesBochet
Copy link
Member

@charlesBochet charlesBochet commented Apr 28, 2024

Query depth deprecation

I'm deprecating depth parameter in our graphql query / cache tooling. They were obsolete since we introduce the possibility to provide RecordGqlFields

Refactor combinedFindManyRecordHook

The hook can now take an array of operationSignatures

Fix tasks issues

Fix optimistic rendering issue. Note that we still haven't handle optimisticEffect on creation properly

Copy link

github-actions bot commented Apr 28, 2024

TODOs/FIXMEs:

  • // Todo: this should be replace by the operationSignatureFactory pattern: packages/twenty-front/src/modules/activities/timeline/utils/makeTimelineActivitiesQueryVariables.ts
  • // TODO: Display a beautiful loading page: packages/twenty-front/src/modules/activities/timeline/components/Timeline.tsx
  • // Todo Fix typing: packages/twenty-front/src/modules/object-record/cache/utils/getRecordNodeFromRecord.ts
  • // Todo: Fix this type: packages/twenty-front/src/modules/object-record/record-field/meta-types/display/components/RelationFieldDisplay.tsx

Generated by 🚫 dangerJS against 31cfe0a

import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem';
import { RecordGqlOperationSignatureFactory } from '@/object-record/graphql/types/RecordGqlOperationSignatureFactory';

export const findActivitiesOperationSignatureFactory: RecordGqlOperationSignatureFactory =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we prefix everything with GqlOperation now ?

);

const ObjectMetadataItemSetter = ({ children }: { children: ReactNode }) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be extracted ?

@charlesBochet charlesBochet merged commit 6a14b1c into main Apr 29, 2024
8 of 9 checks passed
@charlesBochet charlesBochet deleted the fix-tasks branch April 29, 2024 21:33
@charlesBochet charlesBochet mentioned this pull request Apr 30, 2024
charlesBochet added a commit that referenced this pull request Apr 30, 2024
Sign up was broken by #5199
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants