← Projects

Desk — the team’s working window

Client project

A Tauri desktop app: production, tasks and docs of a large e-commerce company in one window

Problem

To see what production is doing, where a task stands and what the docs say, the team at a large e-commerce company opened Grafana, Graylog, Yandex Metrica, AppMetrica, the tracker and the wiki — six tabs and six logins. Every incident started with piecing the picture together across tabs.

What I built

A desktop app for the whole team — developers, QA, the product manager, the team lead and the release manager. Seven modules in three groups: monitoring, business, work. The decisions and the architecture are mine; the code was written by AI agents in the “coordinator → orchestrator → implementers” setup from the agents case.

Modules

  • Load. Server, PHP-FPM and MySQL from Prometheus, traffic and the heaviest routes from Loki, release marks on the charts. Drag a window on a chart and the panels recalculate for those minutes.
  • Logs. Graylog for production and the test server: search, error groups, the full message; the nginx access log.
  • Orders and analytics. Day totals from the database replica, orders by hour against yesterday and last week, platforms, payments, cancellations; visits and conversion from Yandex Metrica and AppMetrica.
  • Development. What is in production now, releases over 90 days, test deployments, the task pipeline by status and “what ships next”.
  • Tracker. “Waiting for my reply” and “My move”, an issue card with its branch → test → master → production → docs path, transitions, time logging, comments, a new issue.
  • Docs. The wiki tree and search, pages open inside the app; ⌘K jumps to an issue key, a module or a search.

Engineering decisions

  • A thin shell. Tauri allows the UI exactly one command — starting the Python backend. The React UI only renders and sends JSON lines over stdin/stdout; no localhost port is opened.
  • An allowlist in the backend. What the app may do is decided by a list of commands inside the backend, covered by tests. The app writes only to the tracker; everything else is read-only.
  • Lanes. Eight backend processes, one per group of commands: a Loki query that takes tens of seconds never blocks the other screens. Requests of the visible module go first, stale ones are superseded.
  • One gateway with the agents. Credentials, sessions and secret redaction live in the same Python CLI the AI-agents plugin uses: the app loads it as a library and stores no passwords of its own.
  • Offline cache. The last response is kept on disk: without a network a screen shows data with a timestamp instead of an error.
  • Own design. Charts on uPlot, tables and styles on my own CSS tokens with no UI library; light, dark and system themes.
  • Three layers of tests. pytest on recorded system responses, vitest on the UI with a fake backend, and WebdriverIO e2e on the built app against live data.
Result
  • 7
    modules in one window instead of six tabs
  • 9
    days from the first decision to the first beta
  • 8
    backend lanes: a slow query never blocks a screen
  • A beta on macOS: production, tasks and docs in one window, under each employee's own credentials.
  • From the first decision to the first beta in 9 days, 23 plan steps, each test-first.
  • Next: a Windows build and in-app updates, on the way to 1.0.
Load: releases in the window, “now” tiles compared with yesterday and last week, server charts with a release mark (demo data)
Traffic by surface from the access log: RPS, response-time percentiles, the slow share and error codes — over yesterday's line
Orders: day totals, orders by hour against last week, platforms and payments (demo data)
Tracker: an issue card with its branch → test → master → production → docs path, transitions and a checklist
Development in the dark theme: releases with their tasks, the pipeline by status and “what ships next”