Skip to content

Old front history decisions

Generated from front/docs/adr/*.md

Records from front/docs/adr, kept as history of the application before the monorepo. Project-wide decisions are in Architecture decisions.

# Decision Status Date
0000 Record architecture decisions Accepted 2026-10-08
0001 Restart the front-end as a REST-consuming CRA + TypeScript app Accepted (retroactive); the build tool part is superseded by 0010 2021-09-17
0002 API access and app state through @escolalms/sdk and its React context Accepted (retroactive) 2021-10-12
0003 API model types generated from Eloquent (@escolalms/ts-models) Accepted (retroactive) 2022-03-18
0004 Shared UI library @escolalms/components with styled-components theming Accepted (retroactive) 2022-05-25
0005 Switchable local vs published source for @escolalms/components Accepted (retroactive) 2024-02-13
0006 Render H5P content with the headless @escolalms/h5p-react package Accepted (retroactive) 2021-10-08
0007 Play SCORM packages client-side with @escolalms/scorm-player Accepted (retroactive) 2025-02-18
0008 Router type (HashRouter / BrowserRouter) chosen by configuration Accepted (retroactive) 2021-11-08
0009 Runtime configuration injected into the static build (window.VITE_APP_*) Accepted (retroactive) 2022-05-24 (first version); 2024-09-30 (current PHP-based version)
0010 Migrate the build from CRA (react-app-rewired) to Vite, on React 18 Accepted (retroactive) 2024-02-12
0011 Progressive Web App service worker Deprecated (retroactive) - registration removed 2021-10-14, files deleted 2022-05-25 2021-09-20
0012 Sentry for error monitoring, with releases and source maps from CI Accepted (retroactive) 2021-11-18
0013 Ship the same SPA as iOS/Android apps with Capacitor Accepted (retroactive) 2024-05-15
0014 i18next for UI strings, merged with translations shipped by Components Accepted (retroactive) 2021-09-17 (i18next); 2022-06-07 (merge with Components resources)
0015 CI on GitHub Actions: static analysis, GitHub Pages demo, Docker Hub images Accepted (retroactive) 2021-09-20 (Actions after restart); 2022-04-21 (Docker images)