From 9802db816e245feb70b546f985dd071da3c09827 Mon Sep 17 00:00:00 2001 From: Shinuwa Date: Wed, 18 Nov 2026 23:13:57 +0100 Subject: [PATCH] Show each score bonus as its own badge in the departure preview and on group cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bonus labels such as "Affinité · Rêves" and "Expertise · Fortune +8 %" were joined with the same dot that separates their parts, so two bonuses read as one. They now use the separate badges of the return report. Co-Authored-By: Claude Opus 5.5 --- website/src/features/cards/ExpeditionGroupCard.jsx | 2 +- website/src/features/cards/ExpeditionPlanner.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/features/cards/ExpeditionGroupCard.jsx b/website/src/features/cards/ExpeditionGroupCard.jsx index 78ef775..1ed2b48 100644 --- a/website/src/features/cards/ExpeditionGroupCard.jsx +++ b/website/src/features/cards/ExpeditionGroupCard.jsx @@ -142,7 +142,7 @@ export function ExpeditionGroupCard({ catalog, group, cards, content, now, busy, : } {projected.players > 1 &&
{content.groupOutcomeGroupLoot}
{fillTemplate(content.lootBonus, { value: formatEclats(projected.lootPct / 100) })}
} {(projected.powers || []).length > 0 &&
{content.groupOutcomePowers}
{projected.powers.map((power) => item.stat) : []} />)}
} - {bonuses.length > 0 &&
{content.groupOutcomeBonuses}
{bonuses.join(" · ")}
} + {bonuses.length > 0 &&
{content.groupOutcomeBonuses}
{bonuses.map((label) => {label})}
} {group.isMember && } diff --git a/website/src/features/cards/ExpeditionPlanner.jsx b/website/src/features/cards/ExpeditionPlanner.jsx index a9bfe13..b8fcbc5 100644 --- a/website/src/features/cards/ExpeditionPlanner.jsx +++ b/website/src/features/cards/ExpeditionPlanner.jsx @@ -108,7 +108,7 @@ function Preview({ catalog, preview, content, hours, tierLootPct }) { : } {(preview.powers || []).length > 0 &&
{content.groupOutcomePowers}
{preview.powers.map((power) => item.stat) : []} />)}
} - {bonuses.length > 0 &&
{content.groupOutcomeBonuses}
{bonuses.join(" · ")}
} + {bonuses.length > 0 &&
{content.groupOutcomeBonuses}
{bonuses.map((label) => {label})}
} {!preview.hiddenRequirements && preview.limitedByStars &&

{fillTemplate(content.limitedByStarsHelp, { stars: preview.limitedByStars })}

} {!preview.hiddenRequirements && preview.durationFactor < 1 &&

{content.durationMalus}

}