Skip to content

Commit

Permalink
retours revue
Browse files Browse the repository at this point in the history
  • Loading branch information
octo-theg committed May 24, 2024
1 parent ccc6d4d commit 52599a3
Show file tree
Hide file tree
Showing 9 changed files with 574 additions and 507 deletions.
4 changes: 2 additions & 2 deletions app/(connected)/messagerie/MessageriePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { withTransaction } from '@elastic/apm-rum-react'
import React, { useEffect, useState } from 'react'

import ConversationImage from 'assets/images/conversation.svg'
import Conversation from 'components/chat/Conversation'
import ConversationBeneficiaire from 'components/chat/ConversationBeneficiaire'
import { DetailMessageListeDeDiffusion } from 'components/chat/DetailMessageListeDeDiffusion'
import MessagesListeDeDiffusion from 'components/chat/MessagesListeDeDiffusion'
import { ButtonStyle } from 'components/ui/Button/Button'
Expand Down Expand Up @@ -67,7 +67,7 @@ function MessageriePage() {

{currentChat && (
<div className='px-6 bg-grey_100 h-full min-h-0'>
<Conversation
<ConversationBeneficiaire
onBack={() => setIdCurrentJeune(undefined)}
jeuneChat={currentChat}
conseillers={conseillers}
Expand Down
4 changes: 2 additions & 2 deletions components/chat/ChatContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import React, { Dispatch, SetStateAction, useEffect, useState } from 'react'

import ChatRoom from 'components/chat/ChatRoom'
import Conversation from 'components/chat/Conversation'
import ConversationBeneficiaire from 'components/chat/ConversationBeneficiaire'
import ListeListesDeDiffusion from 'components/chat/ListeListesDeDiffusion'
import RubriqueListesDeDiffusion from 'components/chat/RubriqueListesDeDiffusion'
import HeaderListeListesDeDiffusion from 'components/messagerie/HeaderListeListesDeDiffusion'
Expand Down Expand Up @@ -97,7 +97,7 @@ export default function ChatContainer({
{!messagerieFullScreen && (
<>
{currentChat && (
<Conversation
<ConversationBeneficiaire
onBack={() => setIdCurrentJeune(undefined)}
jeuneChat={currentChat}
conseillers={conseillers}
Expand Down
2 changes: 1 addition & 1 deletion components/chat/ChatRoom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default function ChatRoom({
_toggleFlag(idChat, flagged)
trackEvent({
structure: conseiller.structure,
categorie: 'Conversation suivie',
categorie: 'ConversationBeneficiaire suivie',
action: 'ChatRoom',
nom: flagged.toString(),
avecBeneficiaires: aDesBeneficiaires,
Expand Down
Loading

0 comments on commit 52599a3

Please sign in to comment.