The division follows about five main work items per project, such as piling, concrete, steel structure, piping and girders. Those numbers lived in an Excel workbook with a Power Pivot model, pasted and refreshed by one person, with no verification, delay reason, photo or history. An earlier web app was hardly filled in. DashPro is the rebuild, and this page shows what runs today and what is still planned.
What it is and who will use it
DashPro (Project Monitoring System) is a web application for the EPCC Division of PT Wijaya Karya (Persero) Tbk to follow the main work items of every project: plan against actual per work breakdown item, daily and monthly field reports with verification, and progress numbers that division leadership can trust. It replaces an Excel and Power Pivot dashboard and an earlier web app. I design, build and lead the rebuild as Lead AI Engineer for digital transformation in the division.
| Role | Job in DashPro | Built today |
|---|---|---|
| RoleField executor (Pelaksana) | Job in DashProReports the day's volume, manpower, hours, equipment and photos from a phone, with a reason when below plan, even without signal | Built todayAccount, PIN, and a no-OTP mode for field accounts; reporting is planned |
| RoleProject Control (PC) | Job in DashProThe data hub of a project: members, calendar, baseline, verification and monthly progress at the project's own cut-off | Built todayMembers and working calendar |
| RoleProject Manager (MP) | Job in DashProExactly one per project on any date; approves the baseline at level one and reviews monthly reports | Built todaySees the whole project; approvals planned |
| RoleObserver | Job in DashProReads a whole project without write rights | Built todayYes |
| RoleDivision Coordinator | Job in DashProCreates projects, appoints the MP and PC, owns division reference data and gives final baseline approval | Built todayProjects, appointments and reference data |
| RoleLeadership | Job in DashProReads every real project, with project dashboards, an S-curve, a division portfolio and a presentation mode | Built todayRead access; dashboards planned |
| RoleAdmin | Job in DashProManages accounts, devices, access requests and the security trail, and sees no project data | Built todayYes |
The problem: two tools that did not stick
The division does not try to watch every activity of a project. It watches about five main work items per project. Until now those numbers lived in one Excel workbook with a Power Pivot model. Field progress reached Project Control in batches, one person pasted it into a table, refreshed the model and set slicers and timelines one by one. Along that path there was no formal verification, no delay reason, no photo, no change history and no view across projects.
The logic sat in 31 hand-written DAX measures, with a different productivity formula for each of nine work types, and several formulas did not compute what their names promised. Leadership could not fully trust the dashboard.
An earlier web app tried to replace the workbook but was hardly filled in. It was built around data tables rather than people's daily work: a field reporter without an extra role was refused at the first step, one report took a four-step wizard per work item, there were no photos and no notifications, and the approval chain and generic roles did not match how the division works. Everyone could see every project.
Two kinds of value were never harvested. Dated delay reasons, photos and weather are the evidence a contractor needs when it claims a time extension from the owner, and real productivity across projects is what estimators need to price the next tender realistically.
Both generations failed on adoption, trust in numbers and organisational fit, not on technology.
DashPro is designed around those three points: reporting must be easier than not reporting, every number must have one tested definition, and roles must follow how the division really works.
| Before | With DashPro |
|---|---|
| BeforeOne workbook owner pastes field data and refreshes Power Pivot | With DashProEach role enters and checks its own data in the app (projects, members and calendars built; reports planned) |
| BeforeProductivity formulas hidden inside the workbook model | With DashProFormulas stored as versioned trees with derived units, checked by golden tests |
| BeforeGeneric roles, everyone sees every project | With DashProDivision roles plus project roles, with project scope enforced by row level security |
| BeforeNo record of who changed what | With DashProAppend-only audit and security trails written in the same transaction as the change |
| BeforeCut-off forced to the calendar month | With DashProCut-off rule, tolerance, radius and working calendar stored per project |
| BeforeDelay reasons missing or typed freely | With DashPro31 reason categories in 9 groups, to be required when actual falls below plan |
| BeforePassword only, no control over devices | With DashProGoogle or password, then a device code by email and a personal PIN, with Admin control of devices |
How it will work, role by role
The first three steps run today; the rest are specified and planned.
Create project
Built: Coordinator, with MP and PC
Team and calendar
Built: members, duties, working days
Baseline
Planned: PC builds, MP and Coordinator approve
Daily report
Planned: from a phone, even offline
Verify
Planned: only approved reports count
Read and decide
Planned: S-curve and portfolio
The journey in detail
Create project (Coordinator), built
Enters code, name, owner, regency, contract period, MP and PC; both receive an in-app notice and an invitation email.
Set up the team (PC or MP), built
Adds members with active periods, under separation-of-duty rules checked by the server.
Set the calendar (PC), built
Adjusts the weekly working pattern and dated exceptions; national holidays come from the division list.
Baseline (PC, MP, Coordinator), planned
PC builds the plan per work item from a work-type template, MP approves level one and the Coordinator gives final approval.
Daily report (field executor), planned
Reports volume, manpower, hours, equipment and photos from a phone, with a reason when below plan.
Verify (PC, or MP when the PC submitted), planned
Approves or returns reports with a note; only approved reports count in official numbers.
Monthly progress (PC and MP), planned
PC submits overall progress at the project's own cut-off and the MP reviews it.
Read and decide (Leadership), planned
Project dashboards with S-curve and deviation in points, and a division portfolio.
What runs today
The foundation is the part people touch first and trust least when it goes wrong: getting in, being given the right access, and seeing only their own projects. That is what the first releases built.
Everyone enters through one gate. Google is the main path, and email and password stay available. A new device proves itself with a six digit code sent by email, valid for 10 minutes and single use, and can be trusted for 90 days. Then each person creates a six digit PIN, which unlocks the app after 6 minutes of idle time; five wrong PINs revoke the device. Sessions end 12 hours after sign-in, and the privacy notice appears once per version.
Sign-in card with Google first.
Told when something concerns you
In-app notices and emails are written in the same transaction as the action that caused them, and a background worker sends the emails. Invitations go out once per person per project, and security emails follow a sign-in from a new device or an Admin change to an account. The phone layout has bottom navigation for people who work on site.
Invitation email for the PC of a new demo project, caught by a local mail catcher.

