Skip to content

fix(ui): clear the smaller items from #13 - #19

Merged
devRMA merged 1 commit into
fix/a11y-tabs-and-radio-groupfrom
fix/issue-13-minor-items
Aug 2, 2026
Merged

fix(ui): clear the smaller items from #13#19
devRMA merged 1 commit into
fix/a11y-tabs-and-radio-groupfrom
fix/issue-13-minor-items

Conversation

@devRMA

Copy link
Copy Markdown
Owner

Currency fields reformatted on every keystroke, so React's written value
differed from what was typed and the browser reset the caret to the end.
Appending felt fine; editing mid-string threw the caret to the end each
character. A CurrencyInput now restores the caret by counting the digits
to its right, so mid-string editing survives. Verified in Chromium: two
consecutive edits at position 1 keep the caret next to the typed digit.

formatCurrency and formatCurrencySimple built a fresh Intl.NumberFormat
per call, which is once per keystroke on a controlled input. Both
formatters are hoisted to module scope, joined by the clock formatter -
times were formatted with a hardcoded HH:mm:ss instead of the visitor's
locale.

Resetar Horários wiped every entered time with no confirmation and no
undo; it now asks first.

Side ads rendered from 2xl (>=1536px) while the content container is
1600px wide, so they sat on top of the content. Gated at 1980px, which
measurement confirms is where they first clear it: ads at 16..176 and
1804..1964 against content at 190..1790. The e2e skip threshold follows.

Also: input defaults for autoComplete, spellCheck and enterKeyHint;
preconnect for the two Google origins fetched at runtime; safe-area
insets on the bottom-anchored nav, cookie banner and privacy button; and
a smaller vertical padding below sm, where 256px of fixed padding left
only 200px usable at 375x667 landscape.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com


Stack created with GitHub Stacks CLIGive Feedback 💬

@vercel

vercelBot commented Aug 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
workloadReadyReadyPreviewAug 2, 2026 6:48pm

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

This comment was marked as resolved.

Currency fields reformatted on every keystroke, so React's written value
differed from what was typed and the browser reset the caret to the end.
Appending felt fine; editing mid-string threw the caret to the end each
character. A CurrencyInput now restores the caret by counting the digits
to its right, so mid-string editing survives. Verified in Chromium: two
consecutive edits at position 1 keep the caret next to the typed digit.
formatCurrency and formatCurrencySimple built a fresh Intl.NumberFormat
per call, which is once per keystroke on a controlled input. Both
formatters are hoisted to module scope, joined by a clock formatter that
replaces a hand-written HH:mm:ss format string. The locale stays pinned
to pt-BR on purpose, matching lang="pt-BR" and the BRL amounts beside
it - a visitor-derived locale would print the clock in a different
convention from the rest of the interface.
Resetar Horários wiped every entered time with no confirmation and no
undo; it now asks first.
Side ads rendered from 2xl (>=1536px) while the content container is
1600px wide, so they sat on top of the content. Gated at 1980px, which
measurement confirms is where they first clear it: ads at 16..176 and
1804..1964 against content at 190..1790. The e2e skip threshold follows.
Also: input defaults for autoComplete, spellCheck and enterKeyHint;
preconnect for the two Google origins fetched at runtime; safe-area
insets on the bottom-anchored nav, cookie banner and privacy button; and
a smaller vertical padding below sm, where 256px of fixed padding left
only 200px usable at 375x667 landscape.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@devRMA
devRMAforce-pushed the fix/issue-13-minor-items branch from b709e8c to 4a9afc6CompareAugust 2, 2026 18:46
@devRMAdevRMA closed this Aug 2, 2026
@devRMAdevRMA reopened this Aug 2, 2026
@devRMA
devRMA merged commit c78ccfa into mainAug 2, 2026
4 checks passed
@devRMA
devRMA deleted the fix/issue-13-minor-items branch August 2, 2026 19:00
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@devRMA@codecov-commenter