GitCloud core: shared code for every system
One library with the look, windows, decisions and notifications. The panel, the desktop, the remote, this website and the IT department panel at work all use it.
Diagrams drawn from the core repository.
Task
Every system had its own colours, windows and notifications, and a fix in one panel had to be carried over to the other by hand.
Solution
The Python core provides the page shell, menu, windows, widgets, a decision module, Web Push notifications and live pages over WebSocket. A service adds only its own menu, sections and data, and a file with the same name overrides the core one. Colours, spacing and motion live in one token file, from which a tool builds CSS, JSON and a C header for the remote. The company panel gets the code as a copy, without access to my repositories, and the data stays separate.
Result
- One fix reaches both the personal panel and the IT department panel at work
- Colours from one file: website, panel, desktop and the remote's screen
- Ratcheting CI gates: hand-written colours, animations and unused CSS can only go down
- Tests of both services in Chromium and Firefox before every change
My role
Architecture, code, tests and carrying changes between services.