One design system
- Tokens in one file with machine-checked contrast; body text at least 7:1.
- Status always shown as icon, text and colour; offline reports are never shown in red.
- Screen text only from one dictionary per module, without dashes or middle dots.
- Touch targets of 44 px and 17 px inputs on touch screens.
What comes next
Field reporting, verification and dashboards are specified but not built. The figures below are design references drawn from the design kit with synthetic data, to show the intended screens. They are not screenshots of working software.
Design reference, not built: the field executor's day, report form and offline state.
- A field executor sees today's work items with one button per card and reports on one screen.
- Reports are saved on the phone without signal and sent when signal returns.
- The PC verification list flags unusual values, below-plan items and photos taken outside the project radius.
- Project dashboards show progress against plan in points, an S-curve and on-time reporting; leadership gets a division portfolio and a presentation mode.
How it is built
DashPro is a pnpm monorepo in TypeScript. The web app is Next.js 16 with Server Actions, Route Handlers and Auth.js. A separate Node.js worker runs all background work. A pure rules package holds time, decimal numbers, access decisions, screen text and the formula engine with no I/O at all: no database, no clock, no random numbers, so the same functions run in the browser, on the server, in the worker and in tests. One database package is the only place that talks to PostgreSQL.
Decisions that shaped it
One data-access gate
Code calls the database only through a gate that sets the account, request and project scope per transaction; a write outside the gate is rejected by the database.
Row level security from day one
Project scope is enforced inside PostgreSQL, so a missed check in application code cannot show another project's data.
Rights read on every request
One pure function decides rights for pages, actions and the menu, from facts read in the database, so a role change applies without signing out.
Decimals, never floats
Progress and productivity are official numbers, so decimal.js avoids rounding drift and a test fails if any table gets a float column.
A worker on PostgreSQL, no Redis
Row locks with SKIP LOCKED and idempotency keys are enough for one division's volume, and avoid running another service.
A real formula engine
A formula is a versioned JSON tree that the engine parses with error positions, gives a derived unit and a readable sentence, and evaluates in decimals; nine work types with 21 outputs ship as reference data.
One dictionary for screen text
Users are non-technical and many are over 40, so wording lives in one Indonesian dictionary per module that guard tests can check.
Specify before coding
The earlier generations failed on fit, not technology, so study, research, requirements and build-ready specifications came before the first line of product code.
What happens when a Coordinator creates a project
Fill the form
Code, name, owner, regency, contract dates, MP and PC; the time zone is filled from the regency.
Check the name
A similar-name check runs while typing; on save, a close match needs an explicit confirmation.
One transaction
Claims an idempotency key and inserts the project, its default calendar, cut-off rule, thresholds, radius and the MP and PC memberships.
Trail and notices in the same transaction
The audit trail, in-app notifications and queued invitation emails are written together, or not at all.
The worker sends
After commit a signal fires and the worker sends the invitations in its next 15-second round, retrying after 1, 5 or 15 minutes if needed.
Quality and release
- Guard tests enforce the conventions: database imports only through the gate, a pure rules package, at most 600 lines per file, and screen text only from the dictionary.
- Integration tests rebuild a test database from zero and check every table for context triggers, row level security and the absence of float columns.
- Golden tests check the formula engine against worked examples taken from the study of the Excel workbook.
- Playwright tests run in Chromium and WebKit at 390, 1024 and 1440 px, with an accessibility check against WCAG 2.2 AA and a layout checker.
- A release only accepts a commit that is already on main; the deploy builds a new release folder, backs up and migrates the database, swaps a symlink and checks health, and an unhealthy release rolls back on its own.
- The sign-in flow went through a security review and was hardened afterwards.
Status and how success will be judged
Work started in November 2026 and followed a fixed order: a study of the old workbook and app, comparison research, product requirements, build-ready specifications, then code. The first horizon is split into nine releases that follow the dependency chain, from the access foundation to a two-week pilot on one project and expansion. What exists now covers the access foundation and the project, people, reference-data and engine parts of the second release. The catalogue and formula screens, baseline, daily reports, verification and dashboards come next, in that order.
The pilot decision is written down in advance. Continue if yesterday's report completeness, the product's north-star measure, reaches 75 percent in the second week and every golden test passes. Change course between 50 and 75 percent. Stop if it stays below 50 percent for two weeks, or if an official number is wrong and cannot be fixed within two working days. Excel is then retired project by project, without a parallel run.
75%
report completeness needed to continue after the pilot
7:1
minimum contrast for body text
179
colour pairs checked in both themes
Still running project control in Excel?
I rebuild internal tools around how people actually work, with one tested definition for every number.
Questions people ask
- A project monitoring system being rebuilt for Wijaya Karya's EPCC Division. It will track plan against actual for the main work items of every project, with daily field reports, verification and dashboards. The secure foundation, projects, people and calendars already run.
- A study of the old workbook and the earlier app found that both failed on adoption, trust in numbers and organisational fit, not on technology. DashPro starts from those three points: easy reporting, one tested definition for every number, and roles that follow how the division works.
- No. It is in development. The foundation is built, and baseline, field reports, verification and dashboards follow in planned releases, ending with a pilot on one project and a written rule for whether to continue.




