Give goal, vehicle and settings number rows a full row on phones
Problem
On a phone several forms put two or three inputs in one row, so each got only a few characters:
- Goal form: the target amount next to the date, and each funding row's amount next to the account name.
- Vehicle form: year, mileage and unit in one row; the purchase price next to the purchase date.
- Settings → Classifier and Self-Hosting (page cache): the number input next to a long description. On the page cache rows the input ran past the card's edge.
Change
Below sm these rows stack: the amount gets a full row, the vehicle's year its own row (mileage and unit share one), and settings rows put the description above a full-width input. From sm up every row looks as before.
Effects on other parts of the app
Markup only (Tailwind classes) in the goal, vehicle, classifier and self-hosting views. No change to what is submitted.
Screenshots
Before (main) and after, phone (390 px) and desktop (1400 px):
| Phone | Desktop | |
|---|---|---|
| Vehicle (edit) | ![]() | ![]() |
| Vehicle (new) | ![]() | ![]() |
| Goal amount | ![]() | ![]() |
| Goal funding rows | ![]() | ![]() |
| Classifier | ![]() | ![]() |
| Classifier options | ![]() | ![]() |
| Self-Hosting page cache | ![]() | ![]() |
| Self-Hosting auto-sync time | ![]() | ![]() |
| Self-Hosting onboarding and invite settings | ![]() | ![]() |
Validation
test/system/phone_form_rows_test.rbemulates a phone (390 px) and a wide screen. It checks that these controls stack on the phone and sit side by side on the wide screen: the goal amount and date, each goal funding account and its amount, a vehicle's year and mileage, and a classifier setting's text and number. All four fail onmainand pass here.hostings_controller_test.rb: every instance setting row (auto-sync time, market data time, the page cache fields and both invite selects) is aDS::SettingRow.test/components/DS/setting_row_test.rbfor the component itself.- ERB lint and Rubocop clean.
How this fits together
The money field work is split into small PRs that build on each other. Review from the top of this list; each stacked PR's base is a stack/* copy of the PR below it, so its diff shows only its own change.
- #6032: bounds checked on the submitted amount, hints for ignored input, parentheses. Base:
main. - #6033: operator bar docked above the on-screen keyboard. Base: #6032.
- #5833: every amount input uses the money field. Base: #6033.
- #5850: a rejected transfer keeps its input; comma exchange rates. Base: #5833.
- #5939: the remaining decimal fields (quantities, rates) read comma decimals. Base: #5850.
- #6035: plain-number fields without the calculator for settings, rates and rule/filter limits. Base: #5939.
Standalone: #6034 (phone layout of goal, vehicle and settings number rows). Base: main; it does not depend on the stack.
🤖 Generated with Claude Code
Summary by CodeRabbit
- Style
- Goal amount and date fields stack on narrow screens and align horizontally on wider screens.
- Account allocation amounts appear below account details on narrow screens and beside them on wider screens.
- Number, checkbox, selection, and other settings fields use full width on narrow screens and more compact widths on wider screens.
- Vehicle and recurring payment fields use layouts that adapt to narrow and wider screens.

















