How a professional developer refines rapidly built prototypes in 2026 (part 2)

Photo of John Richardson

John Richardson

Fullstack PHP developer

In part 1 of this series we built a working, if fairly basic, free online tool. The aim was to get something usable live and in front of users and Google without spending a ton of time on it. That was partly so the search data could start suggesting keywords and features to go after next, and partly to get feedback from real users. The search data has started to arrive (more on that below), but I haven’t had any feedback yet, so that part hasn’t worked so far. With the tool live, the obvious step is to build on the initial momentum. Before that though, there are some quality assurance and forward thinking steps to take.

In my experience, getting to this stage without a heavy focus on what comes next, or on code quality, is fine. Using that early prototype as the final foundation and building more and more on top of it is a bad idea though. This post makes the case for what the next steps should be, with concrete examples of how they help and an explanation of why I’ve done what I’ve done. Don’t worry, I’m not just making this up, I’ve been doing this for some time! Not all of it will transfer to your own app, but there are some general lessons you can take forward.

We'll cover

  • What the first search data said, and the two gaps it showed
  • Why I wanted the code tidied before adding anything else
  • What was wrong with a single file of nearly 1,900 lines
  • The changes I made, with code: one entrypoint, self-contained elements, shared building blocks, one owner for state
  • Making storage, exports and commands swappable
  • Update: the first round of feedback, the event system it led to, and what testing it myself turned up

If you’d rather see what the tool does than how it’s put together, you can try it here.

Let it run, then read the queries

Before I changed any code I wanted to know how people were finding the tool. To do this I use Search Console, which lists the queries a page has been shown for. There’s a slight delay before the data shows up, so the latest figures I could get only run up to 9 November. If you’ve published a new page, my suggestion is to leave it alone for a couple of weeks, then look at those queries and, for each one, ask whether the page actually answers it.

Here’s mine for 3 to 9 November.

Search Console, 3 to 9 November: impressions by day
Search Console chart showing impressions rising from zero to a peak of around 37 in a day over the week of 3 to 9 November 2026

That’s 96 impressions (there were none the week before), 1 click, and an average position of 43. Those are small numbers and position 43 is a long way down, so this is an early signal and nothing more. The queries themselves were more useful than the totals:

QueryImpressions
online wireframe tool14
free wireframe tools online12
wireframe design free11
wireframe online9
free online wireframe mockup tool7
wireframe website free4
wireframe free4
drag and drop wireframe tool3
wireframes online3
website to wireframe(also appeared)

Most of these the page already covers. The title, heading and description all lead with “free online wireframe tool”, and drag and drop is the first feature listed. Two didn’t line up though:

  • “free online wireframe mockup tool”: the word “mockup” wasn’t anywhere on the page. People use wireframe and mockup fairly interchangeably, so someone searching for one should still find an answer.
  • “website to wireframe”: the tool can’t turn a URL into a wireframe. The nearest thing is importing a layout from an AI assistant, which isn’t the same.

For now I’ve only added two FAQ entries. One explains the difference between a wireframe and a mockup, the other says plainly that there’s no URL conversion and points to the AI import. The FAQ also feeds the page’s structured data, so it’s a cheap place to start.

It’s a humble starting point, but I’m not in a position to do more just yet. First comes the tidy up. Once that’s done I’ll revisit these queries and either update the page content or add new features to serve keywords as they appear.

Why tidy it first

Simply put, I want to add a lot of additional features, and to facilitate that I want to keep the app as easy to follow as possible. For example, I want to add more elements, exporting to HTML, and probably saving somewhere other than the browser. I expect to need other similarly complex features too.

So why does it matter if AI is writing the code? Even when AI is doing the legwork, someone has to review it, and in this case that’s me. The easier the code is to follow, the quicker and more reliable that review is.

What was wrong with it

