8 Commits

Author SHA1 Message Date
7a6a7f5d35 feat: Implement alert system and network connectivity handling, refactor error handling across screens 2026-01-30 12:38:25 +01:00
9bb8279631 feat: Refactor automation and site document screens, add device management features, and implement Home Assistant API integration 2026-01-30 12:06:25 +01:00
44d021891f feat: Add document download and upload. Add NFC support and enhance attendance and permits views
- Improved error message handling in LoginScreen for invalid credentials.
- Added new images: mariani-icon.png and mariani-splash.png.
- Updated AddDocumentModal to handle file extensions and improve UI.
- Enhanced CalendarWidget to support month change callbacks.
- Introduced NfcScanModal for NFC tag scanning with animations.
- Revamped QrScanModal to utilize camera for QR code scanning.
- Removed mock data from data.ts and streamlined Office data.
- Updated package dependencies for expo-camera and react-native-nfc-manager.
- Added utility function to parse seconds to time format.
- Refactored document upload logic to use FormData for server uploads.
2026-01-19 18:10:31 +01:00
325bfbe19f feat: Enhance document management with a first draft of upload and download functionalities (needs revision) 2026-01-12 12:42:33 +01:00
6e5b9cde68 feat: Implement document management features
- Added a new DocumentsScreen for managing user documents with search and date filtering capabilities.
- Created AddDocumentModal for uploading documents with file selection and custom title options.
- Introduced SiteDocumentsScreen to display documents related to specific construction sites.
- Implemented SitesScreen for listing construction sites with search functionality.
- Updated ProfileScreen to link to the new DocumentsScreen.
- Refactored RangePickerModal for selecting date ranges in document filtering.
- Improved date formatting utilities for better timestamp handling.
- Added necessary API calls for document and site management.
- Updated types to reflect changes in document structure and site information.
- Added expo-document-picker dependency for document selection functionality.
2025-12-17 18:03:54 +01:00
ef88c518d1 feat: add and enhance PermitsScreen and RequestPermitModal
- add LoadingScreen component
- update utilities
2025-12-15 17:20:57 +01:00
b9807f6cc2 - Refactor Profile and Login screens to use AuthContext for user data
- Enhance RequestPermitModal with multiple time-off types and validation
- Implement CalendarWidget for visualizing time-off requests
- Improve API error handling and token management
- Add utility functions for consistent date and time formatting
- Clean up unused mock data and update types
2025-12-10 18:21:08 +01:00
49b6ecadb2 Add profile and login screen + first api logic draft 2025-12-09 18:29:24 +01:00