Grey out undo/redo buttons when there are no states
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
In the workflow diagram, the undo-redo buttons are always active.
But if there is no undo or redo state available - if we're at the start or end of the the stack - we should disable the buttons and maybe update the tooltip.
This will just help set user's expectations about what pressing these buttons will - or won't! - do.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the workflow diagram's undo and redo button implementation and the state-stack logic that determines whether either action is available. Check how the current tooltips are defined and look for related UI tests. Done means the buttons are disabled at the beginning or end of the stack and their tooltip text accurately reflects that state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100