Updated for Fall 2026
This workshop is part of Milestone 3 — see that page for the milestone’s deliverables, rubric, and deadlines.
In this workshop you and your team will design the user interface for CoffeeMaker: the wire frames for each page and the flow between them. In Milestone 2 you designed the backend for arbitrary ingredients. This week you design what the user sees, and then build the static version of it.
Your team designs the ingredient and inventory interface:
You will design the recipe interface — UC2 Add Recipe and UC4 Edit Recipe — individually, after this workshop.
Before you start, follow the setup steps in Set Up Your Technical Documents to add technical-documents/frontend-design.md to your team repository. The template’s headings are what your design is reviewed against, so work inside them.
Getting Started
Design documents are deliverables and get the same process as code:
- Create an issue for each major task, with an owner and notes. As per the CSC 326 Issues Process, tie issues to commits where there are commits, and close them as you finish.
- Create a branch off
development, namedunityID/branchName. - Merge into
developmentvia pull request, and then intomainfor evaluation.
Design work and static pages are cleaner as separate branches — the design should be settled before you build against it.
Scenarios and Concept Designs
Put yourself in the place of a user and write down what you expect from working with the system. What happens with correct input? What can go wrong? When it does, what should the user see?
Identify two scenarios for each use case — two for UC5 and two for UC7 — each taking a different path through the functionality. One should follow the main flow; the other should exercise a subflow or an alternative flow, because that is where interfaces usually fail. You are welcome to pull scenarios from your existing tests, or to update old test scenarios for the new requirements.
For each scenario, write a concept design:
- the user tasks needed to complete the scenario
- the system needs that let the user complete each task
- the design considerations that follow from each task
The last few slides of the Frontend Design lecture have worked examples.
Deliverable: the Scenarios and Concept Designs sections of technical-documents/frontend-design.md for UC5 and UC7.
Wire Frames
Once the scenarios and task flows are written down, build the wire frames. Some tools to consider:
- Figma — free tier, no download, and the one most of you will see again
- Balsamiq — 30 day trial for the download, and a cloud version with a free trial
- MockFlow — an account is required
- Wireframe.cc
You will create one wire frame and flow/navigation map per use case. The wire frame covers the static layout of the pages; the flow shows how they connect. Start from the menu and follow the actions you designed out to the other pages.
Then annotate the wire frame to show which parts of the interface each scenario touches — numbered blue triangles for Scenario 1, numbered red squares for Scenario 2, or any scheme that makes the path readable. The annotation is what shows a reader that your scenarios can actually be completed in your design.
Export as PNG into technical-documents/images/ and link the images from your design document. Keep the tool’s source file too, in the same folder, so you can edit the wire frame later.
As you design, work against the frontend design checklist. You will be reviewed against it, and it is much cheaper to design to it than to retrofit it.
Deliverable: the Wire Frames section of technical-documents/frontend-design.md for UC5 and UC7, with the images committed.
Design Explanation and Assumptions
Write a short explanation of how each wire frame satisfies the requirements and addresses the checklist. Point at specific parts of your design — “the ingredient list uses a stepper rather than a text field, so an invalid unit cannot be entered at all” — rather than restating the checklist item.
If you made assumptions or interpretations about the requirements, write them down. Limiting a recipe to seven units of an ingredient is a fine decision; leaving it undocumented is not. If you made none, say so.
Deliverable: the Design Explanation and Requirements Assumptions sections for UC5 and UC7.
Static Pages
Now build the static version of the pages: the layout and the form elements, with no dynamic behavior.
You write these as JSX — well-formed HTML — in the return of the appropriate component in coffee_maker_frontend/src/components/. If you are editing an existing component, strip the dynamic elements and focus on the layout. Follow the conventions already in the project: the components use Bootstrap classes, and HeaderComponent.jsx uses NavLink from react-router-dom for navigation.
Your pages need realistic placeholder data that demonstrates arbitrary ingredients. A list of ingredients should show at least two, at least one of which is not coffee, milk, sugar, or chocolate. An add-recipe form should show a recipe built from such a list. The data should be plausible for the system and should fit one of your scenarios — a page that only ever shows the original four ingredients does not demonstrate the requirement you designed for.
You are not expected to write the JavaScript that makes these pages work yet. You do need to:
- add a
<Route>for each new page insrc/App.jsx - add a menu entry for each new page in
src/components/HeaderComponent.jsx
Build these on their own branch and pull request them into development and then main by the end of Milestone 3. The pull request to main is what delivers the static pages. Make sure the existing functionality still works — npm run dev and click through it.
Deliverable: the static pages for UC5 and UC7, routed and linked from the menu, merged to main with no regression.
Activity: Building With AI
Do this after your team has wire frames it agrees on. The order matters, and it matters more here than it did in Milestone 2: generating a user interface before you have designed one produces something that looks finished and settles decisions nobody made.
Generating UI code from a description is one of the things AI assistants do best, and it is one of the things you are most likely to reach for after this course. So the question worth answering now, while you have a wire frame to check against, is: what does it actually give you, and what does it quietly change?
Generate a page
Pick one of your static pages — the more complex of the two is more interesting. Working together, in one sitting, ask your AI assistant to build it from your wire frame.
I am building a page in a React + Vite frontend that uses Bootstrap 5
classes and react-router-dom. Components live in src/components/ and
export a single function component.
Here is the wire frame for the page:
<describe the wire frame precisely -- every field, its type, its label,
the buttons, where errors appear, and what the page does on submit.
Attach the image too if your tool accepts images.>
Write the JSX for the static version of this page: layout and form
elements only, with realistic placeholder data. No API calls and no
state management yet.
If your team is not using AI, generate the page a different way — have each team member build it separately from the same wire frame and compare. Then complete the comparison below. However, we strongly encourage trying an AI tool. An online chat tool like Gemini works if nobody on the team has a local setup.
Compare it to your wire frame
Put the generated page next to the wire frame you designed and go through it field by field. Look specifically for:
- fields that are not in your wire frame, and fields of yours that are missing
- controls that changed type, like a dropdown you designed appearing as a text field, or the reverse
- error handling that was invented, or error paths from the use case that have nowhere to appear
- labels and wording that differ from the rest of CoffeeMaker
- usability and accessibility concerns, like are the form controls actually labelled, or just placed next to text? Is anything conveyed by color alone?
- placeholder data, like does it demonstrate arbitrary ingredients, or did it default to coffee, milk, sugar, and chocolate?
That last one is worth watching for. An assistant reasoning from the code it was shown will reproduce the system’s old assumptions, which are exactly the ones this project is removing.
Deliverable: technical-documents/build-notes-m3.md, containing
- which page you generated and the prompt you used
- a list of the differences you found, with what you decided about each
- how much of the generated markup ended up in the page you merged, and what you changed
You may keep as much or as little of the generated code as you like.
You may use AI tools to generate the static HTML pages for the other pages as needed.
Integrate
- Commit your design work and your static pages on their branches.
- Open pull requests into
developmentand have a teammate review them. A wire frame is worth reviewing before anyone builds against it. - Merge
developmentintomain. - Run the frontend and click through your pages, and through the existing ones, before you call it done.
Next Steps
Head back to the Milestone 3 Overview and work on the individual portion: designing and building UC2 Add Recipe and UC4 Edit Recipe, and then the AI Frontend Review Activity.