The whole tool lived in one JavaScript file, 1,874 lines long. Reading through it, making changes like those involved a few things I wanted to get away from. I’ve tried to keep these somewhat general, with links to concrete examples where applicable:

  • Lack of cohesion. Rather than small units of code composed together to form the larger code base, everything was scattered haphazardly throughout the app. Take rendering as an example. A single render function was responsible for drawing every element, and it relied on variables and other chunks of code related to elements that were defined in various places around the app: default sizes in one spot, which elements span the full width in another, whether an element has a text field in a third. That isn’t the end of the world at the current scale, but it gets hard to follow as more elements and features are added. The render function would also end up more complex and more prone to error than it ought to be, as it picked up more and more handling for individual element types. Keeping the drawing for each element in its own method avoids that. Each one stays small and only has to know about its own element, so a change to it only applies to that element. The hero, for example, shrinks long headlines to fit, and that logic sits in the hero’s own drawing code, where it can’t affect anything else. Each element in one place shows how it looks now.

  • Duplicated logic. When the same thing is written in two places it’s easy to update one and forget the other, which leads to odd bugs that only show up in one path. The outline style stroke-width="1.5" appeared 28 times, and the chevron icon path was copied by hand four times. The “is this a small screen” check was a helper function, but the same window.innerWidth < 1024 test was also typed out inline in four other places. Change the breakpoint in the helper and those four would quietly disagree with it.

  • Long one-liners that take a lot of brainpower to read. This one decided whether the properties panel should show a text field:

    var hasText = sel.type !== 'paragraph' && sel.type !== 'divider' && sel.type !== 'list' && sel.type !== 'footer' && sel.type !== 'circle' && sel.type !== 'avatar' && sel.type !== 'burger' && sel.type !== 'slider' && sel.type !== 'table' && sel.type !== 'features' && sel.type !== 'video'

    Every new element without a text field had to be added to that line, and you have to read the whole thing to work out what it does. Splitting it into parts helps a lot:

    const TYPES_WITHOUT_TEXT = ['paragraph', 'divider', 'list', 'footer', 'circle', 'avatar', 'burger', 'slider', 'table', 'features', 'video']
    const hasText = !TYPES_WITHOUT_TEXT.includes(sel.type)

    Better still, the answer already existed on the element itself. Each element describes what its text field is for, and an empty description means it has none, so the list isn’t needed at all:

    export const hasText = (type: string): boolean => !!byType[type]?.textUse

    Another example is the check for whether two rectangles overlap, used when dragging a selection box over the canvas:

    export const intersects = (e: Rect, r: Rect): boolean =>
        e.x < r.x + r.w && e.x + e.w > r.x && e.y < r.y + r.h && e.y + e.h > r.y

    It’s short, but you have to work through four comparisons at once to see what it’s testing. Naming each comparison and combining them at the end makes it so much easier to read.

    export const intersects = (a: Rect, b: Rect): boolean => {
        const aStartsBeforeBEnds = a.x < b.x + b.w
        const aEndsAfterBStarts = a.x + a.w > b.x
        const overlapsHorizontally = aStartsBeforeBEnds && aEndsAfterBStarts
    
        const aTopAboveBBottom = a.y < b.y + b.h
        const aBottomBelowBTop = a.y + a.h > b.y
        const overlapsVertically = aTopAboveBBottom && aBottomBelowBTop
    
        return overlapsHorizontally && overlapsVertically
    }
  • No single place to see how things fit together. There were 58 event listeners registered in different parts of the file. A single entrypoint that starts each part in order gives you one place to look. See One entrypoint, multiple modules.

  • State changed from everywhere. It was one closure with around 70 functions sharing the same variables, and every change had to remember to call render() afterwards, which happened in 25 different places. It’s easier to follow when one thing owns the state, and everything else asks it to make changes and listens for updates (events) instead. See One source of truth, one owner for state.

  • Standalone logic coupled to the DOM. Code that reads from and writes to the DOM (the page) is awkward to test, so anything that doesn’t need the DOM is better kept as separate, standalone functions. See Logic kept apart from side effects.

  • Interchangeable parts. It’s highly likely I’ll want or need various options for certain things, like persistence, rendering and export. For example, users can currently export as a PNG, made from the SVG the canvas is drawn with (shapes described as markup), but I’d like to add HTML exports too, which need each element drawn differently. Another example is storage, which currently saves to the browser’s localStorage. The tool called it directly in six places, so saving anywhere else would have meant finding and editing all of them. See Interchangeable parts.

  • Reducing surface for errors. With no types and no tests, you find out something broke when someone uses the tool. See TypeScript throughout and Tests.

Many of the above aren’t the end of the world in isolation for a small app. Together they make for a sloppy foundation though, and the issue would only compound with each iteration.

Where it ended up

The original tool was a single JavaScript file of 1,874 lines. It’s now 46 TypeScript files, with the largest at 290 lines. Here are the main changes.

One entrypoint, multiple modules

app.ts is the one place where the shared state is defined. It creates it, then passes it on to a set of smaller modules that replace the huge single file:

const ctx = {
    store: createStore(),
    layers: [],
    persistence,
    // ...
}

const canvas = initCanvas(ctx)
const palette = initPalette(ctx, { canvas })
const projects = initProjects(ctx)
initPointer(ctx, { canvas, palette })
const keyListener = createKeyListener()
const commands = initCommands(ctx, keyListener)
// ...

Every module follows the same pattern, initSomething(ctx, deps). It looks up its own part of the page, registers its own listeners, subscribes to the state if it draws anything, and returns a small API for the modules that depend on it. Here’s a simplified example of one that redraws whenever the document changes:

export function initCanvas({ store }: Ctx) {
    store.subscribe(render) // runs after every change to the document

    return {
        render,
        size: () => ({ w: store.W, h: H }),
    }
}

As well as giving one place to define the state and its subscriptions, this makes it easy to drill down into a small, well-defined block when you need to, which keeps the whole thing easy to follow.

Keybindings (shortcuts) are a good example. The prototype had keybindings spread throughout the codebase. Now commands are defined and exported from one file:

export const undo: Command = {
    id: 'undo',
    label: 'Undo',
    trigger: '#wf-undo', // the button that runs it
    enabled: ({ store }) => store.history().undo.length > 0,
    run: ({ store }) => store.undo(),
}

and every shortcut lives in one map, from key to command, so you can see all of them at a glance. The commands are imported from wherever they’re defined, so the map stays a simple list and each command can still live in its own module:

import * as c from './commands/controls'

export const KEYMAP = {
    escape: c.dismiss,
    'mod+s': c.save,
    'mod+z': c.undo,
    'mod+d': c.duplicate,
    delete: c.deleteElements,
    // ...
}

Each element in one place

This is the change I like most. An element is now a single object that holds everything about it:

import { listOf } from '../text'

{
    type: 'accordion',
    label: 'Accordion',
    w: 360,
    h: 220,
    text: 'Question one, Question two, Question three',
    textUse: 'comma-separated row titles (first row is open)',
    aliases: ['faq'],
    render(e) {
        const items = listOf(e.text, 'Item')
        const rowH = 44
        // renders accordion using composable parts
    },
},

Rather than scattering various properties and logic across different places, everything lives in the one object. Adding an element is now one object in one file.

Small shared pieces

The canvas is drawn as SVG, which describes shapes, lines and text as markup (a rectangle is a <rect> tag, for example). Every element’s render function returns a string of SVG, and the PNG export is made from the same drawing. Most of the repetition went into a small file of helpers for building those strings. Here’s the old way of drawing an outlined box:

'<rect x="1" y="1" width="' + (w - 2) + '" height="' + (h - 2) + '" rx="' + (rx || 0) + '" fill="' + (fill || '#fff') + '" stroke="' + INK + '" stroke-width="1.5"/>'

and the new one:

export const box = (w: number, h: number, fill = WHITE, rx = 0) => outline(1, 1, w - 2, h - 2, { rx, fill })

The four copies of the chevron became one chevron(x, y, direction). Since this touched every element, I wanted to be sure nothing looked different. Before deleting the old code I ran the old and new renderers side by side for every element at a range of sizes and texts (2,079 combinations) and compared the SVG they produced. There were no differences, apart from the head-and-shoulders icon in the avatar and user menu, which now share one drawing and moved by a fraction of a pixel.

One source of truth, one owner for state

Those two ideas are related. Anything the tool needs to know about elements comes from the element list, so the palette, the importer, the properties panel and the AI guide can’t disagree with each other.

For the document itself, there’s now a single store. It holds the frames, the selection and the undo history, and everything else changes the document through it and subscribes to find out when it changed. There’s one copy of the data, so there’s nothing to keep in sync. An operation looks like this:

export function deleteSelected(store: Store): void {
    if (!store.selIds.length) return
    store.commit('Delete', (s) => {
        s.docs[s.mode] = s.els.filter((e) => !s.selIds.includes(e.id))
        s.selIds = []
    })
}

commit takes a snapshot first, runs the change, then tells everything to redraw. Each snapshot has a label, so the undo button’s tooltip can say “Undo Delete”, and I added redo while I was there.

Logic kept apart from side effects

Here’s a simplified example of the problem. This function reads text from the DOM (the page), works out what’s in it, then writes a message back to the DOM:

function importLayout() {
    const text = document.getElementById('import-text').value // reads from the DOM
    const items = []
    for (const line of text.split('\n')) {
        const [type, ...rest] = line.trim().split(' ')
        if (type) items.push({ type, text: rest.join(' ') })
    }
    document.getElementById('message').textContent = `Imported ${items.length} elements` // writes to the DOM
}

To test the parsing you’d first need a document instance with those two elements in it. Pulling the logic out leaves a plain function, and a thin layer that talks to the DOM:

// plain function: text in, items out
function parseLayout(text) {
    const items = []
    for (const line of text.split('\n')) {
        const [type, ...rest] = line.trim().split(' ')
        if (type) items.push({ type, text: rest.join(' ') })
    }
    return items
}

// thin layer that talks to the DOM
function importLayout() {
    const items = parseLayout(document.getElementById('import-text').value)
    document.getElementById('message').textContent = `Imported ${items.length} elements`
}

Now the logic can be tested with nothing set up:

expect(parseLayout('card\nhero')).toEqual([
    { type: 'card', text: '' },
    { type: 'hero', text: '' },
])

In the revised tool, parsing a layout from text, building elements from it and turning a document back into text are all plain functions like this, with no external dependencies (the DOM, the store, storage) involved.

TypeScript throughout

I moved everything to TypeScript. It keeps things explicit, and it flags mistakes as they’re made. Two examples:

  • Data that could be anything. What’s loaded from the browser’s local storage could be in an old format, or edited by hand. TypeScript treats it as unknown, so it won’t let me use it as an element until I’ve checked each field. Forgetting that check becomes a type error, meaning the code won’t pass the type check. That way I find the bug while writing the code, and not when someone is using the tool.

    const saved: unknown = JSON.parse(raw)
    saved.docs // type error: 'saved' is of type 'unknown'
    
    const docs = sanitizeDocs(saved) // checks every field, and returns real elements
  • Faulty assumptions. For example, fetching an element from the DOM can come back empty, so to avoid unpredictable bugs it needs to be checked before it’s used. You can do that with or without TypeScript, but without it there’s more room for error, especially in the age of AI, where we’re generating a lot of code. With TypeScript, every unchecked instance is flagged as an error. I handle it once, in a small helper that throws if the element is missing. A typo in an id then fails straight away at startup, and not when someone clicks something.

    export function $<T extends Element = HTMLElement>(id: string): T {
        const el = document.getElementById(id) // HTMLElement | null
        if (!el) throw new Error(`#${id} is missing from the page`)
        return el as unknown as T
    }
    
    const saveButton = $('wf-save') // always an element, never null

Interchangeable parts

There are some parts of the tool that could reasonably change, and where work is saved is the clearest example. It used to call localStorage directly in a few places. Now it only knows about an interface:

