Hanlun e-Learning Center2025–nowDSE e-learningPublic case · all data shown is mock

DSE practice for three roles, designed and shipped from the repo

I led design on Hanlun’s platform for Hong Kong’s DSE exam, for students, teachers and school admins, and built much of its interface myself: first a clickable prototype, then components and screens in the production codebase.

Summary

Hanlun e-Learning Center prepares secondary students for the DSE, the exam that decides university places in Hong Kong. Students follow a learning path of lessons and quizzes and sit past and mock papers, writing Paper 1 by hand on screen; teachers mark, set pass rates and follow progress; admins run the schools, the curriculum and the papers.

I worked with the team’s developers, tech lead and PM. I built the prototype from December 2025, then worked in the production repo alongside the developers from February 2026, mostly on the student and teacher apps and their Storybook.

Context

One paper, three roles

A DSE maths paper comes in two parts. Paper 1 is long answers, written by hand; Paper 2 is multiple choice. On the platform an admin publishes the paper, the student sits both parts, marks Paper 1 against the marking scheme, and the teacher marks it again. The results feed the progress the teacher follows for each student. I designed all three sides.

AdminStudentTeacherPublishes papersDSE past and mock1ch. 2.3Sits Paper 1by hand, on screen2ch. 1.1Sits Paper 2grades itself3ch. 2.1Self-grades Paper 1against the scheme4ch. 1.3Marks Paper 1from the inbox5ch. 2.1Follows progresssets pass rates6ch. 2.2How the UI reached production: a prototype first, then components in Storybook and design PRsch. 3
Fig. 1 — One paper through the platform, end to end. The two inked steps are the marks a person gives: the student’s, then the teacher’s.
Principles

Three things the design held to

The real paper, on screen.

Questions in real maths notation, answers handwritten on lined sheets, and self-grading in the marking scheme’s own terms of method and answer marks.

Learn the data before the student screens.

We started on the student side. About a month in, I switched to the teacher and admin side so the team could see how the backend and data fit together, then came back to the students with that in hand.

Ship the UI, not a picture of it.

The prototype was a working site, not a picture. In production, components and their states live in Storybook, and I opened design PRs for UI changes myself.

Chapter 1Students

Sitting a paper, then marking it

Led design · built the screens in code

Paper 1 had to feel like the exam paper: handwriting on lined sheets, maths that looks printed, nothing lost when a student stops halfway. Then, before a teacher sees it, the student marks it.

1.1 · Answering

A canvas that inks for a pen or mouse, not a palm

Answers are written on lined sheets with pen, highlighter, eraser and text tools, and Add Answer Sheet gives a question more room. A mouse or pen inks; a bare finger or a resting palm doesn’t. iPads need one more step in the device’s own settings, so on iPad a dismissible reminder asks students to turn on Only Draw with Apple Pencil and turn off Scribble. Work saves as they go, with the save time in the bottom bar. Leaving mid-paper says so, and coming back from the scoreboard returns the answers and the clock where they stopped.

Try itwrite on the sheet
Or simulate
DSE Past Paper2003 Maths Paper 100:38:32
Paper 17 / 19 questions

7. Solve x2 − 5x + 6 = 0. (3 marks)

Saved at 14:387/ 19

1 / 7Paper 1 is answered by hand, on lined answer sheets inside the paper.

Fig. 2 — The Paper 1 answer canvas, redrawn with the app’s copy and input rule. On a touch screen a bare finger leaves no ink, by design.
1.2 · Notation

Maths that looks like the printed paper

DSE maths is full of fractions, roots and powers. Flattened to plain text, the on-screen paper stops looking like the one the student will sit. Questions and answer options render real notation from LaTeX, which I set up in the prototype and documented there for whoever writes the questions.

Flattenedx = (-b +/- sqrt(b^2 - 4ac)) / 2a
Renderedx = −b ± b2 − 4ac2a
Fig. 3 — The same formula, flattened and rendered.
1.3 · Self-grading

