google / google/codeworld

Disable toolbar buttons when not relevant

Open
#910 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

The new toolbar is useful, but sometimes misleading. If there's no selection, then Cut and Copy should be disabled. If Undo or Redo are not possible (because there's no history in that direction), then they should be disabled, as well. In general, if there were an easy way to enable or disable toolbar buttons, then there are probably a lot of checks we could add to guard them.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.