Skip to content

Hide queue overlay header menu on cloud (#7571)#7573

Merged
benceruleanlu merged 2 commits intocloud/1.35from
bl-productive-tortoise
Dec 16, 2025
Merged

Hide queue overlay header menu on cloud (#7571)#7573
benceruleanlu merged 2 commits intocloud/1.35from
bl-productive-tortoise

Conversation

@benceruleanlu
Copy link
Member

@benceruleanlu benceruleanlu commented Dec 16, 2025

Hide the QueueOverlayHeader more-options (…) menu when running in Cloud
distribution

This is being hidden instead of fixed because it deletes all user assets
on cloud, will be touched by /jobs, replaced by the second iteration of
design changes, along with changes to asset deletion happening soon. It
would be too risky to have a proper fix for it in the cloud deploy
today.

┆Issue is synchronized with this Notion page by Unito

Hide the QueueOverlayHeader more-options (…) menu when running in Cloud
distribution

This is being hidden instead of fixed because it deletes all user assets
on cloud, will be touched by /jobs, replaced by the second iteration of
design changes, along with changes to asset deletion happening soon. It
would be too risky to have a proper fix for it in the cloud deploy
today.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7571-Hide-queue-overlay-header-menu-on-cloud-2cb6d73d3650815a8faac8a8f0de91f0)
by [Unito](https://www.unito.io)

---------

Co-authored-by: GitHub Action <action@github.com>
Copilot AI review requested due to automatic review settings December 16, 2025 21:46
@benceruleanlu benceruleanlu requested a review from a team as a code owner December 16, 2025 21:46
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Dec 16, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 16, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch bl-productive-tortoise

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Dec 16, 2025

🎭 Playwright Test Results

⚠️ Tests passed with flaky tests

⏰ Completed at: 12/16/2025, 10:00:09 PM UTC

📈 Summary

  • Total Tests: 505
  • Passed: 494 ✅
  • Failed: 0
  • Flaky: 2 ⚠️
  • Skipped: 9 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 482 / ❌ 0 / ⚠️ 2 / ⏭️ 9
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 9 / ❌ 0 / ⚠️ 0 / ⏭️ 0

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

@github-actions
Copy link

github-actions bot commented Dec 16, 2025

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 12/16/2025, 09:50:54 PM UTC

🔗 Links


🎉 Your Storybook is ready for review!

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR hides the QueueOverlayHeader's more-options menu (…) when running in the Cloud distribution to prevent users from accidentally deleting all their assets. The menu is temporarily hidden rather than fixed because it will be replaced by upcoming design changes and improvements to asset deletion functionality.

  • Conditionally hide the more-options menu in QueueOverlayHeader based on the isCloud flag
  • Add defensive checks to node resize handler to prevent unintended resize operations

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/components/queue/QueueOverlayHeader.vue Adds conditional rendering (v-if="!isCloud") to hide the more-options menu and Popover component in Cloud distribution, and imports the isCloud flag
src/renderer/extensions/vueNodes/components/LGraphNode.vue Adds button type check and pointer event handling check to handleResizePointerDown to prevent resize operations with non-primary mouse buttons or when pointer events should not be handled

</span>
</div>
<div class="flex items-center gap-1">
<div v-if="!isCloud" class="flex items-center gap-1">
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The conditional hiding of the menu options based on isCloud requires corresponding test updates. The existing test file QueueOverlayHeader.test.ts needs to be modified to test both cloud and non-cloud scenarios, as the current test expects the "More options" button to be present which will now only render when isCloud is false.

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Literally first time I ever saw copilot give a suggestion

@benceruleanlu benceruleanlu merged commit 626a712 into cloud/1.35 Dec 16, 2025
23 checks passed
@benceruleanlu benceruleanlu deleted the bl-productive-tortoise branch December 16, 2025 21:54
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