Commit graph

145 commits

Author SHA1 Message Date
2ef18a0b5b feat: enhance Potenziali management with delete functionality and user assignment 2025-12-03 16:16:28 +01:00
8ac1c1da3d feat: refactor Potenziali context to use editingItem and improve item management 2025-12-03 14:51:35 +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
a71d9f8d2e minor 2025-12-02 15:03:51 +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
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