Commit graph

104 commits

Author SHA1 Message Date
a268afee74 feat: enhance UI components and improve functionality across various modules 2025-12-04 17:16:49 +01:00
830b89d4b1 refactor: implement getStorageUrl utility for consistent storage URL generation 2025-11-28 15:11:14 +01:00
2e3eb7f4d1 refactor: update image and video source URLs to include cache keys for better cache management 2025-11-24 18:03:13 +01:00
70e24b5abe refactor: update NumberInput usage to utilize defaultValue and improve field handling in forms 2025-11-21 14:09:06 +01:00
f4262b8711 feat: Refactor video handling in announcements
- Updated the announcement detail component to directly use images and videos from the data structure.
- Changed the form edit component to accommodate the new media structure, replacing AnnunciWithImages with AnnunciWithMedia.
- Modified the announcements list to initialize videos as an empty array.
- Enhanced the announcement view to handle external videos and updated the footer to display them correctly.
- Introduced a new utility function to generate YouTube embed URLs.
- Updated the database schema to replace url_video with external_videos and added a new videos_refs table for video management.
- Implemented video processing logic, including downloading, transcoding, and thumbnail generation.
- Added migration scripts for the new videos_refs table and updated existing references in the database.
2025-11-18 15:20:14 +01:00
de034c0eb7 refactor: streamline AnnuncioCard and CompatibiliDialog components, enhance data handling and styling 2025-11-17 19:01:21 +01:00
7c88d0af86 refactor: update styling for various components to enhance visual consistency and user experience 2025-11-17 18:35:30 +01:00
169dccfc7d feat: update Admin confirmation modal to display transient status information; refactor related components and enhance localization strings 2025-11-12 17:05:05 +01:00
3dc0bccb58 feat: implement lazy loading for CardAnnuncio component; add skeleton loading state and enhance InputNumber component with height prop 2025-11-12 15:52:04 +01:00
7666f08307 feat: add NumberInput component for enhanced numeric input handling; integrate react-number-format 2025-11-11 18:43:51 +01:00
d116ebd3d5 feat: integrate DocumentiUploadSection for document handling in various components 2025-11-11 15:41:20 +01:00
4408295f56 feat: add admin override switch for ignoring service preferences in AnnunciCompatibili dialog 2025-11-11 15:41:07 +01:00
d894f9d6ec feat: enhance user management and document handling; refactor service and schema integrations 2025-11-10 16:27:15 +01:00
0b43b5bcc3 feat: update confirmation modals and translations; refactor service announcement filtering logic 2025-11-10 11:52:36 +01:00
b7850f6994 feat: update package dependencies and enhance UI components with badges; refactor service dialogs and remove unused components 2025-11-07 17:03:08 +01:00
23525d8f14 feat: add AdminLavoraConferma and AdminContratto components for managing service confirmations and contracts
- Implemented AdminLavoraConferma component to handle confirmation processes with document management.
- Added AdminContratto component for managing rental contracts and related documents.
- Introduced shared components for document selection and display (DocInfo and DocCombo).
- Enhanced storage controller with a new function to retrieve storage ID from user storage ID.
- Updated database interactions to improve error handling and data retrieval.
2025-11-06 17:03:42 +01:00
82aeb763a0 refactor: Rename 'updated_at' column to 'media_updated_at' and update references throughout the codebase 2025-11-06 13:17:20 +01:00
7b0469467f refactor: Remove AnnunciGrid component and update Annunci page to use CardAnnuncio directly 2025-11-04 19:18:13 +01:00
6ad74c9002 Refactor and enhance UI components across the application
- Renamed `AnnunciInConferma` to `AnnunciInConfermaDialog` and `AnnunciSelezionati` to `AnnunciSelezionatiDialog` for clarity.
- Simplified button notifications for announcements by always displaying the count.
- Introduced `AnnunciInConfermaAccordion` and `AnnunciSelezionatiAccordion` components to manage accordion behavior for announcements.
- Updated button styles to remove unnecessary flex properties for better alignment.
- Improved form validation logic in `FormNewServizioAcquisto` for better clarity and performance.
- Enhanced the `UploadModal` to accept props directly, simplifying the component structure.
- Added a new `CardAnnuncio` component for displaying announcements with improved layout and functionality.
- Updated global styles to include a new background color variable.
- Refactored API routes and controllers for better clarity and maintainability.
- Cleaned up various components by removing redundant class names and improving accessibility.
2025-11-03 10:59:45 +01:00
9e495caf29 feat(forms): Add skip options and expiration date for temporary motivation in service forms 2025-10-30 19:39:35 +01:00
6a72261c91 feat(servizio): Update open contacts display logic and add mapping for open contacts announcements 2025-10-29 17:57:55 +01:00
bd5a35a172 Refactor service document handling and contact modal
- Removed temp_tokens data from SQL initialization.
- Updated AllegatiComp to invalidate additional service announcements on file removal.
- Simplified imports in interactions.tsx and removed unused components.
- Enhanced ServizioContent layout for better display of announcements.
- Adjusted button styles in servizio_annunci_accordions for responsiveness.
- Streamlined ricerca-table by removing unnecessary ServizioProvider wrapping.
- Modified upload modal to support new upload callback structure.
- Added new document reference fields to Servizio schema.
- Introduced UsersStorageUserStorageId type for better type safety.
- Updated servizio.controller to include document references in service announcements.
- Changed storage.controller to return user_storage_id on conflict.
- Updated docker-compose to streamline storage service configuration.
- Created migration script for new foreign key constraints on document references.
- Implemented ContattiProprietarioModal to manage document uploads and contact unlocking.
2025-10-29 09:39:06 +01:00
f006b4f658 feat: add WhatsApp button and update contact warning style in ContattiProprietarioData 2025-10-28 14:57:41 +01:00
208deeac28 Refactor image handling in announcement components
- Updated CardAnnuncio and related components to use a new images structure instead of url_immagini.
- Removed references to url_immagini and replaced them with images array containing img and thumb properties.
- Adjusted API responses to include images in the new format.
- Modified middleware and storage service to accommodate new image handling.
- Cleaned up unused code and schemas related to old image references.
- Updated Docker configuration for storage service.
2025-10-27 17:58:42 +01:00
7f93bdeb98 refactor: update storage-related API and components for improved functionality 2025-10-24 18:05:51 +02:00
6acfc08169 new storage for files 2025-10-24 16:10:59 +02:00
8fe0b6636d Refactor TypeScript schemas and enums for consistency and readability
- Updated enum definitions in PaymentStatusEnum and TipologiaPosizioneEnum to use single quotes and consistent formatting.
- Refactored Payments, Prezziario, Ratelimiter, Servizio, and other schema files to ensure consistent indentation and formatting.
- Added `updated_at` field to various queries in interests and servizio controllers.
- Removed unused imageCache utility file.
2025-10-21 18:42:03 +02:00
40076ce48a cleanup 2025-10-21 16:57:59 +02:00
1e3a28d81a fix: update global CSS file name and add new Radix UI components
- Changed global CSS file reference from "global.css" to "globals.css" in components.json.
- Added new dependencies for Radix UI components in package.json and package-lock.json.
- Updated the ServizioContent component to include new dialog functionality for managing announcements.
- Removed commented-out code in RicercaUser component for cleaner codebase.
2025-10-21 14:35:06 +02:00
c7db99376d annuncio image height 2025-10-21 14:33:41 +02:00
c84e315eee feat: implement CacheKey for image caching and update image sources across components 2025-10-16 11:16:50 +02:00
a87a35ffbe sort classes rule and fix 2025-10-10 16:18:43 +02:00
6d69e6c037 feat: add PDF viewer component and integrate with AllegatoIframe for improved document handling 2025-09-09 14:51:23 +02:00
1426f0efef refactor: streamline conditional logic and improve readability across multiple components 2025-09-01 16:48:03 +02:00
3284ccbf0d feat: refactor and enhance Annuncio components for improved functionality and print support 2025-08-29 18:18:37 +02:00
5755b00d7b formatt 2025-08-29 16:18:32 +02:00
3f82763168 eslint migration biome 2025-08-28 18:27:07 +02:00
243148267b feat: implement TabRicerca component for user service search and integrate collapsible functionality 2025-08-24 15:47:08 +02:00
4982d064e3 feat: add EditServizioAdmin component and integrate into ServizioActions 2025-08-23 17:13:43 +02:00
709ac307e1 Enhance AnnuncioActions and ServizioMain components: refactor document handling and update layout for better responsiveness 2025-08-19 19:14:27 +02:00
0ae854ede5 Refactor ServizioMain component: update content layout and add AnnunciSelezionati for admin actions 2025-08-19 17:23:05 +02:00
6124ba0271 Prevent closing dialog when announcements are selected in AddAnnuncio component 2025-08-19 16:47:12 +02:00
63d2fbd8ad Enhance ServizioActions and TabServizio components: pass userId to AddAnnuncio and integrate AnnunciSection for better announcement management 2025-08-19 16:44:38 +02:00
1619833103 Add line break support in AnnuncioDettaglio description and update Italian FAQ text for clarity 2025-08-19 14:32:46 +02:00
3127f773ba Add localization support for service confirmation and payment pages 2025-08-13 17:29:26 +02:00
e9a8174c3d Refactor Interactions component layout for improved structure and clarity 2025-08-11 15:29:25 +02:00
acffaf85b6 clean 2025-08-10 18:02:41 +02:00
368a187edb Enhance AnnuncioCard layout by adding a separator and adjusting styles for improved visual hierarchy 2025-08-10 18:01:36 +02:00
fa46fd2925 Refactor AnnuncioActions and Interactions components for improved layout and structure 2025-08-10 17:54:00 +02:00
b4bb786ebc Refactor AnnuncioCard and servizio_annunci_accordions to pass actions and interactions as props for better component flexibility 2025-08-10 17:09:56 +02:00