Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a warning next to the Workflow selector if the Workflow requires high VRAM. #41

Merged
merged 5 commits into from
Jan 24, 2025

Conversation

julianbollig
Copy link

No description provided.

<p>Workflow</p>
<div class="flex justify-between items-center pt-3">
<p>Workflow</p>
<p v-show="imageGeneration.activeWorkflow.requirements?.includes('high-vram')" data-tooltip="This model requires a lot of VRAM. Reduce the resolution and/or restart the ComfyUI backend when in case you experience a poor performance."> ⚠️ high VRAM ⚠️</p>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please make the text translatable.
Regarding the notice itself:

  • It is not clear that the user is able to hover to get more info. Maybe add a dashed underline?
  • It is not clear what high VRAM is referring to, maybe "High VRAM req."?
  • I think one ⚠️ is enough :) Ideally, this would also be an icon in the same style as other UI elements (see icons directly below)

Copy link
Author

Choose a reason for hiding this comment

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

there is no warning sign in src/assets/svg. Since I am unsure regarding licences, do you know what is best to use?

Copy link
Author

Choose a reason for hiding this comment

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

I made the text translatable, however, I am not entirely happy on how I implemented the infos displayed after hoovering (although it works). If you see a better solution, I would be interested to hear.

WebUI/src/components/SettingsImageWorkflowSelector.vue Outdated Show resolved Hide resolved
WebUI/src/components/SettingsImageWorkflowSelector.vue Outdated Show resolved Hide resolved
WebUI/src/components/SettingsImageWorkflowSelector.vue Outdated Show resolved Hide resolved
@mschuettlerTNG mschuettlerTNG merged commit 2fb8baa into dev Jan 24, 2025
8 checks passed
@mschuettlerTNG mschuettlerTNG deleted the AddVramWarning branch January 29, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants