- Created a .cursorignore file to manage local environment files. - Updated .env.example to reflect changes in the public app URL. - Modified the gmail workspace configuration to include the drive-suite path. - Enhanced email view components to support attachment handling and fallback for plain text bodies. - Improved user experience by updating attachment display logic and integrating inline attachment support.
31 lines
685 B
TypeScript
31 lines
685 B
TypeScript
"use client"
|
|
|
|
export function RemoteContentBanner({
|
|
onShowOnce,
|
|
onAlwaysShow,
|
|
}: {
|
|
onShowOnce: () => void
|
|
onAlwaysShow: () => void
|
|
}) {
|
|
return (
|
|
<p className="mb-3 text-sm leading-snug text-muted-foreground">
|
|
Le contenu distant a été masqué :{" "}
|
|
<button
|
|
type="button"
|
|
onClick={onShowOnce}
|
|
className="text-primary hover:underline"
|
|
>
|
|
afficher le contenu distant
|
|
</button>
|
|
{" — "}
|
|
<button
|
|
type="button"
|
|
onClick={onAlwaysShow}
|
|
className="text-primary hover:underline"
|
|
>
|
|
toujours afficher le contenu distant de cet expéditeur
|
|
</button>
|
|
</p>
|
|
)
|
|
}
|