Skip to content

Improve range constraints and numeric input UX - #135

Merged
BenHall-1 merged 1 commit into
masterfrom
items-range
Sep 5, 2026
Merged

Improve range constraints and numeric input UX#135
BenHall-1 merged 1 commit into
masterfrom
items-range

Conversation

@biast12

@biast12 biast12 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

Tightened form length/item range handling by deriving dynamic ceilings per input type and clamping min/max values before rendering. Range sliders now support a max-floor constraint, stronger value clamping, larger thumb hit areas, and paired NumberInput fields for precise entry. NumberInput now keeps a temporary draft state so users can clear and edit values naturally without forced resets, then commits clamped values on valid input/blur.

Type of Change

  • Bug fix
  • New feature
  • Breaking change

Checklist

  • My code follows the style of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

Tightened form length/item range handling by deriving dynamic ceilings per input type and clamping min/max values before rendering. Range sliders now support a max-floor constraint, stronger value clamping, larger thumb hit areas, and paired NumberInput fields for precise entry. NumberInput now keeps a temporary draft state so users can clear and edit values naturally without forced resets, then commits clamped values on valid input/blur.
@biast12
biast12 requested a review from a team as a code owner September 4, 2026 20:30
@github-actions github-actions Bot added the type:bug Bug Fixes label Sep 4, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying tickets-v2-dashboard with  Cloudflare Pages  Cloudflare Pages

Latest commit: cb1d6af
Status: ✅  Deploy successful!
Preview URL: https://925b2974.tickets-v2-dashboard.pages.dev
Branch Preview URL: https://items-range.tickets-v2-dashboard.pages.dev

View logs

@BenHall-1
BenHall-1 merged commit f56ed2e into master Sep 5, 2026
3 checks passed
@BenHall-1
BenHall-1 deleted the items-range branch September 5, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants