atom-community / atom-community/tool-bar

ToolBarDropdownOptions

Open
#298 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
CSS
Stars
160
Forks
47
PR merge metrics
No merged PRs in 30d

Description

A dropdown option switch that chooses between different options and then triggers a callback based on the selected option.

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

References: https://guide.freecodecamp.org/javascript/tutorials/how-to-create-a-dropdown-menu-with-css-and-javascript/

Contributor guide

Open the contributing guide

Research direction

Start with lib/items/tool-bar-item.js and review the linked dropdown-menu reference. Define the dropdown option behavior around the existing ToolBarItem, including how selections trigger their callback. Done means the toolbar exposes a working option switch that selects among the provided options and invokes the matching callback.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.