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

3263 modify timeline messagingservice to allow the frontend to get multiple participants in a thread #3611

Conversation

bosiraphael
Copy link
Contributor

Closes #3263

@@ -88,24 +88,22 @@ export const EmailThreadPreview = ({
thread,
onClick,
}: EmailThreadPreviewProps) => {
const displayName =
thread.firstParticipant.firstName || thread.firstParticipant.handle;
Copy link
Member

Choose a reason for hiding this comment

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

use displayName before handle?

const timelineThreads = mockedEmailThreads;
const timelineThreads: TimelineThread[] =
threads.data[
entity.targetObjectNameSingular === 'person'
Copy link
Member

Choose a reason for hiding this comment

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

Use CoreObjectNameSingular


import { JwtAuthGuard } from 'src/guards/jwt.auth.guard';
import { Workspace } from 'src/core/workspace/workspace.entity';
import { AuthWorkspace } from 'src/decorators/auth-workspace.decorator';
import { TimelineMessagingService } from 'src/core/messaging/timeline-messaging.service';

@Entity({ name: 'timelineThreadParticipant', schema: 'core' })
Copy link
Member

Choose a reason for hiding this comment

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

We don't want this line since this is not a typeorm entity

@bosiraphael bosiraphael marked this pull request as ready for review January 25, 2024 13:08
Copy link
Member

@Weiko Weiko left a comment

Choose a reason for hiding this comment

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

LGTM! Good job @bosiraphael 👏

@bosiraphael bosiraphael merged commit 6004969 into main Jan 25, 2024
13 checks passed
@bosiraphael bosiraphael deleted the 3263-modify-timeline-messagingservice-to-allow-the-frontend-to-get-multiple-participants-in-a-thread branch January 25, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify timeline-messaging.service to allow the frontend to get multiple participants in a thread
2 participants