mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-09 04:02:35 +00:00
fix(client): count IconGaugeOutline16 in the icon-set pin; keep the hero headline text addressable
The icon-set spec still pinned 74 exports after IconGaugeOutline16 landed (a hand-drawn product glyph — the set is now eight of those). Moving the preview badge inside the hero title group had merged the headline into one text node with the badge, which broke exact text lookup (hmr-live e2e); the headline gets its own span again.
This commit is contained in:
@@ -150,7 +150,8 @@ export function HeroShell({ t, renderSlot, children }: HeroShellProps) {
|
||||
})}
|
||||
</span>
|
||||
<span className={css.titleGroup}>
|
||||
{t('hero.headline')}
|
||||
{/* Own element: keeps the headline text addressable apart from the badge. */}
|
||||
<span>{t('hero.headline')}</span>
|
||||
<span className={css.previewBadge}>{t('hero.preview')}</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -17,8 +17,8 @@ const icons = Object.fromEntries(
|
||||
const iconNames = Object.keys(icons)
|
||||
|
||||
describe('ic_ds_ icon set', () => {
|
||||
it('exports the full icon set (46 deepsuite + 21 figma extracts + seven product glyphs outside those sets)', () => {
|
||||
expect(iconNames.length).toBe(74)
|
||||
it('exports the full icon set (46 deepsuite + 21 figma extracts + eight product glyphs outside those sets)', () => {
|
||||
expect(iconNames.length).toBe(75)
|
||||
})
|
||||
|
||||
it.each(iconNames)('%s renders an svg with currentColor fills and no hardcoded palette', (name) => {
|
||||
|
||||
Reference in New Issue
Block a user