Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/extension/src/ui/atoms/OperationalStatusBadge.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</script>

<span
class="inline-flex items-center whitespace-nowrap rounded-md border px-2 py-1 text-micro font-medium {toneClass}"
class="inline-flex items-center whitespace-nowrap rounded-md border px-2 py-1 text-caption font-medium {toneClass}"
>
{label}
</span>
6 changes: 4 additions & 2 deletions apps/extension/src/ui/molecules/OperationalEmptyState.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@
</div>
<div class="min-w-0 flex-1">
<div class="flex flex-wrap items-center gap-2">
<p class="text-micro font-semibold uppercase tracking-[0.15em] text-text-muted">Décision</p>
<p class="text-caption font-semibold uppercase tracking-[0.15em] text-text-subtle">
Décision
</p>
{#if statusLabel}
<OperationalStatusBadge label={statusLabel} {severity} />
{/if}
Expand All @@ -78,7 +80,7 @@

{#if proofLabel && proofValue !== null}
<div class="mt-4 rounded-lg border border-border-light bg-surface-white/70 px-3 py-2">
<p class="text-micro font-semibold uppercase tracking-[0.13em] text-text-muted">
<p class="text-caption font-semibold uppercase tracking-[0.13em] text-text-subtle">
{proofLabel}
</p>
<p class="mt-1 font-mono text-body-lg font-semibold tabular-nums text-text-primary">
Expand Down
4 changes: 2 additions & 2 deletions apps/extension/src/ui/molecules/OperationalStoryCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<div class="min-w-0 flex-1">
<div class="flex flex-wrap items-center gap-2">
{#if eyebrow}
<p class="text-micro font-semibold uppercase tracking-[0.15em] text-text-muted">
<p class="text-caption font-semibold uppercase tracking-[0.15em] text-text-subtle">
{eyebrow}
</p>
{/if}
Expand All @@ -156,7 +156,7 @@
{#each evidence as item, i (i)}
<div class="rounded-lg border border-border-light bg-surface-white/70 px-3 py-2">
<p
class="flex items-center gap-1 text-micro uppercase tracking-[0.13em] text-text-muted"
class="flex items-center gap-1 text-caption uppercase tracking-[0.13em] text-text-subtle"
>
{#if item.icon}
<Icon name={item.icon} size={10} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
>
<div class="flex items-start justify-between gap-2">
<div class="min-w-0">
<p class="text-micro font-medium uppercase tracking-[0.15em] text-text-muted">
<p class="text-caption font-medium uppercase tracking-[0.15em] text-text-subtle">
{card.label}
</p>
<p class="mt-1 text-heading font-semibold tabular-nums text-text-primary">
Expand All @@ -112,17 +112,19 @@
<Icon name={card.icon} size={13} />
</span>
</div>
<p class="mt-1 text-micro font-medium text-text-primary">{card.stateLabel}</p>
<p class="mt-0.5 min-h-7 text-micro leading-4 text-text-subtle">{card.hint}</p>
<p class="mt-1 text-caption font-medium text-text-primary">{card.stateLabel}</p>
<p class="mt-0.5 min-h-9 text-caption leading-[1.15rem] text-text-subtle">{card.hint}</p>
</div>
{/each}
</div>

<div class="rounded-xl border border-border-light bg-surface-white p-3">
<div class="mb-2 flex items-center justify-between gap-3">
<p class="text-micro font-semibold uppercase tracking-[0.15em] text-text-muted">Avancement</p>
<p class="text-caption font-semibold uppercase tracking-[0.15em] text-text-subtle">
Avancement
</p>
{#if summary.bottleneck}
<p class="flex items-center gap-1 text-micro text-text-subtle">
<p class="flex items-center gap-1 text-caption text-text-subtle">
<Icon name="traffic-cone" size={11} />
Goulot: {summary.bottleneck.label}
</p>
Expand Down
4 changes: 2 additions & 2 deletions apps/extension/src/ui/organisms/AvailabilityPanel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
class="rounded-lg border border-border-light bg-surface-white px-3 py-2 text-body-lg text-text-primary focus:border-blueprint-blue focus:outline-none focus:ring-2 focus:ring-blueprint-blue/20"
/>
{#if dateMissing}
<span class="text-micro text-status-red">La date est requise pour ce statut.</span>
<span class="text-caption text-status-red">La date est requise pour ce statut.</span>
{/if}
</label>
{/if}
Expand All @@ -201,7 +201,7 @@
placeholder="Précisions : rythme, remote, foursquare…"
class="resize-y rounded-lg border border-border-light bg-surface-white px-3 py-2 text-body-lg leading-relaxed text-text-primary placeholder:text-text-muted focus:border-blueprint-blue focus:outline-none focus:ring-2 focus:ring-blueprint-blue/20"
></textarea>
<span class="text-right text-micro text-text-muted"
<span class="text-right text-caption text-text-subtle"
>{noteLen}/{AVAILABILITY_NOTE_MAX_LENGTH}</span
>
</label>
Expand Down
48 changes: 25 additions & 23 deletions apps/extension/src/ui/organisms/CopilotPanel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
Copilot Premium
</h3>
<span
class="rounded-md border border-blueprint-blue/20 bg-blueprint-blue/6 px-2 py-0.5 text-micro font-medium text-blueprint-blue"
class="rounded-md border border-blueprint-blue/20 bg-blueprint-blue/6 px-2 py-0.5 text-caption font-medium text-blueprint-blue"
>
Eve · distant
</span>
Expand All @@ -285,7 +285,7 @@
<div class="mt-4 rounded-lg border border-border-light bg-page-canvas p-3" role="status">
<p class="text-meta font-medium text-text-primary">Issue de la demande de suppression</p>
<p class="mt-1 text-caption leading-5 text-text-subtle">{deletionReceiptMessage()}</p>
<p class="mt-1 text-micro text-text-muted">Confirmé le {deletionReceiptDate()}.</p>
<p class="mt-1 text-caption text-text-subtle">Confirmé le {deletionReceiptDate()}.</p>
</div>
{/if}

Expand All @@ -299,12 +299,12 @@
<p id="living-dossier-title" class="text-meta font-medium text-text-primary">
Dossier vivant
</p>
<p class="mt-1 text-micro leading-4 text-text-muted">
<p class="mt-1 text-caption leading-4 text-text-subtle">
Contenus explicitement conservés · état serveur {store.dossier.state}
</p>
</div>
{#if store.dossier.activeJob}
<span class="rounded-md bg-surface-white px-2 py-1 text-micro text-text-subtle">
<span class="rounded-md bg-surface-white px-2 py-1 text-caption text-text-subtle">
Traitement actif · {store.dossier.activeJob.kind}
</span>
{/if}
Expand All @@ -314,7 +314,7 @@
<article class="mt-3 rounded-lg border border-border-light bg-surface-white p-3">
<div class="flex items-center justify-between gap-2">
<p class="text-caption font-medium text-text-primary">Analyse approuvée</p>
<span class="text-micro text-text-muted">
<span class="text-caption text-text-subtle">
{approvedAt(store.dossier.analysis.approvedAtMs)}
</span>
</div>
Expand All @@ -323,7 +323,7 @@
{#each store.dossier.analysis.result.evidenceClaims as claim (`${claim.text}:${claim.evidenceIds.join(',')}`)}
<li class="text-caption leading-5 text-text-secondary">
{claim.text}
<span class="block text-micro text-text-muted">
<span class="block text-caption text-text-subtle">
Preuves : {claim.evidenceIds.join(' · ')}
</span>
</li>
Expand Down Expand Up @@ -353,7 +353,7 @@

{#if store.dossier.approvedArtifacts.length > 0}
<div class="mt-3 space-y-2">
<p class="text-micro font-medium uppercase tracking-[0.14em] text-text-muted">
<p class="text-caption font-medium uppercase tracking-[0.14em] text-text-subtle">
Brouillons approuvés ({store.dossier.approvedArtifacts.length})
</p>
{#each store.dossier.approvedArtifacts as artifact (artifact.artifactId)}
Expand All @@ -362,7 +362,9 @@
<p class="text-caption font-medium text-text-primary">
{artifactLabels[artifact.kind]}
</p>
<span class="text-micro text-text-muted">{approvedAt(artifact.approvedAtMs)}</span>
<span class="text-caption text-text-subtle"
>{approvedAt(artifact.approvedAtMs)}</span
>
</div>
<p class="mt-2 whitespace-pre-wrap text-meta leading-5 text-text-primary">
{artifact.draft}
Expand Down Expand Up @@ -445,7 +447,7 @@
</summary>
<div class="border-t border-border-light p-3">
<fieldset>
<legend class="text-micro font-medium uppercase tracking-[0.14em] text-text-muted">
<legend class="text-caption font-medium uppercase tracking-[0.14em] text-text-subtle">
Mission
</legend>
<div class="mt-2 grid grid-cols-2 gap-2">
Expand All @@ -464,7 +466,7 @@
</fieldset>

<fieldset class="mt-4">
<legend class="text-micro font-medium uppercase tracking-[0.14em] text-text-muted">
<legend class="text-caption font-medium uppercase tracking-[0.14em] text-text-subtle">
Profil
</legend>
<div class="mt-2 grid grid-cols-2 gap-2">
Expand All @@ -484,7 +486,7 @@

{#if store.availableEvidence.length > 0}
<fieldset class="mt-4">
<legend class="text-micro font-medium uppercase tracking-[0.14em] text-text-muted">
<legend class="text-caption font-medium uppercase tracking-[0.14em] text-text-subtle">
Expériences comme sources
</legend>
<div class="mt-2 space-y-2">
Expand Down Expand Up @@ -515,15 +517,15 @@
/>
Je consens à transmettre uniquement les champs cochés à MissionPulse Copilot pour ce job.
</label>
<p class="mt-2 text-micro leading-4 text-text-muted">
<p class="mt-2 text-caption leading-4 text-text-subtle">
Coach TJM transmet aussi des repères de marché numériques agrégés : stacks rapprochées,
volumes, fourchette, tendance et date. Aucun relevé de mission individuel n’est transmis.
</p>
<p class="mt-1 text-micro leading-4 text-text-muted">
<p class="mt-1 text-caption leading-4 text-text-subtle">
Pitch, message et résumé CV exigent au moins une expérience cochée afin que chaque segment
généré cite sa source.
</p>
<p class="mt-1 text-micro leading-4 text-text-muted">
<p class="mt-1 text-caption leading-4 text-text-subtle">
Décocher limite le job courant. Les données déjà consenties restent dans le dossier
Copilot jusqu’à sa suppression confirmée.
</p>
Expand All @@ -542,7 +544,7 @@
<Icon name={operation.icon} size={13} class="text-blueprint-blue" />
{operation.label}
</span>
<span class="text-micro text-text-muted">{operation.detail}</span>
<span class="text-caption text-text-subtle">{operation.detail}</span>
</button>
{/each}
</div>
Expand All @@ -552,7 +554,7 @@
<div class="flex items-center justify-between gap-3">
<div>
<p class="text-meta font-medium text-text-primary">{statusLabel(store.job.status)}</p>
<p class="mt-0.5 text-micro text-text-muted">
<p class="mt-0.5 text-caption text-text-subtle">
{store.job.kind === 'analysis' ? 'Analyse incluse' : `${store.job.creditCost} crédit`}
</p>
</div>
Expand All @@ -571,7 +573,7 @@

{#if store.job.tjmFacts}
<div class="mt-3 rounded-lg border border-border-light bg-surface-white p-3">
<p class="text-micro font-medium uppercase tracking-[0.14em] text-text-muted">
<p class="text-caption font-medium uppercase tracking-[0.14em] text-text-subtle">
Repères locaux déterministes
</p>
<div class="mt-2 grid grid-cols-2 gap-2 text-caption text-text-secondary">
Expand All @@ -580,7 +582,7 @@
<span>Marché : {formatEur(store.job.tjmFacts.market.weightedAverage)}</span>
<span>Confiance : {store.job.tjmFacts.confidence}</span>
</div>
<p class="mt-2 text-micro text-text-muted">
<p class="mt-2 text-caption text-text-subtle">
{store.job.tjmFacts.market.sampleCount} observation{store.job.tjmFacts.market
.sampleCount > 1
? 's'
Expand All @@ -591,7 +593,7 @@

{#if store.job.result && store.job.status === 'review'}
<div class="mt-3 rounded-lg border border-border-light bg-surface-white p-3">
<p class="text-micro font-medium uppercase tracking-[0.14em] text-blueprint-blue">
<p class="text-caption font-medium uppercase tracking-[0.14em] text-blueprint-blue">
Proposition IA non vérifiée
</p>
{#if groundedDraftText}
Expand All @@ -601,7 +603,7 @@
{#each groundedDraftSegments as segment, index (`${index}:${segment.text}`)}
<li class="text-meta leading-5 text-text-primary">
<span class="whitespace-pre-wrap">{segment.text}</span>
<span class="mt-1 block space-y-1 text-micro leading-4 text-text-muted">
<span class="mt-1 block space-y-1 text-caption leading-4 text-text-subtle">
{#each segment.sourceRefs as sourceRef (`${sourceRef.kind}:${sourceRef.id}`)}
<span class="block">
{sourceRefLabel(sourceRef)} — « {sourceRefExcerpt(sourceRef)} »
Expand All @@ -625,7 +627,7 @@
role="alert"
>
<p class="text-caption font-medium text-text-primary">Proposition non vérifiée</p>
<p class="mt-1 text-micro leading-4 text-text-subtle">
<p class="mt-1 text-caption leading-4 text-text-subtle">
Les segments ne disposent pas tous de sources consenties valides. Le contenu est
masqué et ne peut être ni copié ni conservé.
</p>
Expand All @@ -640,7 +642,7 @@
{#each supportedEvidenceClaims as claim (claim.text)}
<li class="text-caption leading-5 text-text-secondary">
<span>{claim.text}</span>
<span class="block text-micro text-text-muted">
<span class="block text-caption text-text-subtle">
{claim.evidenceIds
.map((id) => `${evidenceLabel(id)} — « ${evidenceExcerpt(id)} »`)
.join(' · ')}
Expand Down Expand Up @@ -743,7 +745,7 @@
{:else}
<button
type="button"
class="text-caption font-medium text-text-muted hover:text-status-red"
class="text-caption font-medium text-text-subtle hover:text-status-red"
onclick={() => (deleteConfirmation = true)}>Supprimer le dossier Copilot</button
>
{/if}
Expand Down
Loading
Loading