Building the flagship (3): a packaged UI library, i18n, and one-command Docker
TL;DR — The Admin flagship isn't just an app — it's the app the companion UI library ( fitz_liveviews.ui.* ) was extracted from. The DataGrid, the sortable headers, the toolbar, the pager, the confirm dialog, the toasts, the tree view, every form input — all drop-in components you import and render. They're themed through --flv-* design tokens (so a light/dark/auto switch is free), translated…
The Admin flagship app is not just a standalone application, but a comprehensive package that includes a UI library, internationalization (i18n) support, and a single Docker command for deployment. This library, called fitz_liveviews.ui.*, contains a wide array of reusable components such as DataGrids, sortable headers, toolbars, pagers, confirm dialogs, toasts, tree views, and various form inputs.
These components are designed to be easily imported and rendered within any application, with styling applied through --flv-* design tokens that support light, dark, or automatic themes. The entire system is orchestrated using a Docker Compose setup, requiring only one command to start the entire stack, including a PostgreSQL database and the application itself.
Translation is handled through a simple server-side dictionary, allowing for effortless localization between English and Spanish without the need for additional i18n libraries. The entire environment is encapsulated in a Docker Compose file that defines the necessary services, dependencies, and configurations, ensuring a consistent and reproducible setup.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.