diff --git a/frontend/app/components/Session_/EventsBlock/NoteEvent.tsx b/frontend/app/components/Session_/EventsBlock/NoteEvent.tsx index 0f663fb34..27ba022e6 100644 --- a/frontend/app/components/Session_/EventsBlock/NoteEvent.tsx +++ b/frontend/app/components/Session_/EventsBlock/NoteEvent.tsx @@ -75,12 +75,12 @@ function NoteEvent(props: Props) { style={{ background: 'rgba(253, 243, 155, 0.1)' }} >
-
+
-
{props.userEmail}
-
+
{props.userEmail}
+
{formatTimeOrDate(props.note.createdAt as unknown as number, timezone)}
@@ -88,26 +88,28 @@ function NoteEvent(props: Props) {
-
{props.note.message}
+
{props.note.message}
{props.note.tag ? (
{props.note.tag}
) : null} {!props.note.isPublic ? null : ( <> - Team + Team )}
diff --git a/frontend/app/components/Session_/Player/Controls/components/CreateNote.tsx b/frontend/app/components/Session_/Player/Controls/components/CreateNote.tsx index e85347590..9234869a4 100644 --- a/frontend/app/components/Session_/Player/Controls/components/CreateNote.tsx +++ b/frontend/app/components/Session_/Player/Controls/components/CreateNote.tsx @@ -161,22 +161,23 @@ function CreateNote({ />
-
+
{TAGS.map((tag) => (
addTag(tag)} > - {tagActive(tag) ? : null} - + {tagActive(tag) ? : null} +
{tag} - +
))}
diff --git a/frontend/app/components/Session_/Player/Controls/components/ReadNote.tsx b/frontend/app/components/Session_/Player/Controls/components/ReadNote.tsx index a85ca8af1..bdc6708e8 100644 --- a/frontend/app/components/Session_/Player/Controls/components/ReadNote.tsx +++ b/frontend/app/components/Session_/Player/Controls/components/ReadNote.tsx @@ -42,52 +42,53 @@ function ReadNote(props: Props) { } return ( -
-
-
-
- -
-
-
{props.userEmail}
-
- {formatTimeOrDate(props.note.createdAt as unknown as number, timezone)} +
+
+
+
+ +
+
+
{props.userEmail}
+
+ {formatTimeOrDate(props.note.createdAt as unknown as number, timezone)} +
+
+
+
-
- -
-
-
{props.note.message}
-
-
- {props.note.tag ? ( -
- {props.note.tag} -
- ) : null} - {!props.note.isPublic ? null : ( - <> - Team - - )} +
{props.note.message}
+
+
+ {props.note.tag ? ( +
+ {props.note.tag} +
+ ) : null} + {!props.note.isPublic ? null : ( + <> + Team + + )} -
- - Play Session +
+ + Play Session +
-
); } diff --git a/frontend/app/components/shared/SessionListContainer/components/Notes/NoteItem.tsx b/frontend/app/components/shared/SessionListContainer/components/Notes/NoteItem.tsx index c3e7cc103..fbaa1ccd3 100644 --- a/frontend/app/components/shared/SessionListContainer/components/Notes/NoteItem.tsx +++ b/frontend/app/components/shared/SessionListContainer/components/Notes/NoteItem.tsx @@ -52,17 +52,18 @@ function NoteItem(props: Props) { } >
-
{props.note.message}
+
{props.note.message}
{props.note.tag ? (
{props.note.tag}
diff --git a/frontend/app/components/shared/SessionListContainer/components/Notes/NoteList.tsx b/frontend/app/components/shared/SessionListContainer/components/Notes/NoteList.tsx index f5650117f..8b9c056ed 100644 --- a/frontend/app/components/shared/SessionListContainer/components/Notes/NoteList.tsx +++ b/frontend/app/components/shared/SessionListContainer/components/Notes/NoteList.tsx @@ -9,9 +9,7 @@ function NotesList({ members }: { members: Array> }) { const { notesStore } = useStore(); React.useEffect(() => { - if (!notesStore.notes.length) { notesStore.fetchNotes(); - } }, []); const list = notesStore.notes; diff --git a/frontend/app/components/ui/SVG.tsx b/frontend/app/components/ui/SVG.tsx index e54ca740d..0f1cb800a 100644 --- a/frontend/app/components/ui/SVG.tsx +++ b/frontend/app/components/ui/SVG.tsx @@ -98,7 +98,7 @@ const SVG = (props: Props) => { case 'chat-dots': return ; case 'chat-right-text': return ; case 'chat-square-quote': return ; - case 'check-circle-fill': return ; + case 'check-circle-fill': return ; case 'check-circle': return ; case 'check': return ; case 'chevron-double-left': return ; diff --git a/frontend/app/svg/icons/check-circle-fill.svg b/frontend/app/svg/icons/check-circle-fill.svg index ed6233fbf..02213557f 100644 --- a/frontend/app/svg/icons/check-circle-fill.svg +++ b/frontend/app/svg/icons/check-circle-fill.svg @@ -1,3 +1,3 @@ - +