From b8b9d36d63458029c2bc9613c0dc1c7cc2ea26f9 Mon Sep 17 00:00:00 2001 From: NoriDev Date: Thu, 8 Sep 2022 23:54:11 +0900 Subject: [PATCH] feat: Show a warning for 10 seconds when disconnected from the server and then automatically hide, Show disconnected in header when disconnected from server --- CHANGELOG_CHERRYPICK.md | 2 + .../src/components/global/CPPageHeader.vue | 50 +++++++++++++++++-- .../src/components/global/page-header.vue | 50 +++++++++++++++++-- .../src/ui/_common_/stream-indicator.vue | 39 ++++++++++++--- 4 files changed, 126 insertions(+), 15 deletions(-) diff --git a/CHANGELOG_CHERRYPICK.md b/CHANGELOG_CHERRYPICK.md index 6d842f6fd7..4caeed5107 100644 --- a/CHANGELOG_CHERRYPICK.md +++ b/CHANGELOG_CHERRYPICK.md @@ -13,6 +13,8 @@ ### Improvements - 클라이언트: (friendly) 모바일 환경에서 서버와 연결이 끊어졌을 때 표시되는 경고창의 UI 개선 - 클라이언트: (friendly) 모바일 환경에서 스크롤을 내리면 플로팅 버튼이 감춰지도록 변경 +- 클라이언트: (friendly) 서버와 연결이 끊어졌을 때 10초간 경고를 표시한 후 자동으로 숨기기 +- 클라이언트: (friendly) 서버와 연결이 끊어졌을 때 헤더에 연결 끊김 표시 - 클라이언트: Google Translate 서비스 추가 (thanks to @ltlapy) - 클라이언트: DeepL과 Google Translate를 선택할 수 있는 옵션 추가 - 클라이언트: Enter 키를 눌러 보내기 옵션 추가 diff --git a/packages/client/src/components/global/CPPageHeader.vue b/packages/client/src/components/global/CPPageHeader.vue index 5791bdd07f..e38c235abd 100644 --- a/packages/client/src/components/global/CPPageHeader.vue +++ b/packages/client/src/components/global/CPPageHeader.vue @@ -1,5 +1,8 @@