From 841b353d38091c18410e1adda61cf3bbf2e2e107 Mon Sep 17 00:00:00 2001 From: Isaac Janzen <50783505+janzenisaac@users.noreply.github.com> Date: Thu, 29 Feb 2024 11:52:51 -0700 Subject: [PATCH] DEV: Close user menu after clicking view-all notifications (#25966) We needed to call closeUserMenu after navigating to the show all notifications url. --- .../discourse/app/components/user-menu/items-list.hbs | 11 ++++++----- .../discourse/app/components/user-menu/items-list.js | 7 +++++++ .../components/user-menu/bookmarks-list-test.js | 8 ++------ .../components/user-menu/messages-list-test.js | 8 ++------ .../components/user-menu/notifications-list-test.js | 10 +++------- .../components/user-menu/reviewables-list-test.js | 7 +++---- 6 files changed, 23 insertions(+), 28 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/user-menu/items-list.hbs b/app/assets/javascripts/discourse/app/components/user-menu/items-list.hbs index f0af1b0b1f2..4e7a4c2b81d 100644 --- a/app/assets/javascripts/discourse/app/components/user-menu/items-list.hbs +++ b/app/assets/javascripts/discourse/app/components/user-menu/items-list.hbs @@ -10,13 +10,14 @@
{{#if this.showAllHref}} - {{d-icon "chevron-down" aria-label=this.showAllTitle}} - + {{/if}} {{#if this.showDismiss}}