Marking yourself before the teacher does

After submitting Paper 1, the student goes through it question by question and enters a score for each. Hanlun’s own mock papers show the marking scheme beside the answer. DSE past papers have no electronic scheme in the system, so the panel says to use the printed copy instead. A marking scheme description explains method and answer marks the way the printed scheme does. Before anything is sent, the next steps are spelled out; for a self-taught student with no teacher, the self score becomes the Paper 1 result.

Try itswitch the paper
Paper
Student
Leave Self-GradingDSE Past Paper2023 Maths Paper 1 Self-GradingEnter your score according to the marking referencePaper 1 Self Score18 / 105(17%)
My Answer
1.
Marking Scheme
Please use physical marking scheme to check your answers

This system does not provide electronic marking scheme. Please use your physical marking scheme to check your answers.

After checking, please remember to fill in and submit your self-grading score.

Question 1 / 19Score for this question0/ 3

1 / 6A DSE past paper has no electronic marking scheme, so the panel asks the student to check against their printed copy.

Fig. 4 — Self-grading, redrawn with the app’s copy. Switch between a mock paper and a DSE past paper, and between a student in a class and a self-taught one.
Chapter 2Teachers and admins

Marking, pass rates and what sits behind them

Led design · built the teacher screens in code

Teachers mark what students have self-graded and follow progress student by student; admins run the schools, the curriculum and the papers. About a month in, I moved to this side to learn how the data fits together, then went back to the student screens.

2.1 · The record

Two papers, two ways of scoring, one record

Each attempt holds both papers. Paper 2 grades itself. Paper 1 goes from In Progress, through an upload, to Submitted (No Self-Eval), to Pending Teacher Review once the student has self-graded, to Graded when the teacher is done, and the scoreboard keeps both scores side by side. Teachers mark from an inbox; their marking saves as a draft, and once a grading is submitted, the browser’s back button can’t reopen it for a second pass.

Try itstep through
Practice ScoreboardTeacher inbox 5
PaperPaper 1Paper 2
StatusTime spentSelf scoreTeacher scoreStatusTime spentScore
DSE Past Paper 2023Not Started–––Not Started––
DSE Past Paper 2022Graded3 h 30 min88/10488/104Auto-Graded1 h 30 min40/45
1 of 7 · Student

One attempt holds both papers. Nothing has started.

Fig. 5 — One attempt on the scoreboard, with the app’s status labels. Step through with Back and Next, or the arrow keys.
2.2 · Pass rates

A pass rate that doesn’t rewrite the past

Every lesson ends with a post-lesson quiz, and the lesson card keeps three slots for attempts: a lesson completes on a pass, or after three tries. Teachers set the quiz pass rate per student or for a batch. A new rate applies to future attempts only, so earlier attempts keep their result and every record shows the passing rate it was judged at. Another engineer built that snapshot in the backend; I exposed its result through the API and into the student and teacher screens.

Teacher · student detail
Student AClass 5B

Open the settings to change Student A’s pass rate. Batch setting works the same way for selected students.

Student · learning path
1.2.1Solving quadratic equations
In progress
Post-lesson quizGet a pass or 3 attempts to complete lesson
Post-lesson quiz record (1 attempt total)
  1. Attempt 16/10(60%)Passing rate: 70%Not passed

1 / 5Each lesson ends with a post-lesson quiz. The lesson card keeps three slots for attempts.

Fig. 6 — Setting a pass rate and what it changes, redrawn with the apps’ copy.
2.3 · Structure

Learning the data model

Admins run three things: a curriculum per course, versioned so a draft can be previewed before students see it; paper sets, each a DSE past paper or a mock paper with its two papers; and schools, with teachers and students imported in bulk. Working through the teacher and admin side meant that, back on the student screens, I was drawing on top of the real structure rather than guessing at it.

