avh4 / avh4/elm-debug-controls

Control.float

Open
#10 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elm
Stars
25
Forks
4
PR merge metrics
No merged PRs in 30d

Description

It would be great to have something like

```elm
Control.float : { min : Float, max : Float } -> Float -> Control Float
```

implemented as a slider (in my case, I'd like to make some debug UIs for experimenting with different `elm-3d-scene` parameter values). `Control.int` could be implemented similarly (with a step size of 1 set on the underlying HTML slider). Happy to submit a PR if that would be helpful!

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the existing Control APIs and the UI path that renders controls, then compare the requested float signature with the underlying HTML slider behavior. Done means a float slider honors min and max, with the proposed integer variant using a step size of 1.

Written by the indexing model from the issue text.

Assessment

Tech stack
elm
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.