From ce0dd23d2f40d5613fd40f284264fc21e5e4ae82 Mon Sep 17 00:00:00 2001 From: johnnyjoygh Date: Wed, 2 Sep 2026 22:22:13 +0800 Subject: [PATCH] fix(ui): refine compact navigation and memo actions --- web/src/components/AppSidebar/AppSidebar.tsx | 4 +- .../components/AppSidebar/SpaceSwitcher.tsx | 9 ++-- .../MemoActionMenu/MemoActionMenu.tsx | 17 ++++++- .../MemoReactionListView/ReactionSelector.tsx | 11 +++-- .../MemoView/components/MemoHeader.tsx | 40 +++++++++++---- web/tests/app-sidebar-logo.test.tsx | 6 ++- web/tests/memo-action-menu.test.tsx | 49 +++++++++++++++++++ web/tests/memo-header-navigation.test.tsx | 43 ++++++++++++++-- web/tests/reaction-selector.test.tsx | 36 ++++++++++++++ web/tests/space-switcher.test.tsx | 10 ++-- 10 files changed, 194 insertions(+), 31 deletions(-) create mode 100644 web/tests/memo-action-menu.test.tsx create mode 100644 web/tests/reaction-selector.test.tsx diff --git a/web/src/components/AppSidebar/AppSidebar.tsx b/web/src/components/AppSidebar/AppSidebar.tsx index 261b980e..c9439ea5 100644 --- a/web/src/components/AppSidebar/AppSidebar.tsx +++ b/web/src/components/AppSidebar/AppSidebar.tsx @@ -437,7 +437,7 @@ const GlobalNavigation = () => { return ( -