Commit graph

17 commits

Author SHA1 Message Date
39074b58e4 Refactor code structure for improved readability and maintainability 2025-10-07 18:07:57 +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
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
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
f20869d7fe fix: enhance error handling by including error messages in TRPCError responses 2025-08-27 10:19:49 +02:00
7a1f4ade54 Replace error throw with console error and return null for missing announcement by code 2025-08-19 14:00:09 +02:00
9b44cad8eb Refactor pagination logic in AnnunciList and update API to use page and pageSize parameters for improved data fetching 2025-08-08 16:55:02 +02:00
0744d032a3 Refactor getAnnunciMetaByCod to remove unused url_immagini and simplify ogImage handling 2025-08-08 13:44:52 +02:00
7bfef22f80 Enhance Open Graph support by adding meta data retrieval and updating robots.txt for better SEO 2025-08-08 13:30:21 +02:00
8d4f51aaf8 Add Open Graph support with @vercel/og integration and related updates 2025-08-08 11:34:33 +02:00
8f629c272a Add Open Graph meta tags for improved SEO and social sharing
Implement API route for fetching images with caching support
Fix cover image URL handling in getAnnunciByCod function
2025-08-08 10:27:21 +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