Commit graph

288 commits

Author SHA1 Message Date
0ecd7ce30d refactor: change 'mq' type from string to float64 and update related parsing logic 2025-11-25 12:05:14 +01:00
94edc34e10 semplification 2025-11-25 09:57:31 +01:00
2e3eb7f4d1 refactor: update image and video source URLs to include cache keys for better cache management 2025-11-24 18:03:13 +01:00
8882107a50 refactor: update MobileLink styles for improved visual consistency and adjust viewport meta tag in _app.tsx 2025-11-24 16:19:47 +01:00
70e24b5abe refactor: update NumberInput usage to utilize defaultValue and improve field handling in forms 2025-11-21 14:09:06 +01:00
05998c6237 refactor: update flag status labels in FlagsTable component 2025-11-21 12:19:35 +01:00
1fae92dbaf refactor: adjust styles for LangToggle, SiteHeader, and ThemeSwitch components 2025-11-21 11:53:10 +01:00
eaf9ecc1d3 intestazione maker 2025-11-20 16:48:29 +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
3ea9354abb feat: implement email sending for contact details with PDF attachment 2025-11-20 11:59:24 +01:00
e5c0ca04ee feat: add PDF generation and email sending for printable announcements
- Updated package.json to include html2canvas-pro and jsPDF for PDF generation.
- Enhanced SchedaAnnuncioStampabile component to generate a PDF from HTML and send it via email.
- Implemented new API endpoint for sending the generated PDF as an email attachment.
- Refactored existing email sending logic across various controllers to use a unified template structure.
- Improved error handling and logging for email sending processes.
2025-11-19 17:18:28 +01:00
24b14fb3c1 refactor: update CardAnnuncio image styling for conditional rounding and improve AutocompleteSearchBox background color 2025-11-18 15:48:11 +01:00
f4262b8711 feat: Refactor video handling in announcements
- Updated the announcement detail component to directly use images and videos from the data structure.
- Changed the form edit component to accommodate the new media structure, replacing AnnunciWithImages with AnnunciWithMedia.
- Modified the announcements list to initialize videos as an empty array.
- Enhanced the announcement view to handle external videos and updated the footer to display them correctly.
- Introduced a new utility function to generate YouTube embed URLs.
- Updated the database schema to replace url_video with external_videos and added a new videos_refs table for video management.
- Implemented video processing logic, including downloading, transcoding, and thumbnail generation.
- Added migration scripts for the new videos_refs table and updated existing references in the database.
2025-11-18 15:20:14 +01:00
05cc912335 refactor: update UploadComponent max file size and supported media types, enhance apiMiddleware for video streaming 2025-11-18 11:50:29 +01:00
941055102d refactor: update Badge styling across multiple pages for improved visual consistency 2025-11-17 19:21:40 +01:00
de034c0eb7 refactor: streamline AnnuncioCard and CompatibiliDialog components, enhance data handling and styling 2025-11-17 19:01:21 +01:00
b741f7ce72 refactor: update button styles in Counter component and improve Badge variant handling in forms 2025-11-17 18:39:58 +01:00
7c88d0af86 refactor: update styling for various components to enhance visual consistency and user experience 2025-11-17 18:35:30 +01:00
084ed4121c refactor: enhance input and multiselect components with improved dark mode styles 2025-11-17 18:04:39 +01:00
88bf525ae4 refactor: fix sidebar expand functionality and improve button accessibility 2025-11-17 17:29:47 +01:00
affc441cfc refactor: enhance theme switch component with loading state and improved animations 2025-11-17 17:29:40 +01:00
80835879ea refactor: update styles and improve layout in navbar components 2025-11-17 17:00:09 +01:00
38efe3428a refactor: replace SettingsPopover with LangToggle and ThemeSwitch in SiteHeader component 2025-11-14 18:37:33 +01:00
98142fe782 refactor: remove background color from AreaRiservataLayoutUserView component 2025-11-14 18:35:17 +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
306be40555 feat: enhance LazyCardAnnuncio interaction; prevent default click behavior and stop propagation for better accessibility 2025-11-13 15:39:44 +01:00
db174cf4f4 feat: integrate @next/bundle-analyzer for improved bundle analysis; refactor dynamic imports in dashboard and pdf-viewer components 2025-11-13 11:38:23 +01:00
169dccfc7d feat: update Admin confirmation modal to display transient status information; refactor related components and enhance localization strings 2025-11-12 17:05:05 +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
d116ebd3d5 feat: integrate DocumentiUploadSection for document handling in various components 2025-11-11 15:41:20 +01:00
4408295f56 feat: add admin override switch for ignoring service preferences in AnnunciCompatibili dialog 2025-11-11 15:41:07 +01:00
d894f9d6ec feat: enhance user management and document handling; refactor service and schema integrations 2025-11-10 16:27:15 +01:00
0b43b5bcc3 feat: update confirmation modals and translations; refactor service announcement filtering logic 2025-11-10 11:52:36 +01:00
b7850f6994 feat: update package dependencies and enhance UI components with badges; refactor service dialogs and remove unused components 2025-11-07 17:03:08 +01:00
23525d8f14 feat: add AdminLavoraConferma and AdminContratto components for managing service confirmations and contracts
- Implemented AdminLavoraConferma component to handle confirmation processes with document management.
- Added AdminContratto component for managing rental contracts and related documents.
- Introduced shared components for document selection and display (DocInfo and DocCombo).
- Enhanced storage controller with a new function to retrieve storage ID from user storage ID.
- Updated database interactions to improve error handling and data retrieval.
2025-11-06 17:03:42 +01:00
82aeb763a0 refactor: Rename 'updated_at' column to 'media_updated_at' and update references throughout the codebase 2025-11-06 13:17:20 +01:00
7b0469467f refactor: Remove AnnunciGrid component and update Annunci page to use CardAnnuncio directly 2025-11-04 19:18:13 +01:00
608e6a8e10 feat: Integrate Kanban board with drag-and-drop functionality using @dnd-kit 2025-11-04 16:21:20 +01:00
46ded058f4 chore: Add TODO comment for future accordion and dialog integration in AnnunciGrid 2025-11-03 18:50:32 +01:00
1fc855393f Refactor Annuncio Card Component and Remove Legacy Code
- Updated `CardAnnuncio` component to enhance functionality and styling.
- Removed `CardAnnuncio2` component as it was redundant.
- Added new icons and badges for better visual representation of availability and status.
- Improved layout and responsiveness of the card.
- Updated translations in English and Italian for consistency.
- Enhanced pagination controls in the `Annunci` page with new button styles.
- Adjusted footer components to accept additional class names for customization.
- Cleaned up unused CSS animations and styles in `globals.css`.
- Modified server-side controller to include homepage field in the Annuncio data structure.
2025-11-03 18:49:27 +01:00
7a2e3eb862 refactor(annunci_grid): Simplify CardAnnuncio props by spreading pagedata 2025-11-03 15:50:40 +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
9e495caf29 feat(forms): Add skip options and expiration date for temporary motivation in service forms 2025-10-30 19:39:35 +01:00
93169b191a feat(OnboardTutorial): Add onboarding tutorial component with localization support 2025-10-30 18:18:01 +01:00
11b74ed6dc refactor(CardAnnuncio, CarouselAnnuncio): Improve class order for better styling consistency
delete(MotivazioneTransitorio): Remove unused component to clean up codebase
2025-10-30 18:13:59 +01:00
967935f0a8 Refactor comuni and provincie data structures; add dynamic FormDebug component
- Updated `initializeComuniNames` to accept an optional `provincia` parameter for filtering comuni by province.
- Renamed `getComuniNames` to `getComuni` and modified it to return an array of objects containing both comune names and their respective province siglas.
- Introduced `provincieWithSigla` array to map province names to their siglas, along with a new function `getProvinciaFromSigla` for retrieving province names based on sigla.
- Added a dynamic import for the `FormDebug` component to facilitate debugging in development mode while preventing it from rendering in production.
- Commented out console logs in `checkFiscalCodeValidity` for cleaner production output.
2025-10-30 18:13:50 +01:00
4181223dae feat: Update ignored tables in kanel config, enhance TODOs, remove obsolete migration, and improve styling in annuncio card component 2025-10-29 17:57:59 +01:00