From 633607fe256a41d9bc56adf63a71629ad8e61c8d Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Sun, 7 Dec 2025 17:17:17 -0800 Subject: [PATCH] feat: unified top-right menu with grey oval container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Created single grey oval container for all top-right menu items - Order: CryptID -> Star -> Gear -> Question mark - Added vertical separator lines between each menu item - Consistent styling with rounded container and subtle shadow - Removed separate styling for individual buttons 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/ui/components.tsx | 386 +++++++++++++++++++++++------------------- 1 file changed, 209 insertions(+), 177 deletions(-) diff --git a/src/ui/components.tsx b/src/ui/components.tsx index dc4f44c..05d45a8 100644 --- a/src/ui/components.tsx +++ b/src/ui/components.tsx @@ -117,195 +117,227 @@ function CustomSharePanel() { return groups }, [allShortcuts]) + // Separator component for unified menu + const Separator = () => ( +
+ ) + return ( -
- {/* CryptID dropdown - leftmost */} - +
+ {/* Unified menu container - grey oval */} +
+ {/* CryptID dropdown - leftmost */} +
+ +
- {/* Star board button */} - + - {/* Settings gear button with dropdown */} -
- + {/* Star board button */} +
+ +
- {/* Settings dropdown */} - {showSettingsDropdown && ( - <> -
setShowSettingsDropdown(false)} - /> -
- {/* Dark mode toggle */} - + + {/* Settings dropdown */} + {showSettingsDropdown && ( + <> +
{ - e.currentTarget.style.background = 'var(--color-muted-2)' - }} - onMouseLeave={(e) => { - e.currentTarget.style.background = 'none' + onClick={() => setShowSettingsDropdown(false)} + /> +
- - {isDarkMode ? '🌙' : '☀️'} - Appearance - - - {isDarkMode ? 'Dark' : 'Light'} - - + {/* Dark mode toggle */} + -
+
- {/* All settings */} - -
- - )} + {/* All settings */} + +
+ + )} +
+ + + + {/* Help/Keyboard shortcuts button - rightmost */} +
+ +
- {/* Help/Keyboard shortcuts button - rightmost */} - - {/* Keyboard shortcuts panel */} {showShortcuts && ( <>