Commit graph

18 commits

Author SHA1 Message Date
089640c4e1 feat: refactor input imports to use centralized Input component from ui directory 2026-03-18 17:44:42 +01:00
985a302a05 Refactor Prezziario schema and related components
- Updated the Prezziario schema to replace boolean flags (isAcconto, isSaldo, isConsulenza, isStabile, isTransitorio) with new fields (order_type, service_type, service_variant) to better represent service attributes.
- Modified NewPrezzoModal to align with the updated schema.
- Renamed FormNewServizioAcquisto to FormServizioAcquisto in user onboarding pages for consistency.
- Adjusted imports and component usage in the user view and service onboarding pages to reflect the new form name.
2026-03-12 16:26:01 +01:00
c31a68ef6d feat: implement image and video reconciliation, update pricing options, and enhance media removal functionality 2026-03-02 15:35:23 +01:00
6cd09cce1b refactor: remove console.log statements from various files for cleaner code 2026-02-24 15:18:59 +01:00
51d58a3008 refactor: replace checked with defaultChecked for Switch components across multiple forms 2026-02-24 10:40:07 +01:00
f97533fab0 chore: update component styles for improved layout and consistency 2026-01-16 10:30:27 +01:00
70e24b5abe refactor: update NumberInput usage to utilize defaultValue and improve field handling in forms 2025-11-21 14:09:06 +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
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
a87a35ffbe sort classes rule and fix 2025-10-10 16:18:43 +02:00
5755b00d7b formatt 2025-08-29 16:18:32 +02:00
3f82763168 eslint migration biome 2025-08-28 18:27:07 +02:00
26f1664696 fix: remove unused DevTool import from FormPrezzo component 2025-08-28 10:52:19 +02:00
19d273ff49 fix: enhance pricing component formatting and update sorting logic in PrezzarioTable 2025-08-27 12:33:14 +02:00
887f4e8f1d fix: update prezzo_cent validation to ensure non-negative values 2025-08-22 16:23:00 +02:00
237c068409 style: adjust spacing in FormPrezzo and update DialogContent max width in EditPrezzoModal 2025-08-22 15:55:43 +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