Blog

Building My Daily Hub
Polish Pass: Icons, Sorting, and Shared Buttons

Replacing the text buttons and symbol with Phosphor icons, extracting shared button components, and sorting goals so the most actionable ones are always at the top.

An Icon Pass Across Every Screen

Every button that still used raw text, a symbol, or an HTML entity got replaced with a Phosphor icon. Habits gained TrayArrowDownIcon / TrayArrowUpIcon for archive/unarchive and LockKeyIcon where a habit is locked for editing. The Tracker’s navigation arrows became ArrowFatLineLeftIcon / ArrowFatLineRightIcon, the +/− count controls became PlusCircleIcon / MinusCircleIcon, and the Log / Summary toggle got ClipboardTextIcon and PresentationChartIcon, made equal-width with flex: 1, and lost its container background color.

The daily goal button got the most thought. The previous label was “End,” which read as stopping something rather than completing it. It’s now a SquareIcon + “Complete” toggle that fills to CheckSquareIcon + “Completed” once marked done — a clearer state signal that matches what the action actually means.

Shared Button Components

All of the repeated button patterns — Add, Edit, Delete, Cancel, Archive, Copy, Refresh — were extracted into small shared components in src/components/common/ so the icon, size, weight, and aria-label are consistent across every screen that uses them. No more hunting down three slightly different implementations of the same delete button.

Sorting Goals

Goals on both the Tracker screen and the dashboard card now sort by period (daily first, then weekly, then monthly) and within each group by completion status (incomplete before complete). The daily habits you need to act on today are always at the top; the ones you’ve already finished sink to the bottom as your day progresses.

What's Next

Tool 9 is Favorite Quotes — a saved list of quotes with a dashboard card that surfaces one at a time, styled similarly to the Bible verse card already on the home screen. The app is live at dailyhub.christopherkaelin.com — demo mode works without an account.