Implement custom glassmorphic context menu and redesign R…#54
Conversation
|
@YashKrTripathi is attempting to deploy a commit to the Dot_NotSam's projects Team on Vercel. A member of the Team first needs to authorize it. |
SamXop123
left a comment
There was a problem hiding this comment.
The implementation is good. But still needs some changes
Like if you see when I am opening the paraline settings from the tray. the settings are getting hidden behind it instead being coming on top just like how it did previously.

and also it misses certain things which the previous settings window had:

and btw we agreed on image1 which looked like this, but the edited tray window looks a little different
Please look through all these issues and properly address them. Create the tray settings menu like the image we agreed upon.
|
@SamXop123 OKAY PLEASE GIVE ME SOME TIME I HAVE STARTED WORKING ON IT HOPE YOU DONT ASSIGN SOMEONE ELSE I WILL BE BACK WITH MY BEST WORK!! |
…h reference image layout
…ult theme to sideBars
|
HI @SamXop123 , 1. Context Menu Z-Order & Position Fix (Hidden behind tray/overflow)
2. Matching Settings Names & Options Layout
3. Tray Menu Styling & Layout Match
All of these fixes have been successfully committed and pushed to the |
|
@SamXop123 please review the pr! |
|
@SamXop123 Done with the readme changes , i have done all the fresh changes implementation in the readme please merge and refer this points system and provide me the best tags possible : |
|
@SamXop123 i did what you asked for readme files |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
SamXop123
left a comment
There was a problem hiding this comment.
Thank you for the contribution!!

Pull Request: macOS-Style Custom Glassmorphic Context Menu Integration
Overview
This PR replaces Electron's native, system-style tray menu with a custom, premium HTML/CSS-based context menu styled like a macOS panel (
backdrop-blur-3xl, dark translucent background, checkmarks for radio state, nested submenus with right chevrons).By integrating setting state bindings and actions directly into the Electron IPC boundary, the visualizer's click-through canvas window is now dynamically made interactive when the menu is open, reverting back to full click-through mode immediately upon menu dismissal or outside-click interaction.
Key Features & Enhancements
macOS Aesthetic & Glassmorphism:
backdrop-filter: blur(32px) saturate(200%)and subtle border highlights.✓) indicating selected modes, states, and settings.›) denoting further options.Responsive Flip Positioning:
.submenu-left) to guarantee options never clip off-screen.Dynamic Theme-Specific Submenus:
Self-Managing Click-Through Engine:
setIgnoreMouseEventsis dynamically set tofalsewhen the context menu is opened.#menu-shield) intercepts clicks outside the menu, dismissing it instantly.Escapekey,setIgnoreMouseEventsresets totrue, { forward: true }to restore full click-through capability so the visualizer does not block underlying desktop apps.Detailed Changes
1.
preload.jspreload.jsExposed secure context-isolated API methods for:
setIgnoreMouseEvents.onShowMenu.2.
main.jsmain.jsclickandright-clicktriggers to retrieve the absolute cursor coordinates usingscreen.getCursorScreenPoint().show-context-menuIPC channel.3.
index.htmlindex.html#menu-shield(outside-click interceptor) and#context-menu(macOS context menu container).4.
styles.cssstyles.cssmenuFadeIn,submenuFadeIn)..submenu-leftrule to float submenus to the left when screen space is constrained on the right.5.
renderer.jsrenderer.jsTHEME_INFOSdictionary storing the structure of all 9 visualizer themes, settings keys, and value mappings.getContextMenuStructure()which builds the menu tree (Visualizer Mode selection, Active Theme properties, pause/resume, reload, reset, and quit actions).buildMenuDOM()recursively generating DOM node layouts and registering actions.showMenu()andcloseMenu()containing edge-offset corrections and mouse interaction toggles.6.
README.mdREADME.mdVerification & Testing
npm run dev.before:

after: