ui-ux-hardening #14
Loading…
Reference in a new issue
No description provided.
Delete branch "ui-ux-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
input-{size}/select-{size}/textarea-{size} templates are invisible to Tailwind's scanner, so consumer builds never generated textarea-*, input-xl or select-xl and size silently did nothing. Shared literal maps in form/sizes.ts; DataSelect gains xl; SearchList's text-md (not a class) maps to text-sm, which is what it rendered. The showcase safelist that hid the problem is removed; every size renders identically without it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>new Date('2025-11-30') is UTC midnight, i.e. 29 Nov anywhere west of UTC, so the date pickers showed and saved back the previous day. Date-only strings are now built in local time and overflow (2025-02-31) is rejected. Zoned date-times are unchanged. Checked in New York, Kolkata and Auckland. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>numRequired turned a cleared field ('') into NaN and reported yup's raw cast error; it now maps '' to undefined ('Required') and non-numbers to 'Must be a number'. validateNumberRange rejects NaN. Kept as-is on purpose (projects may rely on them): validate* helpers requiring a value, validatePhoneLength counting dial-code digits; both now documented. Fixed a wrong comment, dropped an unused import. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>isDateDisabled compared a midnight cell with the full min timestamp, so min={new Date()} disabled today. date-utils gains startOfDay/isDayOutside, used by both pickers. Range presets are clamped to min/max. The range end stays at T00:00:00 (documented) since backends may already compensate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.