Eyal Mordechai

Shift Master · Internal tool · 2026

Rebuilt a sales team’s shift tool, from bug fixes to a full redesign

A sales team that sells through chat ran its shifts, reports and pay on a tool nobody trusted. I worked on it from the inside for a month, then redesigned it from scratch and built the parts that mattered most.

Role
Freelance developer & designer (part-time)
Original
Jul–Aug 2026
Built with
Figma, Next.js
Status
Live demo
Open the live demo →
The manager's Daily reports screen next to the rep's My day screen on a phone

The problem

Nothing on the screen could be trusted

The team sells for several brands over WhatsApp, Instagram and website chat. Reps work morning and evening shifts and file a report at the end of each one. Managers use those reports to see the day, chase what's missing and pay people.

When I joined, the tool had already been through two pairs of hands: an outside developer built it and left, then the client kept it going himself. No spec, no documentation, requests by WhatsApp. The first weeks went into making it stable. Once it was, the requests got specific: money calculations, exports, a clearer schedule.

Channels

  • WhatsApp
  • Instagram
  • Website chat
  • Several brandsEach rep covers a few accounts

Reps

  • Morning shift12:00 – 19:00
  • Evening shift19:00 – 02:00

End of every shift

  • Shift reportRevenue, availability and anything to follow up

Manager

  • Sees the dayWho reported, what came in
  • Chases what's missingLate and missing reports
  • Pays peopleMonthly totals against goals

What I saw from inside

No interviews. Just the product itself.

The client wanted speed, not questions. So I learned by reading the product itself: the screens, the data and the history of changes.

Design System 🧩

Every screen was its own island

Screens were added one at a time with no shared language. Colours carried no meaning, and nothing told you what mattered first.

Privacy 👁️‍🗨️

Risky things sat in plain sight

Sensitive details were visible in the reps list, and Delete sat next to Edit in every row.

Currency Complication 💹

Money was the hard part

Customers pay in euros, dollars and shekels, and shekel income includes VAT. I built the first version of the conversion, fast, and it had flaws I only found later.

The original schedule and reps list, with six numbered problems marked on them

What I found

  1. 1

    Shifts stack day by day, so the same shift sits at a different height on each day. You can't scan across the week.

  2. 2

    Green, amber and grey badges and amber borders, with no legend and no rule shared with other screens.

  3. 3

    A rep covering five accounts looks the same as one covering a single account, and accounts nobody covers aren't shown at all.

  4. 4

    The brightest thing on the screen is Export, not anything that needs the manager's attention.

  5. 5

    Sensitive details sit in a column of the list, one click away from being shown.

  6. 6

    A red Delete sits next to Edit on every row, one slip away from removing a rep.

What I changed

Two fixes from inside

Rendered from the real code at two points in its history, with made-up names and data.

01

The challenge

Every day stacked its own shifts

The same shift sat at a different height on each day, so you couldn't scan across the week. Overloaded reps and accounts nobody covered had to be worked out by hand.

The fix

Shifts as rows across the week

Morning and evening became rows across all seven days. A rep with three or more accounts in one shift gets a red border, and every shift lists the accounts nobody covers.

The schedule before, with shifts stacked per day, next to the schedule after, with morning and evening as rows across the week

02

The challenge

Risky things, one slip away

Sensitive details were visible in the reps list, a red Delete sat next to Edit in every row, and changing a password meant typing into a field you were told to leave empty.

The fix

Deliberate actions only

Sensitive details left the list, Delete moved into the edit window, and changing a password became an explicit step behind an edit button.

The reps list and the edit window, before and after

The redesign

Two people, two screens

I started over with the questions the project never had time for. Two people use the tool, and each needed something different from it.

Manager

At the end of the day

“What happened today, at a glance?”
→  Today comes first: revenue, who reported, what's overdue.
“Who do I need to chase?”
→  An overdue list, and month cards sorted by who needs attention.
“Is each rep on track this month?”
→  Progress against each rep's goal, in the same four status colours.
“Can I trust these numbers?”
→  The server re-checks and re-prices every report, and each one keeps its rates.

