Commit graph

128 commits

Author SHA1 Message Date
b0c00e2d0f feat: replace custom Textarea component with UI library version across multiple files 2026-03-27 18:10:05 +01:00
7adb33f485 feat: enhance RichiesteTable with improved status and decorrenza handling
- Updated RichiesteTable to display decorrenza with tooltip based on status.
- Enhanced status display with badges indicating various states (e.g., Attesa attivazione, Interrotto).
- Added Popover for displaying Annunci details in RichiesteTable.
- Refactored API to fetch user interests and related announcements.
- Introduced Queue component to display email events for users.
- Updated translations to include new "Requests" section in admin navigation.
- Improved database queries for fetching user interests and announcements.
2026-03-25 17:30:33 +01:00
5bff7219e8 refactor: remove ServiziHeader component and integrate its functionality directly into RicercaUser page
feat: update Servizio component to handle interruzioneDays and acceptedInterr logic

refactor: simplify servizio_actions by removing unused InterruzioneServizio and EditParametri components

feat: enhance FormEditServizioAdmin to include interruzioneDays and acceptedInterr fields

fix: adjust email service to delete obsolete emails and handle invalid email types gracefully

chore: update stripe controller to utilize interruzioneDays for lock expiration logic

fix: ensure correct handling of servizio expiration and interruzione logic in service controller
2026-03-24 17:01:40 +01:00
1d1051f25a feat: implement AvvisoInterruzione email template and integrate into mailer service 2026-03-23 12:01:29 +01:00
ed93eb12a1 feat: update Counter component to conditionally apply disabled styles and enhance FormServizio with improved disabled state handling 2026-03-20 17:03:35 +01:00
cfc72a09e8 feat: enhance interruption request functionality with tooltip and improved messaging 2026-03-20 16:45:14 +01:00
cc06738db4 feat: remove unused EmailContattiConScheda component and related email functionality 2026-03-20 16:02:13 +01:00
d6cd5f86b8 feat: add note column to servizio_annunci table and implement AnnuncioNote component for admin annotations 2026-03-20 14:06:55 +01:00
8f662c56c1 feat: update Servizio component to integrate AdminServizioActions and enhance user actions 2026-03-20 13:54:29 +01:00
79354f3833 feat: update PostUnlock component to display contact information based on annuncio status 2026-03-19 14:07:36 +01:00
c6b462a54d feat: enhance RinnovoLinkCard and ServizioLinkCard components with improved styling and status handling 2026-03-19 12:14:11 +01:00
b274a729ee feat: refactor DataTableProps type declaration and remove unused Facehash component files 2026-03-19 10:23:07 +01:00
56402a374d feat: refactor button imports and usage across forms and pages for consistency 2026-03-18 18:01:02 +01:00
083a97e74f feat: add tipo_locatore to PostUnlock display and getProprietarioDataHandler for enhanced locatore information 2026-03-17 19:10:04 +01:00
57cd55d2d8 feat: add tipo_locatore field to various components and update related logic for improved locatore display 2026-03-17 19:08:14 +01:00
1307f352a4 feat: enhance payment preparation logic and add rinnovo handling
- Refactor `preparePayment` function to handle multiple order types including Rinnovo.
- Introduce new `RinnovoSolver` function to calculate renewal packs based on duration.
- Add `createRinnovo` service to manage the creation of renewal orders.
- Update `whIntentSucceededHandler` to handle payment confirmations for Rinnovo and other order types.
- Introduce default conditions for packs in `prezziario.service.ts`.
- Add new utility functions for managing renewal durations and permanenza.
- Update database interactions to ensure proper handling of orders and renewals.
- Enhance error handling and logging throughout the payment and renewal processes.
2026-03-17 18:46:43 +01:00
d18aee8a95 feat: update admin actions layout and add contact details dialog; modify user link path in UsersTable 2026-03-12 17:02:35 +01:00
300c9edfc4 feat: add admin contact details dialog and streamline cache invalidation in AnnuncioEditForm 2026-03-12 16:55:06 +01:00
41d743c97f refactor: update TypeScript SDK path and improve error handling in servizio service 2026-03-12 16:27:24 +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
547b1d6ce6 feat: replace arrow icon with mouse pointer icon and add bounce animation for 'in_attesa' status 2026-03-12 13:48:45 +01:00
db63591bcb style: update component styles to use bg-card and adjust heights for consistency 2026-03-12 12:11:57 +01:00
400dc037fe feat: add Richieste management page and table for admin 2026-03-11 12:07:19 +01:00
98d6f5763d feat: replace button with confirmation dialog for sending email in AdminSendScheda 2026-03-11 12:07:11 +01:00
366e17185c feat: enhance AnnunciRichiesti component to support adding announcements to services and update dialog styling 2026-03-09 11:07:35 +01:00
0904bba970 feat: enhance AddAnnuncio options to include title in label and update query to select title in getAnnunciAvailableToAdd 2026-03-09 10:41:34 +01:00
6c36bb9b74 feat: add order editing form and payment processing pages
- Implemented FormEditOrder component for editing orders with validation and submission handling.
- Created SchedaAnnuncioPage for displaying printable announcement details.
- Added BonificoManualePage for manual bank transfer payment instructions.
- Developed PagamentoPage for Stripe payment processing with PaymentIntent creation.
- Introduced PreviewPurchasePage for preparing payment with service details.
- Added pagamenti.controller for handling payment preparation and retrieval of payment data.
2026-03-08 01:02:57 +01:00
6211be289c feat: update layout and styling in UserDashboard and ServizioPage components 2026-03-06 18:54:48 +01:00
b32ebf9fde refactor: remove redundant getServizio invalidations across components 2026-03-06 18:23:35 +01:00
ccdbe03c2f feat: invalidate servizio data cache in multiple components after updates 2026-03-06 16:15:47 +01:00
a36fd52af2 feat: implement email functionality for contact details with attached PDF scheda 2026-03-04 16:39:27 +01:00
ac1859e88f feat: add service management features and update Italian translations
- Introduced new service status translations in Italian.
- Added service detail and management components for user and admin views.
- Implemented API endpoints for fetching service data and announcements.
- Enhanced service data handling with improved date parsing and formatting.
- Created new pages for service details accessible by both users and admins.
- Updated database queries to support new service functionalities.
2026-02-25 15:30:53 +01:00
70736e4aa1 refactor: update styling for Sidebar, DataTable, SiteHeader, AnnuncioCard, and Tabs components 2026-02-24 12:02:02 +01:00
5094255b65 refactor: enhance styling and layout for various components, including Accordion and Pricing sections 2026-02-24 11:36:26 +01:00
fd7da28535 feat: implement manual order creation dialog and associated form components 2026-02-24 10:40:32 +01:00
890f0572f3 feat: enhance document upload functionality and add save state indicators in Admin sections 2026-02-19 10:48:31 +01:00
a55b144f4d fix: update background color for AnnuncioDisplay component in dark mode 2026-02-19 09:58:15 +01:00
edaee780d6 refactor: remove unused annunci data fetching and components; update ricerca logic
- Deleted the `annunci.ts` file which contained the database fetching logic.
- Removed the `TestAppPage` component that relied on the deleted data fetching.
- Eliminated the `AnnunciList` component that was dependent on the removed data.
- Updated `annunci_map.tsx` to handle optional `selectComune` parameter.
- Refactored `annunci_tutorial.tsx` to use `buildRicercaUrl` for navigation.
- Adjusted `annuncio_card.tsx` for consistent styling and layout changes.
- Modified `codiceRicerca.tsx` to fix z-index issue.
- Enhanced `failed-loading.tsx` and `500Auth.tsx` for responsive design.
- Updated `annunci.tsx` to include loading state for map and annunci list.
- Refined filter handling in `Filters` component to use a single `setAllParams` method.
- Introduced `FrequentSearches` component for better user navigation.
- Updated `RicercaProvider` to streamline state management and URL building.
- Adjusted server-side logic in `annunci.controller.ts` to ensure valid data.
2026-01-20 18:38:17 +01:00
a4f822d462 feat: update page titles and descriptions for improved SEO and user experience
- Updated Italian translations for "Area Riservata" description in it.ts
- Added <Head> components with appropriate titles for the following pages:
  - Admin Annunci
  - Admin Banners
  - Admin Blacklist
  - Admin Chats
  - Admin Etichette
  - Admin Flags
  - Admin Impostazioni
  - Admin Ordini
  - Admin Potenziali
  - Admin Prezziario
  - Admin Storage
  - Admin Testi Stringhe
  - Admin Utenti
  - Allegati
  - User Chat
  - Comunicazioni
  - Ordini
  - Profilo
