Commit graph

189 commits

Author SHA1 Message Date
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
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
5ea42bb24b upd 2025-10-23 15:16:42 +02:00
6a5820dda1 test new storage 2025-10-22 15:41:53 +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
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
028a0b7057 refactor: remove unused getStaticPaths function from user communications page 2025-10-20 18:02:45 +02:00
11129d6ecb refactor: update getStaticProps to getServerSideProps in user-related pages for improved data fetching 2025-10-20 18:00:53 +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
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
9bea29607b fix: update z-index for CodiceBox in RicercaFilters component 2025-10-20 11:49:30 +02:00
3a8f9d1cf9 todo: pricing max-w-2xl 2025-10-20 11:37:19 +02:00
054b9eff9a fix: improve revalidation logic by decoding path and invalidating cache after updates 2025-10-17 19:48:28 +02:00
727f1e760c feat: add revalidation functionality and integrate it into various components and API routes 2025-10-17 19:14:27 +02:00
bc1f114837 feat: implement server-side rendering for various admin pages and update backend URL configuration 2025-10-17 18:12:10 +02:00
c84e315eee feat: implement CacheKey for image caching and update image sources across components 2025-10-16 11:16:50 +02:00
4d0e2c51c7 fix pricing label positions 2025-10-15 16:25:33 +02:00
0e157b8ddd feat: add revalidation functionality for announcements with confirmation prompts 2025-10-15 15:45:24 +02:00
cdcc92173c feat: implement geocoding search with unique city filtering and improved UI 2025-10-14 16:42:19 +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
39074b58e4 Refactor code structure for improved readability and maintainability 2025-10-07 18:07:57 +02:00
5c3a13bea9 sitemap fix 2025-10-06 19:23:28 +02:00
8c802dcabf refactor: update Test component to simplify button actions and integrate toast notifications 2025-09-09 15:07:23 +02:00
0128f115ad fix: update user swap mutation to use async/await and improve navigation handling 2025-09-09 10:21:19 +02:00
aa8fb57ab4 refactor: restructure stripe webhook handler for improved readability and error handling 2025-09-09 09:38:29 +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
1f1d9f3559 feat: enhance AnnuncioView with print option and refactor admin links to use Button component 2025-09-01 11:55:45 +02:00
cc5e80c3f6 feat: add Head component for dynamic title in Scheda Annuncio page 2025-09-01 11:37:43 +02:00
ece58b7c3b fix: improve error handling in tRPC API handler for better logging in development 2025-09-01 10:37:03 +02:00
467933299e feat: add test page with buttons for logging and server mutation 2025-09-01 10:15:15 +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
f46702275b feat: add IDs to search container and options box for improved accessibility and styling 2025-08-29 15:03:57 +02:00
17b8aaf7f5 feat: enhance CodiceBox and TrovaCasaCTA with additional props and styling improvements 2025-08-29 09:58:44 +02:00
3f82763168 eslint migration biome 2025-08-28 18:27:07 +02:00
9f05c19494 Implement code changes to enhance functionality and improve performance 2025-08-28 13:19:43 +02:00
9d80dad9bd Refactor editAnnuncio functionality to use AnnunciUpdate schema
- Updated the editAnnuncio procedure to accept a new input structure containing annuncioId and data.
- Removed the old EdiAnnuncioSchema and replaced it with a direct use of AnnunciUpdate.
- Simplified the editAnnuncioHandler to directly spread the data object into the database update call.
- Renamed getAnnuncioById to getAnnuncioByIdForEdit for clarity.
2025-08-28 12:37:32 +02:00
eba4e31d38 fix: update meta handling in AnnuncioDettaglio and improve error messages in getAnnunciByCod and getAnnunciMetaByCod 2025-08-27 10:56:13 +02:00
ec818eb7ff fix: update form fields to allow nullable values for locatore, email, and numero 2025-08-26 17:38:12 +02:00
c3cdac8310 feat: add ignoreSessionCheck prop to AreaRiservataLayout for session handling flexibility 2025-08-24 19:59:59 +02:00
243148267b feat: implement TabRicerca component for user service search and integrate collapsible functionality 2025-08-24 15:47:08 +02:00
779df357bc fix: update email sending logic to handle disabled state and improve error handling 2025-08-22 16:58:05 +02:00