Commit graph

241 commits

Author SHA1 Message Date
11b74ed6dc refactor(CardAnnuncio, CarouselAnnuncio): Improve class order for better styling consistency
delete(MotivazioneTransitorio): Remove unused component to clean up codebase
2025-10-30 18:13:59 +01:00
967935f0a8 Refactor comuni and provincie data structures; add dynamic FormDebug component
- Updated `initializeComuniNames` to accept an optional `provincia` parameter for filtering comuni by province.
- Renamed `getComuniNames` to `getComuni` and modified it to return an array of objects containing both comune names and their respective province siglas.
- Introduced `provincieWithSigla` array to map province names to their siglas, along with a new function `getProvinciaFromSigla` for retrieving province names based on sigla.
- Added a dynamic import for the `FormDebug` component to facilitate debugging in development mode while preventing it from rendering in production.
- Commented out console logs in `checkFiscalCodeValidity` for cleaner production output.
2025-10-30 18:13:50 +01:00
4181223dae feat: Update ignored tables in kanel config, enhance TODOs, remove obsolete migration, and improve styling in annuncio card component 2025-10-29 17:57:59 +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
ec377438cf feat: add confidentiality notice to SchedaAnnuncio component 2025-10-28 12:44:26 +01:00
f85ea22215 chore: update biome schema and dependencies, refactor key usage in components
- Updated biome schema version from 2.2.2 to 2.3.1 in biome.json.
- Removed experimentalScannerIgnores from files section and replaced with ignore patterns.
- Added CSS parser configuration for Tailwind directives.
- Updated linter rules for better code quality.
- Refactored key usage in various components to use unique identifiers instead of array indices.
- Updated package-lock.json and package.json to reflect new biome version.
- General code cleanup and improvements across multiple components for better maintainability.
2025-10-28 11:55:01 +01:00
b83527eb97 cleanup 2025-10-28 10:54:42 +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
7b619e54db refactor: remove unused setOpen prop from ARMinimizableLinks component 2025-10-24 16:17:53 +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
2cb7067beb refactor: enhance sidebar functionality with cookie state management and animations 2025-10-21 14:34:24 +02:00
c7db99376d annuncio image height 2025-10-21 14:33:41 +02:00
699579b432 feat: update environment variable handling and dependencies
- Added @t3-oss/env-nextjs for improved environment variable management.
- Updated zod to version 4.1.12 for enhanced validation capabilities.
- Upgraded jiti to version 2.6.1 for better module loading.
- Refactored environment variable imports from env.mjs to env.ts.
- Removed deprecated env.mjs file and replaced it with a new env.ts file using @t3-oss/env-nextjs.
- Adjusted various components and API routes to utilize the new environment variable structure.
- Updated next.config.js to support the new environment variable management.
- Modified Docker configuration to align with new BASE_URL handling.
2025-10-20 16:22:20 +02:00
07767dd51b fix: update environment variable handling and add baseUrl prop to email components for improved functionality 2025-10-20 12:33:49 +02:00
42249a75e2 fix: add inputId prop to CodiceBox in multiple components for improved accessibility 2025-10-20 11:56:54 +02:00
af6ba02d67 fix: adjust z-index values in MapSection and RicercaFilters components 2025-10-20 11:53:21 +02:00
667213cd31 fix: adjust layout in AnnuncioInteractions component 2025-10-20 11:41:54 +02:00
07cec77363 todo: add h img carousel 2025-10-20 11:35:48 +02:00
c84e315eee feat: implement CacheKey for image caching and update image sources across components 2025-10-16 11:16:50 +02:00
39c814947a feat: update WhatsApp icon and enhance SchedaAnnuncioStampabile with navigation URL for Google Maps 2025-10-16 10:28:24 +02:00
e6a4843586 feat: enhance default open logic for service rows and improve transition effects 2025-10-14 16:53:15 +02:00
0512122243 fix: adjust height for contract link in PricingComponent and update related styles 2025-10-13 10:07:09 +02:00
1eb029b457 fix price box styles 2025-10-10 16:36:49 +02:00
a87a35ffbe sort classes rule and fix 2025-10-10 16:18:43 +02:00
da21fb8f86 feat: add currency formatting for monthly rent display in SchedaAnnuncio 2025-09-10 15:42:45 +02:00
Marco
ac75113c1e
Update schedaAnnuncioStampabile.tsx 2025-09-10 15:40:03 +02:00
4ca033eb2c refactor: remove unused pdfjs import and adjust worker source configuration 2025-09-09 16:49:08 +02:00
0d423aa2f4 feat: add experimental configuration and update PDF viewer error message 2025-09-09 16:18:10 +02:00
6d69e6c037 feat: add PDF viewer component and integrate with AllegatoIframe for improved document handling 2025-09-09 14:51:23 +02:00
cb9fce9289 fix: adjust CredenzaContent max-width for better responsiveness 2025-09-09 10:36:43 +02:00
0128f115ad fix: update user swap mutation to use async/await and improve navigation handling 2025-09-09 10:21:19 +02:00
cbe00a93e8 fix: update cursor style for search input in AutocompleteSearchBox 2025-09-03 12:30:18 +02:00
733452832a feat: add video support to AnnunciGrid and CardAnnuncio components 2025-09-01 17:31:19 +02:00
1426f0efef refactor: streamline conditional logic and improve readability across multiple components 2025-09-01 16:48:03 +02:00
0bc1a0915c feat: add video support to CarouselAnnuncio and integrate VideoPlayer component 2025-09-01 15:59:08 +02:00
cc5e80c3f6 feat: add Head component for dynamic title in Scheda Annuncio page 2025-09-01 11:37:43 +02:00
06e156c314 feat: add Head component for dynamic title and enhance contact information display 2025-09-01 11:36:38 +02:00
3284ccbf0d feat: refactor and enhance Annuncio components for improved functionality and print support 2025-08-29 18:18:37 +02:00
4d95791391 total rows 2025-08-29 16:47:33 +02:00
bc92368abc feat: update AnnunciTable to enhance actions and filter functionality 2025-08-29 16:22:54 +02:00
5755b00d7b formatt 2025-08-29 16:18:32 +02:00
f46702275b feat: add IDs to search container and options box for improved accessibility and styling 2025-08-29 15:03:57 +02:00
b3d2d3f4fd feat: update search phrases with emojis for enhanced user experience 2025-08-29 14:59:38 +02:00
17b8aaf7f5 feat: enhance CodiceBox and TrovaCasaCTA with additional props and styling improvements 2025-08-29 09:58:44 +02:00