Date: 2025-05-27 Feature: Replace remove button with more menu for playlist items Project: ~/personal/projects/experiments/playlist/
Replaced the "remove" button in the playlist popup with a "more" button (three dots) that opens a dropdown menu containing the remove option. This provides a more space-efficient solution and allows for future expansion of additional actions per playlist item.
User requested to replace the "remove" button with a "more" button represented by three dots, which opens a menu with the "remove" button as the currently only option. This was needed because there wasn't much space to add more buttons in the popup menu.
popup/popup.html - Replaced remove button with more menu structurepopup/popup.js - Added menu state management and Alpine.js bindingspopup/popup.css - Added menu styling and removed old button styles<div class="more-menu-container">
<button x-bind="moreMenuButton" class="more-btn" title="More actions">
⋯
</button>
<div class="more-menu" x-bind="moreMenu">
<button x-bind="removeVideoButton" class="menu-item remove-item">
Remove
</button>
</div>
</div>
openMenus Set to track menu statesgetMenuId(), isMenuOpen(), toggleMenu(), closeAllMenus()feat: replace remove button with more menu for playlist items1da117dSuccessfully created a space-efficient, expandable menu system that:
The implementation is ready for use and future expansion with additional menu items.