mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-07-15 11:44:10 +00:00
## Summary Adds an accent NEW badge next to top-level header nav items (Products, Community) on both desktop and mobile. ## Changes - **What**: New `badge?: 'new'` field on `NavItem`, rendered as an accent `Badge` in `HeaderMainDesktop.vue` and `HeaderMainMobile.vue`; adds a `xxs` badge size and drops hardcoded padding/size from the `accent` variant so it composes with size. - **Tests**: e2e coverage asserting the badge shows only on Products/Community, not Company/Pricing. ## Review Focus - The `accent` badge variant now inherits padding/font-size from `size` instead of hardcoding them — verify existing `accent` usages still render correctly. --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: github-actions <github-actions@github.com>