Commit graph

48 commits

Author SHA1 Message Date
7ae27d8e30 refactor: remove MiniFooter from AreaRiservataLayout and update layout usage across pages 2025-12-04 11:02:28 +01:00
cfcddea9c8 feat: implement Potenziali and PotenzialiGroups management with CRUD operations and UI enhancements 2025-12-03 13:56:53 +01:00
3143870cfd feat: integrate DnD Kit for enhanced kanban functionality and add Potenziali management components 2025-12-02 16:14:37 +01:00
d93d23c607 feat: enhance email management with delete functionality and session handling 2025-12-01 12:29:48 +01:00
830b89d4b1 refactor: implement getStorageUrl utility for consistent storage URL generation 2025-11-28 15:11:14 +01:00
a9df30cb70 refactor: remove Potenziali component and related context, update translations 2025-11-20 15:06:00 +01:00
e7e397759a pot 2025-11-20 15:05:05 +01:00
9c18ca37ab Refactor API structure and update flag handling
- Replaced references to `api.settings` with `api.etichette`, `api.flags`, and `api.strings` in various admin pages to align with new API structure.
- Removed the deprecated `settingsRouter` and introduced `flagsRouter`, `etichetteRouter`, and `stringsRouter` to handle respective functionalities.
- Updated the `Flags` schema to change the `value` field from string to boolean.
- Modified flag handling logic in the `SendMessage` and `NewMail` functions to check for boolean flags instead of string values.
- Added migration script to convert the `value` column in the `flags` table from string to boolean.
- Implemented new routers for banners, etichette, flags, revalidation, and strings to encapsulate related functionalities.
2025-11-20 12:38:42 +01:00
f94312dcaa refactor: enhance EditUser component layout with Card and CardContent for improved styling 2025-11-17 18:13:13 +01:00
c6f7a51c50 refactor: improve TabsContent styling for better layout and consistency 2025-11-17 18:09:06 +01:00
d7bfd8fdf1 feat: Update UI components and styles across multiple pages
- Enhanced the CardInfos component in [cod].tsx with improved styling and added TrafficCone icon for status indication.
- Increased dialog content width in prezziario.tsx and testi-stringhe.tsx for better layout.
- Replaced static badge elements with the Badge component in chi-siamo.tsx, contatti.tsx, guida.tsx, prezzi.tsx, and proprietari.tsx for consistent styling.
- Updated button components to use the Button component in contatti.tsx and proprietari.tsx for improved accessibility and styling.
- Modified the TrovaCasaCTA and FrequentSearches components in index.tsx for better visual consistency and updated color usage.
- Refactored global CSS variables for improved color management and added new color variables for better theme support.
- Implemented dynamic loading for the KabanExample component in test.tsx to enhance performance.
2025-11-14 17:21:21 +01:00
219f76dd10 catasto 2025-11-13 15:45:55 +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
d894f9d6ec feat: enhance user management and document handling; refactor service and schema integrations 2025-11-10 16:27:15 +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
97503b34e5 fix(dependencies): Update react-day-picker to version 9.11.1 for improved functionality
fix(forms): Adjust endMonth in AnnuncioEditForm to 2050 for better date handling

refactor(forms): Remove date validation in ProfileFormAnagrafica for simplified logic

fix(user-view): Update DialogContent class for consistent styling in NewServizioModal
2025-10-30 19:39:40 +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
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
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
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
0e157b8ddd feat: add revalidation functionality for announcements with confirmation prompts 2025-10-15 15:45:24 +02:00
a87a35ffbe sort classes rule and fix 2025-10-10 16:18: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
cc5e80c3f6 feat: add Head component for dynamic title in Scheda Annuncio page 2025-09-01 11:37:43 +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
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