# 페이지 새로고침 전까지 플래그 알림이 표시되지 않음 (레거시 메뉴 + 새 알림 메뉴)

**URL:** https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252
**Category:** Bug
**Tags:** review-queue
**Created:** [4월 19, 2023, 11:47오전 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252 "2023-04-19T11:47:25Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [4월 19, 2023, 11:47오전 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/1 "2023-04-19T11:47:25Z")

</div>

최소 3명의 관리자가 검토 대기열에서 햄버거 메뉴나 아바타 메뉴의 플래그 탭으로 플래그 알림 표시를 받지 못하고 있습니다. 관리자 메시지는 수신되므로, 플래그에 메시지가 포함되지 않는 한 알림을 받지 못하는 상태입니다. 이들은 검토 대기열에 직접 들어가서 확인해야 했습니다(대기열에는 검토되지 않은 항목으로 표시되긴 합니다). 이 문제는 약 2주 전에 업데이트된 아바타 메뉴를 활성화한 이후로 지속되고 있다는 것을 확인했습니다. 문제의 2명 중 2명은 제게 가장 활동적이고 우수한 관리자들인데, 상황이 좋지 않습니다.

저는 관리자이자 관리자 그룹의 멤버이기도 한데, 메뉴와 플래그 탭으로 모든 플래그 알림을 정상적으로 받고 있으며, 다른 일부 관리자들도 알림을 받고 있습니다.

현재로서는 전혀 원인을 알 수 없습니다. 이 기능에 관련된 설정이 많은 것도 아니고, 재현하기도 다소 어렵습니다. 혹시 아이디어가 있으신 분 계신가요?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [4월 19, 2023, 11:59오전 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/2 "2023-04-19T11:59:06Z")

</div>

‘알림’이라고 하셨을 때, 현장에서 직접 알려주는 걸 말씀하시는 건지, 아니면 이메일로 보내는 걸 말씀하시는 건지요?

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [4월 19, 2023, 12:02오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/3 "2023-04-19T12:02:56Z")

</div>

온사이트에서요. 햄버거 메뉴와 아바타 메뉴의 플래그 탭에 있는 작은 표시들을 말씀드린 거예요. (디스코urs에서 배지라는 단어에는 다른 의미가 있어서, 배지라고 부르기 싫어요.) 지금 테스트하고 있는데, 제 테스트 모더레이터 계정에 표시가 뜨고 있어요. 제가 직접 재현해보려고 노력했지만, 재현이 안 됩니다.

---

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [4월 19, 2023, 12:03오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/4 "2023-04-19T12:03:15Z")

</div>

이것에 해당하고 계신 건가요?

> [@Send unhandled flag emails to all staff](https://meta.discourse.org/t/send-unhandled-flag-emails-to-all-staff/39510/9?u=bas):
>
> It picks three that were recently seen. We have a large moderator staff and it is pretty good at picking who is currently available/around.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [4월 19, 2023, 12:07오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/5 "2023-04-19T12:07:39Z")

</div>

참고로, 관리자용 이메일 알림에는 문제가 없습니다. 이 문제는 리뷰 대기열과 메뉴 알림 사이에서만 발생하는 것으로 보입니다.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [4월 19, 2023, 12:11오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/6 "2023-04-19T12:11:03Z")

</div>

> [@Bas](#):
>
> 이 오류를 만나고 있는 건 아닌가요?

이는 `플래그 후 알림`을 설정한 경우에만 해당됩니다. 처음에는 모든 플래그가 검토 대기열로 보내지고 작은 빨간 깃발이 표시되어야 합니다.

새로운 사용자 메뉴는 있지만 아직 사이드바가 없는 상태의 차이 때문일까요? 이전과 다르게 동작하거나, 기대했던 것과 다른 결과를 낼 수 있습니다.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [4월 19, 2023, 12:12오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/7 "2023-04-19T12:12:09Z")

</div>

5월 첫째 주에 새 사이드바를 출시할 예정이에요. 6월에 시작되는 바쁜 시즌 전에 사용자가 적응할 시간을 주고 싶거든요.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [4월 19, 2023, 12:20오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/8 "2023-04-19T12:20:43Z")

</div>

제가 이해한 바로는, Legacy 햄버거 메뉴가 있는 상태에서 정상적으로 작동해야 합니다. 테스트 사이트를 해당 메뉴로 설정하고 테스트를 해보니, 다음과 같은 모습이어야 합니다:

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/4/c/84c25f8fe03664a0c3fe9e9591cd54402c0c7c72.png)

그런데 흥미롭게도, 플래그 미니 메뉴를 선택하지 않으면 검토 가능한 항목으로 가는 실제 링크가 알림 목록에 표시되지 않습니다:

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/1/e/b1e900f8f9a0af569251f5420e75e458b08c6072.png)

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [4월 19, 2023, 12:22오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/9 "2023-04-19T12:22:56Z")

</div>

네, 스크린샷처럼 알림은 잘 받고 있어요. 아바타 메뉴를 되돌려서 테스트해봤는데, 제 모드는 여전히 플래그를 못 받았다고 하는데, 제 테스트용 모드는 받았더라고요 🤦‍♀️

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [4월 19, 2023, 12:25오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/10 "2023-04-19T12:25:25Z")

</div>

우리는 방금 두 번의 플래시 테스트를 수행했고, 이전 아바타 메뉴를 사용했는데도 그는 어느 플래시 표시도 받지 못했습니다. 제가 플래시가 있다고 직접 알려줘야 했어요.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [4월 19, 2023, 12:38오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/11 "2023-04-19T12:38:04Z")

</div>

어떻게든 이 문제를 재현했습니다. 제 테스트용 모드 계정에는 플래그에 대한 알림이 전혀 오지 않았고, 그 사이 사이트 여기저기를 돌아다녔습니다. 페이지 헤더를 새로고침한 후에야 플래그가 나타났습니다.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [4월 19, 2023, 12:40오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/12 "2023-04-19T12:40:38Z")

</div>

네, 몇 번 시도해 봤는데 제 환경에서도 그런 것 같습니다. 사이트 전체를 탐색할 수는 있지만, 페이지를 새로고침해야만 플래기가 표시됩니다.

무언가 제대로 작동하지 않는 것 같습니다.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [4월 19, 2023, 12:42오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/13 "2023-04-19T12:42:34Z")

</div>

지금 모바일과 데스크톱 모두에서 재현했습니다.

이 문제는 비교적 최근에 발생한 것 같습니다. 이전에 제대로 작동하던 것을 알고 있기 때문입니다. 우리 관리자들은 플래그 관련 사항을 잘 챙기고 있습니다. 지난 2주 동안에만 이 문제를 확인했습니다.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [4월 19, 2023, 12:45오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/14 "2023-04-19T12:45:18Z")

</div>

이 문제를 #Contribute > Bug 채널로 넘겨서 누군가 확인해 주도록 합시다. 👍

재현 요약:

- `navigation menu`를 'Legacy’로 설정
- `enable new notifications menu` 활성화
- 적용을 위해 새로고침
- 게시물을 플래그 처리
- 페이지를 새로고침할 때까지 아바타나 메뉴에 플래그가 표시되지 않음

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [4월 19, 2023, 12:48오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/15 "2023-04-19T12:48:48Z")

</div>

질문 - 이 문제가 레거시 내비게이션 메뉴에서만 발생하는 건가요? 다시 말해, 사이드바가 활성화되어 있을 때, 페이지 새로고침 없이 바로 아바타 메뉴 탭으로 플래그가 이동하는 건가요? 사이드바 활성화 여부에 따라 달라지는지 확인해 보고 싶었습니다.

확실히 재현해 보았습니다. 제 관리자 계정으로 15분 동안 사이트를 둘러봤는데, 부적절한 콘텐츠 플래그에 대한 알림이 없었습니다. 방금 새로고침을 했더니, 그제서야 나타났네요.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [4월 19, 2023, 12:52오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/16 "2023-04-19T12:52:35Z")

</div>

확인을 위해 테스트를 해봤는데, 사이드바를 활성화하면 아바타에 빨간 깃발이 바로 나타납니다. 👍

(헤더 드롭다운도 마찬가지입니다)

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [4월 19, 2023, 12:55오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/17 "2023-04-19T12:55:12Z")

</div>

헉, 사이드바를 출시해야 할 이유가 더 늘었네 🙂

이 일로 도움 주셔서 감사합니다!

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [4월 19, 2023, 12:57오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/18 "2023-04-19T12:57:43Z")

</div>

걱정 마세요 🙂

철저하게 확인해 보려고 했는데, Legacy + 새 알림 메뉴 활성화인 것 같습니다. 위의 재현 단계에 추가하겠습니다.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [4월 19, 2023, 2:14오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/21 "2023-04-19T14:14:40Z")

</div>

또한 이 문제의 반대 경우도 재현했습니다. 다른 모드가 검토 및 처리한 플래그에 대해, 메뉴에 새로운 플래그 표시기가 여전히 알림을 표시하는 것입니다. 웹사이트를 여기저기 돌아다녀도, 페이지를 새로고침하거나 이제 비어 있는 검토 대기열로 이동하기 전까지는 표시기가 유지되는 것 같습니다. (검토 대기열 페이지로 이동하는 즉시 플래그 표시기가 사라집니다.)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [4월 24, 2023, 3:39오후 UTC](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252/22 "2023-04-24T15:39:12Z")

</div>

@Lilly 님, 보고해 주셔서 감사합니다. 이 문제를 수정하는 PR을 열었습니다

> <https://github.com/discourse/discourse/pull/21222>
>
> On the client-side, message-bus subscriptions and reviewable count UI is based o…n the 'redesigned\_user\_menu\_enabled' boolean. We need to use the same logic on the server-side to ensure things work correctly when legacy navigation is used alongside the new user menu.

최대한 빨리 병합하고 관리형 호스팅에 배포하겠습니다

[다음 페이지](https://meta.discourse.org/t/flag-notifications-not-showing-until-page-refresh-legacy-menu-new-notification-menu/262252.md?page=2)
