maplibre / maplibre/maputnik

Add shortcut and debug menu to toolbar

Open
#685 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion enhancement
Dominant language
TypeScript
Stars
2.6k
Forks
477
Avg merge
6h 13m
Merged PRs (30d)
75

Description

It is currently not obvious that there's a shortcut and debug menu available. With #683 the shortcut menu is getting pretty informative.

The shortcuts for them (? and !) are only working if there are no other elements in focus (e.g. the map), so there is often a need to press ESC to make them work.

We are having space left at the toolbar, so what about adding buttons for them there?
This would also reduce the actions needed for mouse users, e.g. instead of pressing ESC followed by ! there would be only one click on the toolbar debug menu icon needed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the toolbar and the existing shortcut (?) and debug (!) menu handlers. Check how focus and ESC currently affect those menus, then add toolbar access for both and verify that mouse users can open them with one click.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.