- Removed unused translation hooks from several components
2026-01-19 10:23:16 +01:00
0ca2cfc2bc Remove TODO comment for pack consulenza selector in StabileSection 2026-01-17 15:45:23 +01:00
c87a7238a7 Refactor various components for improved UI consistency and functionality; update layout styles, enhance user interactions, and introduce reset button functionality in forms. 2026-01-16 17:11:53 +01:00
1baca2997a Refactor AnnuncioCard to use AdminActions and UserActions based on user role; remove unused Interactions component; update button sizes and styles across various components; enhance ServizioContent with mutation handling; improve user feedback on actions; update confirmation messages for clarity; adjust layout for better responsiveness in AnnunciRichiesti; streamline form submissions with updated data structures. 2026-01-16 15:47:38 +01:00
804b4fef90 chore: update UI components for improved consistency and dark mode support 2026-01-16 12:23:36 +01:00
f0698c4dc5 chore: update prose styles to support dark mode across multiple components 2026-01-16 12:23:18 +01:00
5391ad00e7 chore: add confirmation dialog for removing announcements and refactor mutation handling 2026-01-16 11:53:10 +01:00
f97533fab0 chore: update component styles for improved layout and consistency 2026-01-16 10:30:27 +01:00
539f4dc4f8 chore: update biome schema version and refactor code style
- Updated biome schema version from 2.3.1 to 2.3.11 in biome.json.
- Refactored package.json for better readability and updated dependencies.
- Adjusted class names in InformationBubble, ChatAttachments, ChatBubble, FileUpload, Loading, and other components for consistent styling.
- Changed height classes from fixed pixel values to relative values for better responsiveness.
- Removed unnecessary comments and unused variables in user.controller.ts.
2026-01-14 14:21:57 +01:00
d56d8f8ec8 feat: add className prop to AnnuncioDisplay and update ServizioContent for improved styling 2026-01-09 14:47:28 +01:00
76bcf640ca feat: implement AnnuncioDisplay component and integrate it into ServizioContent for better display of selected announcements 2026-01-09 13:13:17 +01:00
de7a4dcdf3 feat: add validation messages for document and deposit data in SendConferma component 2026-01-08 10:56:01 +01:00