Commit graph

633 commits

Author SHA1 Message Date
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
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
bd5a35a172 Refactor service document handling and contact modal
- Removed temp_tokens data from SQL initialization.
- Updated AllegatiComp to invalidate additional service announcements on file removal.
- Simplified imports in interactions.tsx and removed unused components.
- Enhanced ServizioContent layout for better display of announcements.
- Adjusted button styles in servizio_annunci_accordions for responsiveness.
- Streamlined ricerca-table by removing unnecessary ServizioProvider wrapping.
- Modified upload modal to support new upload callback structure.
- Added new document reference fields to Servizio schema.
- Introduced UsersStorageUserStorageId type for better type safety.
- Updated servizio.controller to include document references in service announcements.
- Changed storage.controller to return user_storage_id on conflict.
- Updated docker-compose to streamline storage service configuration.
- Created migration script for new foreign key constraints on document references.
- Implemented ContattiProprietarioModal to manage document uploads and contact unlocking.
2025-10-29 09:39:06 +01:00
f006b4f658 feat: add WhatsApp button and update contact warning style in ContattiProprietarioData 2025-10-28 14:57:41 +01:00
15a8d41a16 feat: update contact modal to include 'Owner/Reference' label 2025-10-28 14:54:26 +01:00
1f2bfc9907 refactor: remove unused production compose script and update service references in dev_utils_compose.sh 2025-10-28 14:44:14 +01:00
ec377438cf feat: add confidentiality notice to SchedaAnnuncio component 2025-10-28 12:44:26 +01:00
7b545f21cb refactor: consolidate keydb services into dev-docker-compose.yml and remove redundant keydb-docker-compose.yml 2025-10-28 12:44:22 +01:00
f85ea22215 chore: update biome schema and dependencies, refactor key usage in components
- Updated biome schema version from 2.2.2 to 2.3.1 in biome.json.
- Removed experimentalScannerIgnores from files section and replaced with ignore patterns.
- Added CSS parser configuration for Tailwind directives.
- Updated linter rules for better code quality.
- Refactored key usage in various components to use unique identifiers instead of array indices.
- Updated package-lock.json and package.json to reflect new biome version.
- General code cleanup and improvements across multiple components for better maintainability.
2025-10-28 11:55:01 +01:00
b83527eb97 cleanup 2025-10-28 10:54:42 +01:00
208deeac28 Refactor image handling in announcement components
- Updated CardAnnuncio and related components to use a new images structure instead of url_immagini.
- Removed references to url_immagini and replaced them with images array containing img and thumb properties.
- Adjusted API responses to include images in the new format.
- Modified middleware and storage service to accommodate new image handling.
- Cleaned up unused code and schemas related to old image references.
- Updated Docker configuration for storage service.
2025-10-27 17:58:42 +01:00
7f93bdeb98 refactor: update storage-related API and components for improved functionality 2025-10-24 18:05:51 +02:00
7b619e54db refactor: remove unused setOpen prop from ARMinimizableLinks component 2025-10-24 16:17:53 +02:00
6acfc08169 new storage for files 2025-10-24 16:10:59 +02:00
5ea42bb24b upd 2025-10-23 15:16:42 +02:00
6a5820dda1 test new storage 2025-10-22 15:41:53 +02:00
eabe7f36c1 refactor: update TODO list with new cache key and last update visibility 2025-10-22 09:25:34 +02:00
8fe0b6636d Refactor TypeScript schemas and enums for consistency and readability
- Updated enum definitions in PaymentStatusEnum and TipologiaPosizioneEnum to use single quotes and consistent formatting.
- Refactored Payments, Prezziario, Ratelimiter, Servizio, and other schema files to ensure consistent indentation and formatting.
- Added `updated_at` field to various queries in interests and servizio controllers.
- Removed unused imageCache utility file.
2025-10-21 18:42:03 +02:00
40076ce48a cleanup 2025-10-21 16:57:59 +02:00
1e3a28d81a fix: update global CSS file name and add new Radix UI components
- Changed global CSS file reference from "global.css" to "globals.css" in components.json.
- Added new dependencies for Radix UI components in package.json and package-lock.json.
- Updated the ServizioContent component to include new dialog functionality for managing announcements.
- Removed commented-out code in RicercaUser component for cleaner codebase.
2025-10-21 14:35:06 +02:00
2cb7067beb refactor: enhance sidebar functionality with cookie state management and animations 2025-10-21 14:34:24 +02:00
d2548e8854 refactor: remove redundant orderBy clauses in getAllServizioAnnunci function 2025-10-21 14:33:47 +02:00
c7db99376d annuncio image height 2025-10-21 14:33:41 +02:00
028a0b7057 refactor: remove unused getStaticPaths function from user communications page 2025-10-20 18:02:45 +02:00
11129d6ecb refactor: update getStaticProps to getServerSideProps in user-related pages for improved data fetching 2025-10-20 18:00:53 +02:00
b84c98c334 refactor: replace baseUrl prop with env.BASE_URL in email components 2025-10-20 17:27:32 +02:00
f2ee374e32 fix cid 2025-10-20 17:08:13 +02:00
f904500e2d refactor: remove check-env-vars.js and update lint script to streamline environment checks 2025-10-20 16:42:43 +02:00
8a17863c85 feat: update environment variable handling for BASE_URL and NEXT_PUBLIC_BASE_URL across Docker and application files 2025-10-20 16:39:59 +02:00
8e4d73941f fix: restore shared NEXT_PUBLIC_BASE_URL definition in environment configuration 2025-10-20 16:26:26 +02:00
699579b432 feat: update environment variable handling and dependencies
- Added @t3-oss/env-nextjs for improved environment variable management.
- Updated zod to version 4.1.12 for enhanced validation capabilities.
- Upgraded jiti to version 2.6.1 for better module loading.
- Refactored environment variable imports from env.mjs to env.ts.
- Removed deprecated env.mjs file and replaced it with a new env.ts file using @t3-oss/env-nextjs.
- Adjusted various components and API routes to utilize the new environment variable structure.
- Updated next.config.js to support the new environment variable management.
- Modified Docker configuration to align with new BASE_URL handling.
2025-10-20 16:22:20 +02:00
60e3f26fd8 fix: update BASE_URL to INTERNAL_BASE_URL in revalidationHelper and remove unused BASE_URL from docker-compose 2025-10-20 15:04:35 +02:00
07767dd51b fix: update environment variable handling and add baseUrl prop to email components for improved functionality 2025-10-20 12:33:49 +02:00
42249a75e2 fix: add inputId prop to CodiceBox in multiple components for improved accessibility 2025-10-20 11:56:54 +02:00
af6ba02d67 fix: adjust z-index values in MapSection and RicercaFilters components 2025-10-20 11:53:21 +02:00
9bea29607b fix: update z-index for CodiceBox in RicercaFilters component 2025-10-20 11:49:30 +02:00