Commit Graph

6 Commits

Author SHA1 Message Date
Первов Артем
376b4a6a57 Rework menu for different statuses of equip 2026-04-30 04:40:42 +03:00
Первов Артем
b1aefae2fa Add support for file attachments in equipment status changes
- Introduced functionality for uploading and managing attachments in the ChangeEquipmentStatus module.
- Added new endpoints for uploading and deleting attachments, as well as for downloading them.
- Updated the ChangeEquipmentStatusService to handle attachment storage and retrieval using the new storage service methods.
- Enhanced the ChangeEquipmentStatusEdit and ChangeEquipmentStatusShow components to support attachment input and display.
- Removed deprecated attachment handling from Equipment module to streamline functionality.
- Updated Prisma schema to reflect changes in attachment management.
2026-04-21 12:19:49 +03:00
Первов Артем
d572647772 Refactor App and EmbeddedActiveEquipmentPage for theme support
- Renamed the main component from `App` to `ToirAdmin` for clarity.
- Integrated theme support using `useEmbeddedParentTheme` to dynamically adjust the UI based on the parent theme.
- Updated `EmbeddedActiveEquipmentPage` to utilize the new theme and improved styling for better user experience.
- Added a new utility hook `useEmbeddedParentTheme` to manage theme changes via postMessage from parent origins.
- Enhanced the `vite-env.d.ts` file to include environment variable definitions for parent origins.
2026-04-21 01:50:21 +03:00
Первов Артем
c9eb7b0908 Refactor EmbeddedActiveEquipmentPage to use custom data fetching and remove Authenticated wrapper from App component 2026-04-06 02:46:06 +03:00
MaKarin
c766b556fb Add embedded active equipment view for Drill iframe 2026-04-04 11:13:10 +03:00
MaKarin
cec42f08d0 init equipment & change-status 2026-04-03 21:45:13 -07:00