CurriculumPapersPeoplestudents take quizzessit papersteachers markCourseone per subjectModuleunitversioned; drafts can be previewedLessonlearning material by sectionPost-lesson quizpass rate set per studentPaper setDSE past paper or mock paperPaper 1written, by handPaper 2multiple choiceAttemptboth papers, both scoresSchoolteachers and students imported in bulkTeacherassigned studentsStudentenrolled in courses
Fig. 7 — What admins run, simplified from the platform’s data model. The two inked boxes are where a student’s results live.
Chapter 3In the repo

From prototype to production code

Prototype · Storybook · design PRs

I still designed in Figma first. But the prototype was a working site I built, and much of what shipped I built in the production repo, next to the developers.

Three of those merged changes, with their tests and review notes, are in the implementation story (opens the Engineering).

3.1 · Two routes

How a design reached the codebase

A new feature went from Figma to the prototype and then to the developers; I then built its UI and states in Storybook and opened a design PR for them to merge. A change to something already built skipped the handover: I iterated on the mockup site with Cursor and opened a design PR that a developer merged.

Try itpick a route
Route
  1. MeDesignflows and screens in Figma
  2. MePrototypea working mockup site, built with Cursor
  3. DevelopersBuilddevelopers build the feature and data
  4. MeComponentsI build the UI and its states in Storybook
  5. MeDesign PRopened by me, merged by a developer

4 of 5 steps are mine, and the handoff is a pull request, not a file.

Fig. 8 — The two routes, with who does each step. Hover a step, or pick a route.
3.2 · Storybook

Every state, named

Components live in Storybook with each state as its own story. Two toolbars switch the subject theme (maths gold, physics red, chemistry blue, biology green, a colour system I added) and the language, Traditional Chinese or English, so a layout that breaks in English or in another subject’s colour shows up before it ships.

Try itswitch a theme
SubjectLocale
Pending Teacher Review
StatusBadge · PendingReviewstatus: "pending_review"theme: "subject-theme-math"

Each state is its own story; the toolbars switch subject colour and language, so a layout that breaks in English or in physics red shows up before it ships.

Fig. 9 — A Storybook view rebuilt for this page, with real story titles and names from Hanlun’s Storybook and the components from this case.
3.3 · In the code

What I put into the repo

Most of my commits are screens and components, but the ones I’d point a design lead to are the rules, the device fixes and the language work: decisions that only exist once they’re in the code.

Try itpick a kind
179commits to the production repo, February to October 2026

The pieces every screen is built from, with their tokens and stories.

  1. 0d02d9202/06finalize StatusTag component with serif font and refined colors
  2. 4757d1902/13Submission confirmation UI and design tokens naming
  3. a57954004/17webAdd Paper1 fullscreen view and shared marking toolbar
  4. 61c0a1a07/21web, dbAdd subject-based brand color themes
  5. 9c64d2207/31webAdd status-error and status-submitting tokens for exam PDF status chips

Real commit subjects from my history, ticket numbers removed. Outlined days are when this kind landed; hover a line to find its day.

Fig. 10 — My commits to Hanlun’s production repo, by day, with examples of each kind. Pick a kind to see where it landed.
How it moved

From a prototype to the production codebase

Prototype
A clickable site for all three roles, built from December 2025.
Order
Student screens first, then the teacher and admin side to learn the data model, then back to students.
Build
In the production repo from February 2026, alongside two developers and a tech lead.
Now
In active iteration in the production repo.
Behind the work
Role
Senior UI/UX Designer, Oursky. Led design.
Client
Hanlun e-Learning Center
Dates
2025–now
Platform
  • Web, desktop
  • iPad
Team
  • 1Designer
  • 2Developers
  • 1Tech lead
  • 1PM
Built with
Figma; a Next.js prototype; React, shadcn/ui and Storybook in production; Cursor
Audience
Hong Kong secondary schools: students, teachers and school admins
What I learnedA pass rate looks like a setting, but it is part of the record. Once teachers could change it, every attempt had to keep the rate it was judged at.