export interface Persistence {
    listProjects(): Promise<ProjectSummary[]>
    loadProject(name: string): Promise<SavedProject | null>
    saveProject(name: string, project: SavedProject): Promise<void>
    deleteProject(name: string): Promise<void>
    // ...plus a few others, for autosave and small settings
}

Local storage is one implementation of it, using the same keys as before so nobody loses their saved work. The one place that chooses which implementation to use is the entrypoint the page loads:

export const ready = startApp({ persistence: createLocalPersistence() })

To save somewhere else you write another implementation and change that one single line. I made the interface async from the start so other backends can be swapped in. Local storage doesn’t need it, but anything over a network does, and adding it later would mean changing every caller.

Storage isn’t the only part that can change. Exporters, for example, work the same way: an exporter only builds a result, and a separate function decides what happens to it:

export interface Exporter {
    id: string
    label: string
    build(ctx: ExportContext): Promise<ExportResult> | ExportResult
}

// each format is one entry in this list (html isn't built yet)
export const EXPORTERS: Exporter[] = [png, html]

Downloading is the default delivery, but copying to the clipboard or uploading somewhere would be other functions with the same signature. PNG is the only exporter at the moment.

Tests

I’ve introduced a first set of basic tests. They give me a quick way to confirm that nothing has regressed each time I make a change. I’ve started with a small set and will add to it as the app grows. This is a free tool with nothing critical in it and no personal data, so I’m keeping them minimal and focused on the areas most likely to break: the list of elements, reading and building a wireframe from text, the store and undo, etc.

How I approached it

I worked in small steps. After each one the tool still worked and the build still passed, and I started with the changes least likely to break anything. I also kept the old code around until I could show that the new code did the same job.

Roughly, the order was:

  1. Add a test runner, and move the layout parsing out into plain functions with tests around them.
  2. Pull the drawing code into shared helpers and one definition per element, comparing the output with the old renderers as I went.
  3. Move the template, import synonyms and preview sizes into the element and data files they belong with.
  4. Replace the scattered state with a single store, and route every change through it.
  5. Split the pointer, keyboard and dialog code into their own modules.
  6. Convert everything to TypeScript.
  7. Put storage, exports and commands behind interfaces.

Each of those was small enough to review on its own, and I could have stopped after any of them and still had a working tool. The earlier steps also paid off in the later ones. The tests from step 1 were what let me move quickly through steps 2 to 5.

The result

BeforeAfter
Files146
Largest file1,874 lines290 lines
Maintainability index
A single score from 0 to 100 (higher is better) that combines a file’s size, its complexity and how much there is to read. Below 20 is generally considered hard to maintain. I worked it out per file with the standard formula and averaged the new files.
045
Most complex function
Cyclomatic complexity roughly counts the different paths through a function. Each if, loop or && adds one, a function with no branches scores 1, and a score under 10 is generally considered easy to follow and test. I measured it with ESLint’s complexity rule, on the old file and on the new code with the types stripped out, so both were plain JavaScript.
3719
Functions above complexity 10
The number of functions scoring above 10 on the same measure, which is where a function is usually considered to be getting complicated.
96
Tests0139

There’s more code overall now, around 3,100 lines against 1,874. The explicit types and a more spread out style account for most of that. The aim was code that’s easier to find your way around and change.

Tips if you’re doing this to your own app

  • Spend some time just reading it first. I wrote down what repeated and what was spread across several places before changing anything.
  • Work in steps that leave the app working, and commit after each one. Start with the changes that are least likely to break anything.
  • Introduce testing as soon as reasonably possible. It makes the rest of the changes safer.
  • When the same “are you sure?” logic is turning up in several places, stop patching each one. Route anything that can lose work through a single point that other code can hook into.
  • Before calling a feature done, run it through the awkward states: unsaved work, both frames, a phone, long text, an empty canvas. Most of the problems I found later were in the seams between features, not in the features.
  • If you’re using AI for the refactor and you’re not a professional developer, point it at common practices like the ones used here. Composition, narrow functions and DRY (don’t repeat yourself) are good starting points.
  • Don’t split things up just for the sake of it. Some of this is more structure than a small tool needs, and I’ve done it because I plan to keep adding to this one.

