Skip to content
ONDISTUDIOS
Case file · web · offline

Project Ember

A field-notes app for inspection crews that works with no signal and syncs later.

Fleet role: full build. One lead, three builders, two reviewers.

Stack: typescript · pwa · indexeddb · node

Sample project: there is no live site or repository behind these buttons yet.

Watch

Walkthrough

Video slot · a 1–2 minute walkthrough goes here

Now playing: a generated placeholder, drawn on your device. No file is loaded.

In plain words

What it does

  1. 01Inspectors fill in checklists and take photos in basements with no signal.
  2. 02Notes sync on their own when the phone is back online.
  3. 03Two people can edit the same report and nothing is lost.
How it is built

Four layers

Pull the layers apart and pick one to see what it does and where its code lives.

  1. L1 · Interface

    Checklist screens that open instantly because they are stored on the phone.

    app/src/screens
  2. L2 · Local store

    Every change is written to the phone first as a small record of what happened.

    app/src/store/log.ts
  3. L3 · Sync engine

    Merges records from several phones in the same order everywhere, so all copies end up equal.

    packages/sync/src/merge.ts
  4. L4 · Server

    Keeps the shared copy and the photos. It never overwrites; it only adds.

    server/src/routes
Honest part

What went wrong and how we fixed it

Incident 01

Two edits, one lost

symptom
When two inspectors changed one field offline, the later sync erased the earlier one.
cause
The app compared whole reports instead of single fields.
fix
Changes are now merged field by field, and a real conflict is shown to the user.
lost edits
before 12%
after 0%
Incident 02

Photos filled the phone

symptom
After a week offline the app used several gigabytes.
cause
Full-size photos were kept until sync.
fix
Photos are shrunk on capture; the original is removed once the server confirms it.
storage per week
before 3400 MB
after 260 MB
Figures

By the numbers

33tasks shipped
87review rounds
0notes lost in testing
14dayslongest offline run

Sample figures: invented, like the rest of this project.

Keep going

Neighbouring projects

All projects