A full-stack workspace for managing telecom site delivery — towers, telecom equipment, and civil works — covering the complete lifecycle of a site from acquisition and design through construction, integration, acceptance, and handover.
Delivering a telecom site involves dozens of coordinated tasks across acquisition, civil works, telecom installation, power, and commissioning, each requiring evidence, approvals, and deadline tracking. The workspace is the single system of record for that work: it replaces spreadsheet-based tracking with a governed workflow, versioned documents, and real-time visibility across many regions and sites.
Every task in the system moves through a multi-level review-and-approval workflow. Documents are versioned and immutable. Every change is audited. Access is scoped by region and role down to the database row level.
The system models the standard telecom site-delivery pipeline:
- Site acquisition — candidate evaluation, surveys, and site acceptance.
- Design — RF design and detailed design deliverables.
- Civil works (CW) — foundations, towers, shelters, and site construction.
- Telecom equipment (TE) — installation, integration, and on-air readiness.
- Power and utilities — utility coordination and power-on evidence.
- Quality, snags, and rectification — quality checks with photo evidence rules.
- Acceptance and handover — readiness, handover/takeover, and as-built records.
- Dismantle — controlled decommissioning and site restoration.
- Workflow engine with a three-level approval chain on every task, SLA calendars, deadline gates, and escalation.
- Regional, row-level security: every query is filtered by the user's regions and role directly in the database.
- Document management: typed, versioned documents with per-type rules (formats, sizes, photo evidence requirements), immutable file history, withdraw-not-delete semantics, and encrypted, virus-scanned file storage.
- Generic register framework: typed records with validation, child lists, file references, list catalogues, and governed import/export templates — new registers are defined by configuration, not new code.
- Bilingual UI (English/Arabic) with full RTL support, light and dark themes, and switchable view modes (list, wide table, board, feed, map, calendar, chart) chosen from one View menu, remembered per user and register, with saved views.
- Row quick actions and key C: when the pointer rests on a list row, small buttons show the controls the row already has (edit, assign, change status, duplicate); key C starts a new row (the inline add row of the screen, or its New button); both are switched on in Settings > Screens > Interface (off by default).
- Pinned dashboard cards: the star on a dashboard card pins it to your own list, and the pinned cards strip on the dashboard home lets you order and unpin them; the strip sits in the dashboard layout like every other card.
- Pinned records and sites follow you: record and site pins are kept in your profile pin list instead of one browser's storage, so they show on every device; the browser keeps the name, path and changed-since-you-opened-it dot, and a pin it has not seen fills in from the live read.
- Dashboard screen settings: Settings > Screens > Dashboard opens with a card that gathers the dashboard display options: a preview written with the saved format, the state of each option, a reset of all options to their defaults (with a reason), and a reset of the dashboard choices kept in this browser.
- Dashboard print and export: a printed dashboard or card can carry the filter it shows (tab, date, region, cluster, scenario, phase, stream, view), and cards that hold a table get a one-card CSV; both are off by default in Settings > Screens > Dashboard.
- Dashboard keyboard and still page: J and K move between the dashboard cards, and a still dashboard turns every transition, counter and chart animation off while it is open; reduced motion of the device or of Settings > Screens > Motion is always respected. Both options are off by default in Settings > Screens > Dashboard.
- Dashboard Compare with, one period: the Compare with period chosen in the dashboard filter bar can show its change on every headline card (milestones, On-Air, Final Closure, sites total, blocked gates) and be remembered per person; both options are off by default in Settings > Screens > Dashboard.
- Dashboard default filter: each person can save the dashboard filter they use most (for example their region) as their default; it applies when the dashboard opens without a filter, shows a label while active and can be removed. Off by default in Settings > Screens > Dashboard.
- Dashboard empty state: the dashboard can write "n/a" for a figure that is not available (never read as 0) and, when filters leave no sites, say so with a Clear filters button; both are off by default in Settings > Screens > Dashboard.
- Dashboard number format: every figure on the dashboard (cards, tables, finance summary, phase table) goes through one formatter; Settings > Screens > Dashboard sets the thousands separator (on by default) and Arabic-Indic digits (off by default).
- Dashboards and reporting: operational KPIs, workload, status updates, and scheduled exports.
- Collaboration: inbox, approvals queue, messages, announcements, and notifications.
- Registers that link to each other: an editable catalogue of register links (Settings > Register links), custom registers defined in Settings, and a Tools and Equipment register.
- Project insight: Project Status with a detail card per activity (A1 to A8), phase quick filter and group-by Phase, progress forecast, a data quality report, a daily delay log and a site pack (one zip per site).
- Notifications by policy: a notification policy decides who is told what, and each user has personal settings (do not disturb, snooze).
- Media gallery in the Library with grid, list, by-site and by-date views, remembered per user.
- In build (decided, see the ADRs): the Report Center with one A4 print layout, a report library, scheduled email and server PDF (ADR 0016); one Companies page for contractors and their reports (ADR 0017).
- Auditability: a full audit log of data and configuration changes.
- Login card display settings: admin control over what the sign-in card shows (render only, no change to authentication). Plan
pmis/docs/plans/2026-11-28-login-card.md. - Small display features (per device, Settings > Screens > Interface): copy-link button in record drawers, with chart PNG download, last-updated note, due dates in words, totals row and private notes added by their own changes. Details in
pmis/docs/customer/display-extras.md. - Resource capacity planning: planned load against capacity per team and period (plan
pmis/docs/plans/2026-11-28-capacity-planning.md). - Login screen settings: one or two columns, an information panel, up to six background images, an overlay, a frozen notice that blocks nobody, a preview (desktop, phone, light, dark, English, Arabic) and a reset. Plan
pmis/docs/plans/2026-11-29-login-screen.md. - Operations: installer and update scripts, automated database and file backups, and a tested disaster-recovery procedure.
- Comment threads: reply under a comment (one level) and attach a comment to one field of a task or register record. Switch and reply-notice rule in Settings > Alerts > Comment threads (default on, EN/AR). Plan
pmis/docs/plans/2026-11-29-comment-threads.md. - Spreadsheet editing on the Site Master grid: copy a range of cells, paste from Excel and fill down; every cell saves through the one-cell edit with its validation. Switch in Settings > Screens > Tables (default on) and per screen in the Layout panel (EN/AR). Plan
pmis/docs/plans/2026-11-29-range-edit.md. - System health page: a read-only overview for System Admins in Settings > Data (health answer, mail queue, last run of each job, last deployment, open alerts). Plan
pmis/docs/plans/2026-11-29-system-health.md. - Training mode banner: a switch in Settings > Data that shows a Training mode banner on every screen (EN/AR). It changes nothing else. Plan
pmis/docs/plans/2026-11-29-training-mode.md. - Phone layout: a bottom tab bar (My Work, Approvals, Inbox, Sites, More), pull down to refresh and the + shortcuts within thumb reach on phones; each is switched in Settings > Screens > Interface (EN/AR), all off by default. Layout only. Plan
pmis/docs/plans/2026-11-29-field-first.md. - Configuration changes: a read-only list in Settings > Data of every change to the settings (who, when, why) with the value before and after. Plan
pmis/docs/plans/2026-11-29-config-diff.md.
Derived from the running system:
| Area | What it covers |
|---|---|
| Sites | The site register: one record per site with its full task pipeline, streams, and status |
| Registers | Acquisition, RF design, procurement, utility coordination, permits & HSE, quality & snags, incidents, issues, risks, meetings, lessons learned, dismantle, as-built, readiness & handover, change control, invoices, financial advances, contractors, warehouse, fleet & assignments |
| Documents & Library | Typed document slots on tasks, sites, regions, and records; blank forms; generated documents; archive |
| Templates & Import | Governed Excel templates, batch import with reconciliation, and export |
| My Work | Personal queue, daily plan, approvals, follow-ups, and workload |
| Dashboard | Operational cards, progress curves, and drill-downs |
| Administration | Users, roles, permissions, departments, groups, delegations, settings, announcements |
The full map, with diagrams, is in ARCHITECTURE.md.
- API: Node.js (NestJS) + Prisma, contract-first against an OpenAPI 3.1 specification — no endpoint exists without a contract entry.
- Database: PostgreSQL 16 with row-level security; migrations are mirrored SQL-first under
pmis/db/sql/. - Web: React + TypeScript + Vite + Tailwind, generated API types, MSW-mocked e2e tests.
- Files: pluggable storage (local or S3-compatible) with per-file encryption keys and virus scanning on upload.
- Design system: shared tokens (
pmis/design/tokens.*) synced into the web app. - On-Air board of the regions: a dashboard card that ranks the regions by the sites they took On-Air this month, with the streak in months; read only, switch in Settings > Screens > Motion (EN/AR). Spec
pmis/docs/spec/on-air-board.md.
Design principles: contract-first, database-enforced authorization, immutable history, configuration over code, and no deletions (records are withdrawn, never erased).
pmis/
apps/api NestJS API, Prisma schema and migrations
apps/web React web app
contracts/ OpenAPI specification (the contract of record)
db/sql SQL migrations and grants (mirror of the Prisma migrations)
db/seed Seed data
design/ Design tokens, prototype, print forms
docs/ Specs, ADRs, plans, handover notes
infra/ CI notes, backup scripts, runbook
tools/ Installer, capacity sizer, import tooling
tests/ Database security test cases
scripts/ Small helper scripts
Prerequisites: Node.js 24 and PostgreSQL 16.
# API (from the repository root)
cd pmis/apps/api && npm ci
export TEST_PG_ADMIN_URL=postgresql://postgres:<password>@127.0.0.1:5432/postgres
export TEST_PG_APP_PASSWORD=<pmis_app-password>
npm run typecheck && npm run lint && npm run build && npm test
# Web (runs against an in-browser mock layer; no API needed)
cd ../web && npm ci && npm run dev
npm run typecheck && npm run lint && npm test && npm run build
npm run e2eA scripted installer (pmis/tools/install/) provisions a production server, including storage, backups, and updates.
ARCHITECTURE.md— the system map with diagrams, layers, data model and current counts.pmis/docs/README.md— index of every document folder, the API contract and the runbooks.pmis/README.md— what each folder of the application holds.pmis/HANDOVER.md— current build state and reading order for implementers.pmis/CHANGELOG.md— every rule and feature change, newest first.pmis/docs/adr/— architecture decision records.pmis/docs/spec/— task catalogue, business rules, and user stories.pmis/infra/RUNBOOK.md— backup, restore, and disaster-recovery procedures.pmis/docs/ops/README.md— operations index (deploy, update, migration recovery, feature notes).
- Contract-first: every API change starts in
pmis/contracts/openapi.yaml. - Keep the Prisma migrations and their
pmis/db/sql/mirrors identical. - All checks must pass: API tests on PostgreSQL 16, web unit tests and Playwright e2e, contract lint, and installer shell checks.
- Database changes ship as forward-only migrations; destructive operations are reviewed separately.
Row-level security on every table, least-privilege database roles, audited configuration changes, encrypted file storage with upload-time virus scanning, and no secrets in the repository. Report issues privately to the maintainers.
Private and proprietary. All rights reserved. No license is granted to use, copy, modify, or distribute this software without written permission from the owner.