atom-community / atom-community/tool-bar

ToolBarDropdownMenu

Open
#297 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
160
Forks
47
PR merge metrics
No merged PRs in 30d

Description

Adding a dropdown menu that each option is a ToolBarButton.

It should be built on top of [ToolBarItem](https://github.com/suda/tool-bar/blob/master/lib/items/tool-bar-item.js).

We should use atom-select-list if possible.

References:
https://www.w3schools.com/howto/howto_js_dropdown.asp
Electron References if applicable:
https://github.com/electron/electron/blob/v5.0.13/docs/api/menu-item.md
https://github.com/electron/electron/blob/v5.0.13/docs/api/menu.md
https://livebook.manning.com/book/electron-in-action/chapter-7/1

Contributor guide

Open the contributing guide

Research direction

Start with lib/items/tool-bar-item.js and review how a dropdown could be built on top of ToolBarItem, considering atom-select-list and the linked Electron menu references. Done means adding a toolbar dropdown whose options are ToolBarButton items.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.