Hanlun 2025–2026Next.js prototypeReact · TypeScript productionPull requests merged by the team

Twelve years designing internal platforms, CRM and operations software. On Hanlun’s DSE practice platform I built the working Next.js prototype, then contributed frontend code to the production React and TypeScript apps through pull requests merged by the team’s engineers.

Production frontend2appsShared components, Storybook stories and unit tests in Hanlun’s student and teacher apps
Merged by the team3engineersMerged my pull requests to production, February to October 2026
Working prototype1Next.js appThe student and teacher views, built before and alongside production
In product design12yearsSenior UI/UX Designer at Oursky since 2016
hanlun · productionreconstructed · PR numbers withheld

gh pr list --author grace --state merged

  • feat(student,teacher): show the passing rate each attempt was judged atMergedJul 2026
  • fix(annotate): Apple Pencil reminder, iPad only, both languagesMergedJun 2026
  • feat(theme): subject palettes on shared CSS variables, contrast storiesMergedJul 2026
  • … and more · Feb–Oct 2026 · merged by three engineers

Personal prototype · synthetic receipts · local model

Receipt review: the model reads, code checks, a person decides

A small prototype informed by the CRM receipt workflows I designed. A free open-weight model reads a receipt and returns four fields; ordinary code checks them; a reviewer corrects and confirms.

What the model does
Reads the receipt’s numbered lines and returns merchant, date, currency and total, each with the line it came from. It shows no confidence score, because it has no calibrated one.
What code decides
Formats, conflicting readings, whether a value is on the receipt, and a made-up programme rule. Confirm stays locked until every flag is resolved, and the history keeps the model’s reading next to each correction.
Trade-off
The model cites a line number instead of quoting the line. Quoting made the local model copy the whole receipt and, on one receipt, repeat it until the request timed out. A number is shorter, and code can check it exists.
What went wrong
On a receipt dated 03/11/2026 the model chose 11 March against its instructions, and my first checks relied on the model to report ambiguity, so nothing flagged it. Dates that read two ways are now found from the receipt text itself, with a test built from that reply.
Live run, 100 seconds, no sound. qwen2.5:7b through Ollama on a laptop, on three synthetic receipts. The captions were added for the recording and quote what the model returned.
What the video shows
  1. An ambiguous receipt: the model returns the date 2026-03-11, the currency “$” and the total “:1280.00”.
  2. Code blocks the malformed currency and total, and flags the printed date because it reads either way.
  3. The reviewer picks the day-first date, enters HKD and the 1,208.00 actually paid, and confirms; the rule result and the history update.
  4. A receipt with a faded header: the model leaves the shop name and date empty, so confirmation stays blocked until the reviewer adds them.
Built withReact and TypeScript in this site’s Next.js app. A server endpoint that only accepts a receipt id, typed contracts checked at runtime, and 20 unit tests. Designed by me, built with Claude Code.
ModelsRuns on qwen2.5:7b through Ollama, free and on the laptop. A Claude API path is written but hasn’t been run.
LimitsThree synthetic receipts make a demonstration, not an accuracy measure. It reads receipt text, not photos, and it runs locally, so this page has a recording rather than the live tool.

Design to code

How a new feature reached Hanlun’s production codebase, and which code lived where.

  1. MeDesignflows and screens in Figma
  2. MePrototypea working Next.js app, Cursor-assisted
  3. MeBuildUI and states as Storybook stories and in the apps
  4. MePull requestopened by me, with screenshots
  5. TeamReviewscreens reviewed in the thread
  6. EngineerMergeafter CI passes
PrototypeNext.js and React: one app, with the student and teacher views switched by URL. Behaviour gets tried here before it’s built for real.
ProductionReact on Vite with TypeScript: two apps sharing a component package and an API client generated from the backend’s schema. My pull requests landed here.
ReviewStorybook stories for the states, unit tests with logic changes, screens discussed in the pull request, and an engineer merging after CI.
This siteThe demos on these pages are reconstructions in this portfolio’s own React, with synthetic data. Hanlun’s code stays private.

Hiring for design engineering? Write to me.