Standardize admin buttons; bundle post fields into PostInput
Standardize admin buttons; bundle post fields into PostInput
#21 in tonybierman/dx-blog — merged 2026-05-31
Summary
- Standardize admin action controls on rounded catalog buttons, with primary actions using the theme accent (
Primary→--secondary-color-2/brand-500):ActionButtondefault variantLink→Outline; Comments Approve is nowPrimary.- Posts list: "New post" link →
Primarybutton; per-row "Edit" link →Outlinebutton matching the Delete button's size. - Taxonomy: rename Save →
Primary, and EditGhost→Outlineso it matches the Posts list Edit button.
- Bundle the seven post create/update form fields into a
PostInputDTO. This fixes three pre-existingclippy::too_many_argumentswarnings and removes the easy-to-misorder positional argument lists at the call sites.
Notes
- Earlier commits on this branch also cover the text-input/textarea border fixes and catalog surface re-tint.
- Not included: the
/accountpage vertical-spacing issue — that page body is arium'sAccountSettingscomponent (separate../ariumrepo), so the fix belongs there, not in dx-blog.
Testing
cargo fmtcargo clippy --features server— cleancargo check --no-default-features --features web --target wasm32-unknown-unknown— clean
🤖 Generated with Claude Code
Last updated 2026-05-31
Links to this note
Credits
Merged pull requests, newest first.