refactor(ui) Use the global input style, Badge and a contained header bee in older code #51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "cleanup-inputs-badges-bee"
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?
Follow-up to the review of #47: applies the same cleanups to older code outside the shopping list feature. Targets
001-shopping-lists(stacked on #47) on request.Inputs rely on the global input style (
6eef550)index.cssstyles everyinput/textareaglobally. These three restated that style; they now keep only their deliberate differences:SearchField: room for its two icons, plus the compact toolbar look that matchesFilterDropDown. Unchanged visually; it gains the global hover border.LinkInput: the tiny editor-toolbar size and thinner focus ring. Unchanged size; when focused it now gets the accent border like every other input.MealPlanDayNoteEditor: small text, no resize. Corners go from 8 px to the global 6 px.FilterDropDownstays as is: it styles a<button>, which the global input style doesn't cover.Badge for the older pills (
4ceed4e)Badgegainssuccessandneutralvariants. The settings menu's dev-console "an"/"aus" uses them.Badgegains acolorClassNameoverride for domain palettes. The AI analytics import status uses it, so its colours stay inaiAnalyticsColors.ts, shared with the chart.Header bee on long titles (
c395ea5)HeaderSwitchTitle's plain title put the bee outside its box, so a long list name that wrapped to the full width on a phone pushed the bee past the screen edge (20 px of sideways scrolling). It now reserves the bee's width as padding, asLogoHeadingdoes. One-line titles look the same. The switcher variant (two or more lists) doesn't overflow, because its chevron already takes that space, so it's unchanged.Verification
npm run build,npm run lint(only the 2 existing warnings inMealPlanDayProvider) andnpm run test(368 tests) pass./verify-ui:user)admin; the analytics page only reads stored stats, no AI calls)🤖 Generated with Claude Code