Skip to content

Conversation

@christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Nov 1, 2025

Summary

Fixes missing cloud badges and server health alerts when workflow tabs are in the second-row position.

Problem

Badges were only visible when Comfy.Workflow.WorkflowTabsPosition was set to 'Topbar', but not when set to 'Topbar (2nd-row)' which is the default for screens < 1536px wide on rh-test.

The SecondRowWorkflowTabs.vue component only rendered <WorkflowTabs /> but was missing <TopbarBadges />.

Changes

  • Added <TopbarBadges /> component to SecondRowWorkflowTabs.vue
  • Updated container to use flex layout to match other topbar badge implementations
  • Badges now display in both 'Topbar' and 'Topbar (2nd-row)' positions

Testing

  • Cloud badges should now be visible on screens < 1536px wide (default setting)
  • Server health alerts from remote config should display properly in second-row tabs

Note

This is an rh-test only issue. The main branch removed the 'Topbar (2nd-row)' option in the Floating Menus PR (#5980).

┆Issue is synchronized with this Notion page by Unito

… tabs

Badges were only visible when WorkflowTabsPosition was set to 'Topbar',
but not when set to 'Topbar (2nd-row)' which is the default for screens
< 1536px wide.

This adds TopbarBadges component to SecondRowWorkflowTabs.vue to ensure
cloud badges and server health alerts are visible in both topbar positions.
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Nov 1, 2025
@github-actions
Copy link

github-actions bot commented Nov 1, 2025

🎭 Playwright Test Results

Some tests failed

⏰ Completed at: 11/01/2025, 10:53:25 AM UTC

📊 Test Reports by Browser


🎉 Click on the links above to view detailed test results for each browser configuration.

@christian-byrne christian-byrne merged commit 5303b3c into rh-test Nov 1, 2025
11 of 21 checks passed
@christian-byrne christian-byrne deleted the fix/add-badges-to-second-row-tabs branch November 1, 2025 10:30
christian-byrne added a commit that referenced this pull request Nov 5, 2025
…sition

## Summary

Fixes incorrect badge placement from PR #6515. Badges should remain in the
main topbar row at all times, not move to the second row with workflow tabs.

## Problem

PR #6515 added TopbarBadges to SecondRowWorkflowTabs.vue, causing badges to
appear in the second row when workflow tabs position was set to 'Topbar (2nd-row)'.

The original issue was that badges weren't visible when tabs were in second-row
mode because they were conditionally rendered only when workflowTabsPosition === 'Topbar'.

## Changes

- Remove TopbarBadges from SecondRowWorkflowTabs.vue (badges should never be in second row)
- Move TopbarBadges from conditional workflow tabs row to main topbar in TopMenubar.vue
- Badges now always display in main topbar regardless of workflow tabs position
christian-byrne added a commit that referenced this pull request Nov 5, 2025
…sition (#6592)

## Summary

Fixes incorrect badge placement from PR #6515. Badges should remain in
the main topbar row at all times, not move to the second row with
workflow tabs.

## Problem

PR #6515 added `TopbarBadges` to `SecondRowWorkflowTabs.vue`, causing
badges to appear in the second row when workflow tabs position was set
to `'Topbar (2nd-row)'`.

The original issue was that badges weren't visible when tabs were in
second-row mode because they were conditionally rendered only when
`workflowTabsPosition === 'Topbar'`.

## Changes

- Remove `TopbarBadges` from `SecondRowWorkflowTabs.vue` (badges should
never be in second row)
- Move `TopbarBadges` from conditional workflow tabs row to main topbar
in `TopMenubar.vue`
- Badges now always display in main topbar regardless of workflow tabs
position

## Testing

- Badges visible in main topbar when `workflowTabsPosition === 'Topbar'`
- Badges visible in main topbar when `workflowTabsPosition === 'Topbar
(2nd-row)'`
- Workflow tabs correctly move to second row without badges

Fixes issue introduced in #6515
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants