Anti-slop : skills humanizer, stop-slop, deslop et nettoyage des textes
deploy / deploy (push) Successful in 1m5s
deploy / deploy (push) Successful in 1m5s
Skills ajoutés (.claude/skills, MIT, relus en entier) : humanizer (textes, guide « Signs of AI writing » de Wikipédia), stop-slop (le skill viral sur TikTok), deslop (code, Cursor). Appliqués à l'app : - tirets longs « — » retirés des textes dans les 18 langues (deux-points ou point selon la phrase, ponctuation propre au chinois, japonais, thaï et hindi) ; - tutoiement partout : 3 textes vouvoyaient en français, 29 en russe ; - écran de plantage : la phrase « le problème nous est signalé automatiquement » était fausse (aucun rapport n'est envoyé), remplacée par un lien pour nous écrire ; - cœur en émoji remplacé par l'icône de l'app, flèche retirée du bouton « Fermer » de la roulette ; - code mort supprimé (StatTile, jamais utilisé). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
35 files changed
+1153
-177
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import { Component, type ReactNode } from 'react'
|
||||
import { t } from '../i18n'
|
||||
import { CONTACT_EMAIL } from '../lib/appInfo'
|
||||
|
||||
/** Fichier d'un écran introuvable : une nouvelle version a été mise en ligne pendant que l'app était ouverte. */
|
||||
const isOutdatedFile = (e: unknown) =>
|
||||
@@ -59,7 +60,10 @@ function CrashScreen({ onRetry }: { onRetry: () => void }) {
|
||||
{t('crash.retry')}
|
||||
</button>
|
||||
</div>
|
||||
<p className="mt-8 max-w-xs text-xs text-ink-3">{t('crash.privacy')}</p>
|
||||
{/* Aucun rapport automatique : on indique comment nous prévenir (e-mail pré-rempli) */}
|
||||
<a href={`mailto:${CONTACT_EMAIL}?subject=${encodeURIComponent(`${t('bug.title')} · Bobinoo`)}`} className="mt-8 max-w-xs text-xs text-ink-3 underline underline-offset-2">
|
||||
{t('bug.hintLocal')}
|
||||
</a>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
@@ -246,7 +246,7 @@ export default function Roulette({ onClose, onOpen }: Props) {
|
||||
<Check size={16} className="text-accent" /> {t('roulette.enjoy')}
|
||||
</span>
|
||||
<button onClick={onClose} className="font-medium text-ink">
|
||||
{t('common.close')} <span className="text-accent">→</span>
|
||||
{t('common.close')}
|
||||
</button>
|
||||
</div>
|
||||
) : (
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
import { Bug, Mail } from 'lucide-react'
|
||||
import { t, type TKey } from '../../i18n'
|
||||
import { techInfo } from '../../lib/appInfo'
|
||||
import { CONTACT_EMAIL, techInfo } from '../../lib/appInfo'
|
||||
import { useMedia } from '../../store'
|
||||
|
||||
/** Adresse de contact de l'éditeur (bugs, signalements, questions). */
|
||||
export const CONTACT_EMAIL = 'contact@bobinoo.org'
|
||||
|
||||
/** Lien « mailto: » avec objet et texte pré-remplis. */
|
||||
export function mailto(subject: string, body: string): string {
|
||||
return `mailto:${CONTACT_EMAIL}?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Check, Loader2, MessagesSquare, Plus, Star } from 'lucide-react'
|
||||
import { Check, Heart, Loader2, MessagesSquare, Plus, Star } from 'lucide-react'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { t } from '../../i18n'
|
||||
import { genreLabel } from '../../lib/genres'
|
||||
@@ -133,7 +133,11 @@ export default function ItemPeek({ item, owner, onClose }: { item: MediaItem; ow
|
||||
<div className="mt-2 flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-ink-3">
|
||||
<StatusPill status={item.status} />
|
||||
{item.endDate && item.status === 'termine' && <span>{formatDate(item.endDate)}</span>}
|
||||
{item.favorite && <span className="text-accent">♥ {t('form.favorite')}</span>}
|
||||
{item.favorite && (
|
||||
<span className="inline-flex items-center gap-1 text-accent">
|
||||
<Heart size={12} className="fill-current" aria-hidden /> {t('form.favorite')}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
{item.notes && <ReviewText text={item.notes} spoiler={item.notesSpoiler} className="mt-3" />}
|
||||
{canReact && review && (
|
||||
|
||||
@@ -17,16 +17,6 @@ export function PageHeader({ title, accent, subtitle, action, wordmark }: { titl
|
||||
)
|
||||
}
|
||||
|
||||
export function StatTile({ label, value, hint, className }: { label: string; value: ReactNode; hint?: string; className?: string }) {
|
||||
return (
|
||||
<div className={cx('card p-4', className)}>
|
||||
<div className="eyebrow">{label}</div>
|
||||
<div className="mt-2 font-bold text-[1.85rem] leading-none tabular-nums">{value}</div>
|
||||
{hint && <div className="mt-2 text-xs text-ink-3">{hint}</div>}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
/** Titre de section : texte simple souligné d'un filet noir (style « Encre »). */
|
||||
export function SectionTitle({ children, action }: { children: ReactNode; action?: ReactNode }) {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user