Need a hand with your own code?

I’ve spent years working on structuring and refactoring codebases, and the same approach applies to apps that were built quickly, whether by hand or with AI. If you’ve got one that’s starting to get unwieldy, get in touch and we can have a call about how I can help.

Update: the first round of feedback

Great. This is exactly what we are hoping for. The MVP is getting actual use and we have real feedback to action. Let’s dig into what Adam said and what I did about each point.

  1. Adam saved a project, added some blocks, then re-opened it from the menu. The added blocks were lost without warning. The tool now includes a status indicator that shows if there’s any unsaved work. Additionally, the user is now asked for confirmation before any destructive actions. Rather than just tack this on, I took the opportunity to rethink how the tool handles such things, which I explain below.
  2. Adam imported a layout from AI and noticed the phone frame had not changed. We’d overlooked the UX on this one. An import only updated the frame in view, usually the desktop one, and nothing made that explicit enough, so the phone frame was left as it was. The import dialog now asks where the layout should go (Desktop, Mobile or Both) and only changes those frames. Each frame keeps its own layout, so nothing stale gets left behind by accident.
  3. Adam found clicking, rather than dragging, confusing, because it piled elements on top of one another. Elements now flow into place when you add them. Full-width ones start a new row, the others carry on along the current row while there’s room, and the canvas scrolls to show what was added.
  4. Long headings were poorly supported and would run off the page, and several input fields accepted odd values. Text now wraps to new lines when the available space is filled, and the input fields now keep to sensible limits.
  5. The text was also unreadable on smaller screens. There’s now a zoom button at the bottom right, with controls to zoom in and out, fit the frame to the width, or show it at its actual size. New visitors on narrow screens start on the phone frame, and on a phone the canvas is view-only until you tap to edit it full screen.

Why confirmations justified a proper mechanism

Before blindly working through the feedback, I sorted it into changes that fit within the existing structure and ones worth stepping back on to think about the wider picture. Confirmations were one of the latter.

Presenting the user with a confirmation window is something that’s needed in several places, for example when opening a saved project, starting a new one, or clearing the canvas. Duplicating that logic in each place leads to inconsistent behaviour, which leaves two options: introduce a single shared function, or go a step further and have the code announce what it’s about to do and let separate handlers respond.

The first is viable, but it couples everything together: every place that needs it has to know about that function, and the function has to handle whatever context and parameters each of them passes in.

The second fixes those issues, and is what I opted for. The code simply announces what it’s about to do, without knowing who’s listening, and carries on only if nobody objects. All of the specifics live in separate handlers, each dealing with the one thing it cares about.

Developers will recognise that as an event system, a pattern you’ll find in things like Laravel’s events, Symfony’s event dispatcher and WordPress hooks. It’s worth noting that I haven’t added this just for confirmations. I plan to use it for other things too, which weighed heavily in the decision. If you’re wondering whether your app needs an event system, here are some good reasons to add one:

  • Separation. The code raising an event doesn’t know what responds, and the handlers don’t know what raised it, so each side can change on its own and is easy to test.
  • Optionally, a pipeline. Not every event system works this way, but mine runs an event’s handlers in order and lets any of them stop the rest. That’s useful for actions that can be cancelled: separate checks, such as a confirmation or a rule that blocks something in certain states, can be chained without knowing about each other, and the first one to say no wins.
  • One entry point. Different routes to the same moment raise the same event. Here the Save button, Ctrl+S and the Save as dialog are three ways to save, and all of them raise saved, so everything that cares reacts once, however it happened.
  • Easy to extend. New behaviour means registering a handler, not editing the code that raised the event. The unsaved-changes tip is one handler on one event.
  • One place to look. The events are declared in one catalogue and the handlers for each are listed in one file, so what reacts to what is easy to see.
  • Open to outside code. The same events are exposed on the page, so other scripts can hook in without the tool knowing about them.

How it works

