Commit graph

402 commits

Author SHA1 Message Date
306be40555 feat: enhance LazyCardAnnuncio interaction; prevent default click behavior and stop propagation for better accessibility 2025-11-13 15:39:44 +01:00
f2c7bcce4e feat: add Comuni, Provincie, and Nazioni tables with primary keys and indexes; update PublicSchema to include new tables 2025-11-13 11:38:41 +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
b643a9778b feat: update environment variables in Dockerfile and env.ts; modify logging in api_middleware and settings router 2025-11-12 17:28:59 +01:00
53dad1e4c1 asd 2025-11-12 17:12:40 +01:00
d9219d4f23 s 2025-11-12 17:12:15 +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
f64597cc32 feat: update admin confirmation modal to include transient status information 2025-11-11 18:53:08 +01:00
7666f08307 feat: add NumberInput component for enhanced numeric input handling; integrate react-number-format 2025-11-11 18:43:51 +01:00
24253f0cfb feat: refactor Ricerca component layout and enhance filter functionality in DrowdownFilters 2025-11-11 17:15:29 +01:00
1887f1ffec feat: remove console log from SelectFilter component to clean up rendering output 2025-11-11 16:14:57 +01:00
40b8f26cc0 feat: update default values for SelectFilter components in RicercaFilters; improve reset handling 2025-11-11 16:14:45 +01:00
4ca16be4a4 feat: update sorting options and default values in RicercaProvider; refine filter logic in RicercaFilters 2025-11-11 15:54:04 +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
db8d1da5ab feat: add conditional rendering for skip payment and document controls in FormNewServizio 2025-11-11 15:22:21 +01:00
d894f9d6ec feat: enhance user management and document handling; refactor service and schema integrations 2025-11-10 16:27:15 +01:00
fa8dcb7d86 feat: migrate document references from servizio to users_anagrafica table 2025-11-10 12:22:55 +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
17ecc9604f chore: Add logging documentation link to TODO file 2025-11-06 13:19:12 +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
4ca5c59ffe refactor(i18n): Improve context value handling in I18nProvider 2025-11-03 16:02:27 +01:00
7a2e3eb862 refactor(annunci_grid): Simplify CardAnnuncio props by spreading pagedata 2025-11-03 15:50:40 +01:00
bb293bbd4a fix(docker): Ensure restart policy is set for storage service in dev-docker-compose.yml 2025-11-03 15:50:30 +01:00
d3ef842130 feat(annunci): Implement page reset logic in AnnunciList based on data availability 2025-11-03 15:50:24 +01:00
16bb7094dc feat(package.json): Add format script for code formatting 2025-11-03 11:03:41 +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
9e495caf29 feat(forms): Add skip options and expiration date for temporary motivation in service forms 2025-10-30 19:39:35 +01:00
3d70810937 feat(migrations): Add multiple database migrations for new tables and data seeding
- Created migration scripts for new tables including banlist, banners, event_queue, flags, testi_e_stringhe, and ratelimiter.
- Added data seeding for banners, etichette, flags, prezziario, and testi_e_stringhe with idempotent inserts.
- Initialized database with necessary extensions and user tables.
- Updated servizio table to include new columns for managing service states.
- Established foreign key relationships and unique constraints across various tables.
- Implemented sequences for auto-incrementing primary keys in several tables.
2025-10-30 19:14:31 +01:00
3d0d8ba830 refactor(dev-docker-compose): Remove unused environment variable from migrate service 2025-10-30 19:07:44 +01:00
5aeeebcb26 feat(migrations): Add new columns to servizio table for enhanced functionality 2025-10-30 18:43:14 +01:00
0809478f93 refactor(TODO): Remove outdated onboarding modification note 2025-10-30 18:18:56 +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
Marco
da7683ba45
Merge pull request #321 from marcopedone/dependabot/npm_and_yarn/apps/infoalloggi/axios-1.12.2
chore(deps): bump axios from 1.11.0 to 1.12.2 in /apps/infoalloggi
2025-10-30 09:51:59 +01:00
afb1a24503 feat(RicercaProvider): Sort unique values and enhance sorting logic for options based on proximity to the current month 2025-10-30 09:42:21 +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
6a72261c91 feat(servizio): Update open contacts display logic and add mapping for open contacts announcements 2025-10-29 17:57:55 +01:00
66ef4a7fbd feat(database): Add migrations for chat labels, messages, services, interests, announcements, pricing, orders, payments, and miscellaneous data
- Created tables for `chats_etichette`, `messages`, `servizio`, `servizio_interessi`, `servizio_annunci`, `prezziario`, `ordini`, `payments`, and `banlist`.
- Established primary and foreign key constraints for data integrity.
- Introduced enums for various types including `TipologiaPosizioneEnum`, `OrderTypeEnum`, and `PaymentStatusEnum`.
- Seeded initial data for banners, labels, flags, pricing, strings, and users.
- Implemented unique constraints where necessary to prevent duplicate entries.
2025-10-29 16:59:20 +01:00
527a7d7f57 Refactor GetAnnunciParsed and ParseAnnunci to include forceImages parameter for improved image processing control 2025-10-29 12:27:52 +01:00
fddf212c6d asd 2025-10-29 12:19:13 +01:00