Appearance
QA UX review: sales space
Screens reviewed: day planner (home), Today, My leads, Links, Commission. Desktop 1365px and mobile 390px screenshots, plus the components behind them.
Scores (1 to 10)
| Screen | Clarity | Hierarchy | Consistency | Forms and feedback | Mobile 390 | Accessibility | Speed to main task |
|---|---|---|---|---|---|---|---|
| Day planner | 7 | 7 | 8 | 6 | 7 | 7 | 6 |
| Today | 7 | 7 | 7 | 6 | 8 | 7 | 7 |
| My leads | 7 | 6 | 7 | 6 | 8 | 7 | 7 |
| Links | 7 | 7 | 7 | 5 | 8 | 6 | 7 |
| Commission | 6 | 6 | 8 | 5 | 6 | 7 | 8 |
What works
- One accent action per view, hairline lists, no cards, no emoji. Matches the rest of the app.
- Day planner keeps the work in one place: pick a day, see its list, open a business, act on it.
- Every list has an empty state with plain copy. Error states have a retry.
- Time is shown in Europe/London through one formatter (
timeLabelinsales-format.ts), so the lead timeline, Today, Commission and the planner agree. - The QR code is a labelled SVG and the download is a sized PNG, so it prints and scans.
What was wrong
- Today's main button read "Plan today's visits" but it opens the add-business form.
- Making a lead was always enabled, so a click with no contact did nothing visible until the email field was filled.
- Switching off a scan link was one click with no confirm, and it cannot be undone from the app.
- The planner's lead section printed the raw stage value (
call_booked). - Day chips wrapped "Thu 12 / Nov" onto two lines. The jump-to-day field cut the date off at "Thu, 19 Nov 2...".
- Copy link on the links sheet had no failure path.
- The QR download button read "PNG", which does not say what it does.
- Commission statuses had no explanation.
- Today's "Leads to call" showed the stage ("New") where a call status belongs.
Suggestions
- P1,
planner-page.tsx: Today's button says "Add business", matching what it does. Done. - P1,
links-page.tsx: "Switch off" asks for confirmation and states it cannot be switched back on here. Done. - P1,
planner-item-sheet.tsx: "Make lead" stays disabled until a contact name and an email or phone are entered, with the reason shown beside it. Done. - P2,
planner-item-sheet.tsx: lead stage usesLEAD_STAGE_LABELS, not the raw value. Done. - P2,
planner-page.tsx: day chip labels stay on one line. Done. - P2,
planner-page.tsx: the jump-to-day field is wider, so the full date shows. Done. - P2,
links-page.tsx: copy failure shows an error toast instead of failing silently. Done. - P2,
qr-code.tsx: the button reads "Download PNG". Done. - P2,
commission-page.tsx: one line explains Pending, Approved and Paid. Done. - P2,
today-page.tsx: a lead with no booked call shows "No call booked" instead of its stage. Done.
Not done:
- Adding a business does not open it straight away to act on. Needs the
addItemresponse to return the new id, which is outside this space's files. Not done (API change). - Today's visit rows for businesses without a lead link to the planner but do not open that business. Needs a search param on the planner route. Not done (route change outside scope).
- Time zone: no new helper was added. Sales already formats every time through
timeLabelin Europe/London, and the day headings use the calendar day, so no change was needed here. - Lead search or filter on My leads: not requested; not added.
Checks run
bun x tsc --noEmitinapps/web: no errors in sales files. Other spaces currently have errors in their in-progress files.bun x oxfmtandbun x oxlintoncomponents/salesandroutes/_app/sales: clean.