Skip to content
M← Index

How I work

I usually start by talking through the task with our CEO. Once I see how it fits into the app, I sometimes spot an easier way for someone to use it. I bring that up as we go. Here are a few decisions I’ve made while building things at RedLayers.

Patio3D

What goes in a share link?

When someone shares a patio design, the other person should be able to pick up where they left off. The menus already save the customer’s choices in one place. I use those same choices to build the link.

When the link opens, the builder restores the choices and runs the rules again. That means an old link can reopen the same choices and give a different result if the rules have changed. If I rename an option, I check what happens to links customers have already sent.

There’s another piece to Patio3D. A business can sign up, set up its own branded builder, and invite teammates. They all use the same app. The frontend loads that business’s settings so its builder shows the right branding and uses the right pricing.

Read the case study

Apex Report Generator

The Word file should match the report

Say a clinician moves a section, edits it, and downloads the report. The Word file should have their saved edits in that order. The editor can keep a draft while they type. Both the report screen and the export read from the same saved report.

I also moved the Word library out of the initial page load. It loads when someone clicks Export. The first download has a bit more work to do, and everyone who just came to review a report skips that download.

Read the case study

Insulation Store Online & InsulationBee

Two stores, one frontend

I built a shared frontend for two insulation stores. One store can use a different name or description for a product. The app picks the right text for that store before it hands the product to either page. That keeps the catalog card and the product page in agreement, even when someone opens a direct link.

I kept filters, sort order, and page number in the URL. If someone sends you a link to page three of a filtered catalog, you can open it and see the same view.

Read the case study

How I review AI code

I use Codex, Cursor, and ChatGPT to get familiar with a part of the code, try a fix, or work through a refactor. When I review a change, I follow it through the app. For the report export, that means checking which report the button hands to Word and what happens if someone clicks twice. I try the behavior myself before I decide what to commit.

What I test and write down

On this site, two quick clicks on the theme button should take you back to the theme you started with. The second click can happen while the cats are still crossing the screen. The code saves the new preference right away, so the next click can read it. There’s a test for those two clicks and a comment that explains why the timing matters.

Read the theme switch test excerpt
first.switchTheme()
assert.equal(color.preference, "light")
assert.equal(second.transitionDirection.value, "to-light")
second.switchTheme()
assert.equal(color.preference, "dark")
assert.equal(first.transitionDirection.value, "to-dark")