From 751c8b60a66d6615abd03816f6c809236f0b55c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Thu, 13 Jul 2023 12:02:53 +0200 Subject: [PATCH 001/119] Add headline to chat page --- webapp/locales/de.json | 3 +++ webapp/locales/en.json | 3 +++ webapp/pages/chat.vue | 5 ++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/webapp/locales/de.json b/webapp/locales/de.json index a9a8e9ed4..450f5b3a0 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -78,6 +78,9 @@ } }, "chat": { + "page": { + "headline": "Chat" + }, "userProfileButton": { "label": "Chat", "tooltip": "Chatte mit „{name}“" diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 9af3e11af..bfb8b34c2 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -78,6 +78,9 @@ } }, "chat": { + "page": { + "headline": "Chat" + }, "userProfileButton": { "label": "Chat", "tooltip": "Chat with “{name}”" diff --git a/webapp/pages/chat.vue b/webapp/pages/chat.vue index 61192ea49..b23a6e8dc 100644 --- a/webapp/pages/chat.vue +++ b/webapp/pages/chat.vue @@ -1,5 +1,8 @@ diff --git a/webapp/graphql/Rooms.js b/webapp/graphql/Rooms.js index e28702f77..c659ba85c 100644 --- a/webapp/graphql/Rooms.js +++ b/webapp/graphql/Rooms.js @@ -27,3 +27,11 @@ export const createRoom = () => gql` } } ` + +export const unreadRoomsQuery = () => { + return gql` + query { + UnreadRooms + } + ` +} From db594650f9308e8c3bdd5e396c087598ae932d82 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Fri, 14 Jul 2023 18:53:56 +0200 Subject: [PATCH 021/119] feat(webapp): mark messages as seen --- webapp/components/Chat/Chat.vue | 71 +++++++++++++++++++-------------- webapp/graphql/Messages.js | 8 ++++ 2 files changed, 49 insertions(+), 30 deletions(-) diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index 95bf5da95..8c4aaff69 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -59,7 +59,7 @@