feat: Update ignored tables in kanel config, enhance TODOs, remove obsolete migration, and improve styling in annuncio card component
This commit is contained in:
parent
6a72261c91
commit
4181223dae
4 changed files with 15 additions and 32 deletions
|
|
@ -1,6 +1,6 @@
|
|||
const { makeKyselyHook } = require("kanel-kysely");
|
||||
|
||||
const ignoredTables = [];
|
||||
const ignoredTables = ["schema_migrations"];
|
||||
|
||||
/** @type {import('kanel').Config} */
|
||||
module.exports = {
|
||||
|
|
@ -9,7 +9,7 @@ module.exports = {
|
|||
user: "postgres",
|
||||
database: "postgres",
|
||||
password: "rootpost",
|
||||
port: 5432,
|
||||
port: 5433,
|
||||
},
|
||||
typeFilter: (pgType) => !ignoredTables.includes(pgType.name),
|
||||
preDeleteOutputFolder: true,
|
||||
|
|
|
|||
|
|
@ -1,16 +1,19 @@
|
|||
TODOS:
|
||||
- Indicare di dover modificare le info nel onboarding
|
||||
|
||||
- Mod contatti, caricamento doc identità, con ref salvato nell' servizio-annunci row
|
||||
|
||||
- Parametri del servizio transitorio specificare termine contrato/scadenza altra motivazione transitoria
|
||||
- Preparazione sevizio, aggiungere flags "può saltare pagamento", "può saltare controllo documento", "può confermare senza doc motivazione" Se può saltare passaggi i bottoni o sezioni allegare doc sono nascosti
|
||||
|
||||
- Mod conferma deve essere tipo "sei interessato a confermare imm.." con caricamento del file di motivazione
|
||||
- Modale conferma mostrare scorciatoia a doc lavoro o simile per facilitare
|
||||
- Modale admin conferma mostrare scorciatoia a doc lavoro o simile per facilitare la verifica e sezione per override pack in base a doc presentati
|
||||
- Post modale conferma, mostrare se transitorio , modale con informativa tipo:" il saldo del servizio e il periodo di permanenza veranno adeguati alle condizioni stabilite insieme al locatore nel momento della trattativa e alla documentazione presentata come giustificazione di transitorietà" (modificato)
|
||||
|
||||
- border radius immagini carousel annuncio
|
||||
|
||||
|
||||
LOGGING:
|
||||
- https://getpino.io/#/docs/api
|
||||
- https://logbull.com/installation/
|
||||
|
||||
|
||||
NEW IDEA TODOS:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +0,0 @@
|
|||
ALTER TABLE
|
||||
IF EXISTS public.servizio
|
||||
ADD
|
||||
CONSTRAINT servizio_doc_fronte FOREIGN KEY (doc_personale_fronte_ref) REFERENCES public.users_storage ("storageId") MATCH SIMPLE ON UPDATE CASCADE ON DELETE
|
||||
SET
|
||||
NULL NOT VALID;
|
||||
|
||||
ALTER TABLE
|
||||
IF EXISTS public.servizio
|
||||
ADD
|
||||
CONSTRAINT servizio_doc_retro FOREIGN KEY (doc_personale_retro_ref) REFERENCES public.users_storage ("storageId") MATCH SIMPLE ON UPDATE CASCADE ON DELETE
|
||||
SET
|
||||
NULL NOT VALID;
|
||||
|
||||
ALTER TABLE
|
||||
IF EXISTS public.servizio
|
||||
ADD
|
||||
CONSTRAINT servizio_doc_motivazione FOREIGN KEY (doc_motivazione_ref) REFERENCES public.users_storage ("storageId") MATCH SIMPLE ON UPDATE CASCADE ON DELETE
|
||||
SET
|
||||
NULL NOT VALID;
|
||||
|
|
@ -65,7 +65,7 @@ export const CardAnnuncio = ({
|
|||
return (
|
||||
<div
|
||||
className={cn(
|
||||
"h-[464px] rounded-md bg-white shadow-neutral-100 shadow-sm outline outline-neutral-200 hover:shadow-md hover:outline-neutral-300",
|
||||
"h-[464px] rounded-md bg-white shadow-neutral-100 shadow-sm outline outline-neutral-400 hover:shadow-md hover:outline-neutral-600",
|
||||
className,
|
||||
)}
|
||||
id={`card-annuncio-${id}`}
|
||||
|
|
@ -75,7 +75,7 @@ export const CardAnnuncio = ({
|
|||
//target="_blank"
|
||||
href={`/annuncio/${codice}`} //duration-700 ease-in-out animate-in fade-in
|
||||
>
|
||||
<div className="group relative text-clip rounded-md outline outline-neutral-100">
|
||||
<div className="group relative text-clip rounded-md outline outline-neutral-300 overflow-clip">
|
||||
{stato === "Trattativa" && (
|
||||
<div>
|
||||
<div className="absolute z-20 h-56 w-full">
|
||||
|
|
@ -94,10 +94,10 @@ export const CardAnnuncio = ({
|
|||
alt={t.card.alt_immagine}
|
||||
blurDataURL={`/storage-api/get/${img.thumb}?image=true`}
|
||||
className={"h-56 w-full rounded-md object-cover "}
|
||||
height={400}
|
||||
height={1080}
|
||||
priority={idx === 0}
|
||||
src={`/storage-api/get/${img.img}?image=true`}
|
||||
width={800}
|
||||
width={1920}
|
||||
/>
|
||||
</CarouselItem>
|
||||
))}
|
||||
|
|
@ -273,7 +273,7 @@ export const CarouselAnnuncio = ({
|
|||
<ImageFlbk
|
||||
alt={img}
|
||||
className={cn(
|
||||
"h-72 w-full rounded-md object-cover sm:h-80",
|
||||
" w-full rounded-md object-cover aspect-square max-h-92 sm:max-h-80",
|
||||
immagini.length === 1 && "object-contain",
|
||||
)}
|
||||
height={400}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue