Commit graph

63 commits

Author SHA1 Message Date
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
ec818eb7ff fix: update form fields to allow nullable values for locatore, email, and numero 2025-08-26 17:38:12 +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
237c068409 style: adjust spacing in FormPrezzo and update DialogContent max width in EditPrezzoModal 2025-08-22 15:55:43 +02:00
51a7cb9426 Fix redirect destination in getServerSideProps to remove query string 2025-08-20 17:22:37 +02:00
b2a118e907 Enhance button styling: add cursor-pointer class to refresh buttons across admin components 2025-08-20 14:06:38 +02:00
485bcda0d3 Refactor session handling: implement useEnforcedSession for better session validation across components 2025-08-20 14:04:23 +02:00
1d70ce9a44 Enhance AnnuncioEditForm mutation: invalidate additional queries after successful edit 2025-08-20 09:58:06 +02:00
8d4f51aaf8 Add Open Graph support with @vercel/og integration and related updates 2025-08-08 11:34:33 +02:00
9314026817 refactor: update zod imports to version 4 and adjust error handling
- Changed all zod imports from "zod" to "zod/v4" across multiple files.
- Updated error handling in forms to use new zod error configuration.
- Refactored custom error mapping to align with zod v4 changes.
- Adjusted password validation logic to utilize new zod features.
- Cleaned up unused locale error mapping code.
- Enhanced type definitions for async iterables in zod utility functions.
2025-08-07 14:50:40 +02:00
29c64c7e39 init 2025-08-04 17:45:44 +02:00