feat: add RideBus status widget integration

- Implemented StatusWidget component for embedding RideBus service status.
- Created widget-client.js for client-side interaction with the status widget.
- Developed install-widget-integrations script to automate integration into PWA, website, and admin projects.
- Introduced server-side widget rendering in widget.mjs for generating status widget HTML.
- Added comprehensive tests for widget functionality and integration.
This commit is contained in:
2026-10-14 00:24:40 +03:00
parent 191b80b6b1
commit cb1977b65f
18 changed files with 477 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ COPY --from=build /app/dist ./dist
COPY server ./server
COPY shared ./shared
COPY config ./config
COPY public/widget-client.js ./public/widget-client.js
RUN mkdir -p /app/data && chown -R node:node /app/data
USER node
EXPOSE 5188