Here’s a heavily simplified version of the implementation:

Dispatching is a one-liner from the code that’s about to do something. It says what’s about to happen and waits to hear whether to carry on:

if (!(await events.dispatch('projectOpening', { name }))) return

Registering handlers means declaring, in one place, which functions respond to which events. Here’s a sample:

import {
    confirmClearCanvas,
    confirmDeleteProject,
    confirmNewProject,
    confirmOpenProject,
    flashSaveTick,
} from './handlers'

export const listeners = {
    saved: [flashSaveTick],
    projectOpening: [confirmOpenProject],
    projectCreating: [confirmNewProject],
    projectDeleting: [confirmDeleteProject],
    canvasClearing: [confirmClearCanvas],
}

Hooking in from anywhere else, including code outside the app:

window.wireframe.on('canvasClearing', () => false)

What it bought me

All of the confirmation logic now lives in one file, and can be invoked from anywhere in the app without leaking details or resulting in duplication.

Additionally, I’ve got a reusable events system that can be used elsewhere, and I’ve already started using it more widely:

  • A status indicator for unsaved work needed one new event, unsavedWorkChanged, raised when there’s unsaved work worth protecting and when there stops being. The save code didn’t change.
  • A first-time tip that explains the indicator is a small self-contained component. A handler mounts it on that event and removes it again once you save, and it remembers it’s been seen, so it only ever appears once.
  • Zoom and full screen announce when they change, so zoom controls and tap-to-edit on phones can react without knowing about each other.

Additional changes after testing it myself

Working through that feedback sent me back into the tool with fresh eyes, and I found a set of rough edges of my own. None of them were bugs in the strict sense. They were more UX type issues, the kind that are easy to miss when you’re working at pace, and I’ll aim to pick up more like them and improve with each iteration.

  • Building a row was fiddly. Creating a row of equally sized and spaced items was previously a manual process. The tool now has Align buttons (left, centre and right), which move a selection as one block against the frame, and a Fill row button, which gives the selected items equal widths from edge to edge with an adjustable gap. If one of them has wrapped onto the next line, it gathers them into a single row first.
  • The selection indicator was misleading. Selecting several items drew one box around everything between them, including items I hadn’t selected. Now only the selected items are outlined.
  • The options panel was a wall of text buttons. It’s now grouped under titles (size and position, align, actions) with icon buttons and tooltips.
  • Text size was tied to the box. Resizing a heading changed its font size, because the size was derived from the height. It’s now a setting in the panel. Elements opt in by declaring it.
  • Phones had their own problems. The save dialog opened with the on-screen keyboard covering it, tooltips were clipped in fullscreen, and editing in a cramped layout wasn’t pleasant. Dialogs now sit at the top on small screens, tooltips adapt, and the canvas asks you to go full screen before you edit, to avoid awkward scroll issues.

A reflection on going fast

The first set of feedback found some fundamental issues, and I’m entirely confident none of them would have made it into production if I’d been following a traditional development process. However, with this tool, I’m opting for speed over thoroughness, partly as an experiment and partly because the stakes are low. It’s a good reminder, though, that AI makes it very easy to produce something that looks right, right up until you start digging in and discover a raft of overlooked details. Testing, code review and QA are more important than ever, and in reality the time given to them needs to be proportionate to the amount being produced.

That said, there’s a time for everything, and perhaps speed does win out for low-risk, low-impact tools like this, as long as the baseline is high enough to keep users coming back and giving feedback. Getting something live is what produced the search data and this feedback in the first place.

On a related note, the expectations on developers keep rising, and it’s getting harder to push back on demands that lead to corners being cut. With luck and experience (hopefully not too painful), product owners will come to the realisation that the speed-up is real but not unlimited, and that it’s worth putting the brakes on a touch. If we’re ten times faster than we used to be instead of fifty, is that really so bad? One way or another, the due diligence needs to be done, and the only question is whether it happens before release or after customers hit the concealed issues (which could be significant if, for example, confidential data is involved).

© John Richardson Development. All rights reserved.