Rep

Closing a shift on the phone

“Which shift am I closing?”
→  My day opens on today's open shift, with anything still missing next to it.
“Customers paid in three currencies. How do I enter that?”
→  Each amount in its own currency, with the dollar value shown as you type.
“What if I get interrupted?”
→  The draft is saved on the phone, and Continue report returns to the same step.
“Did it go through?”
→  A sent screen, and the month's progress updates straight away.

Before · my first version

  1. Rep enters amounts

    In the shift report

  2. Total is calculated

    Shekel fallback rate ten times too small

  3. Report is edited later

    By the rep or the manager

  4. Value changes

    Re-priced at today's rate, and €, $ and ₪ added as one number

After · the redesign

  1. 1 Accounts

    Tap the ones you worked on

  2. 2 Revenue

    Each amount in its own currency, $ shown as you type

  3. 3 Quick check

    Availability and four yes/no flags

  4. 4 Review

    Total, month progress and the rates used

  5. Server checks again

    Re-validates and re-prices. Never trusts the browser's total

  6. Daily reports

    The manager sees it, with the rates it was sent with

  • Draft saved on the phone at every step
  • Editing later keeps the original rates
  • The same rules on the phone and the server, and 33 unit tests on the money maths

Design decisions

Two decisions that shaped the redesign

03

The challenge

My first version of the money maths had three bugs

In my original version, a shekel fallback rate was ten times too small, editing a report re-priced it with today's rate, and edits added euros, dollars and shekels as if they were one currency.

The fix

Enter it the way the customer paid

Each amount goes in its own currency, and the dollar value with VAT removed appears as you type. Every report keeps the exchange rates it was sent with, so editing it later never changes its value.

The revenue step of the phone report next to the review step with the saved exchange rates

04

The challenge

Colours that meant nothing

Colours were picked screen by screen and carried no meaning, so nothing told a manager what needed attention first.

The fix

Four status colours, one rule everywhere

Green is done, amber is waiting, grey is in progress, red is missing. The same rule on tiles, cards and badges.

Daily reports, using the four status colours on progress bars and badges

Building it

Built, not just drawn

I built the manager screens and the phone report in Next.js with fictional data. The server checks every report again and does its own maths, so a total from the browser is never trusted. Drafts save on the phone as you type, and 33 unit tests cover the money rules.

Building it surfaced a question the design had hidden: reports record revenue per channel, but managers think per brand. The next step would be to record revenue per brand in the report itself, so the manager's numbers come straight from the rep.

On the phone

Report wizard

  • Draft saved as you type
  • Same validation rules as the server
  • Dollar value shown as you type

On the server

Server action

  • Checks the report again
  • Re-prices it in cents, never trusts the browser's total
  • Saves the rates with the report

For the manager

Daily reports

  • Reads reports per request
  • Shows the totals the server priced
  • Old reports keep their own rates
me/actions.ts
// The server checks again. It never trusts the browser.const errors = validateReport(draft, getAssignedAccounts(ME));if (Object.keys(errors).length) return { errors }; // Editing a sent report keeps its original rates.const rates = sent.find((r) => r.shiftId === shiftId)?.rates ?? getRates();const paid = paidFromDraft(draft);…totalCents: priceReport(paid, rates).totalCents,
terminal
$ npm test  ✓ src/lib/report.test.ts (22 tests) ✓ src/lib/sent.test.ts (7 tests) ✓ src/lib/money.test.ts (4 tests)  Test Files  3 passed (3)      Tests  33 passed (33)
Built withFigmaNext.jsTypeScriptTailwind CSSVitestVercel
Open the live demo →

Reflection

Ask first, when you can

In the original project, speed mattered more than questions. So I learned to research through the product itself: the code, the data, the history of changes. The redesign is the version where I got to ask the questions first.

A WhatsApp chat with the bot next to the CRM card it fills in

Next project

Lead Bot

A WhatsApp AI agent that warms up leads and updates them in the team’s CRM

Client work2026
Read the case study →