Commit Graph

5 Commits

Author SHA1 Message Date
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