Skip to content

Conversation

@RainerSchmoeger
Copy link

No description provided.

Copilot AI review requested due to automatic review settings January 26, 2026 15:16
Copy link

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 replaces custom dialog popover implementations with standardized KDS (KNIME Design System) components for flow variable and description buttons, improving consistency and maintainability.

Changes:

  • Replaced custom FlowVariableIcon and DialogPopover with KdsVariableToggleButton and KdsInfoToggleButton from @knime/kds-components
  • Simplified description popover implementation by removing custom styling and using KDS components
  • Updated flow variable button to use computed properties for state management instead of tooltip prefix logic

Reviewed changes

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

File Description
FlowVariableButton.vue Replaces custom icon and popover with KDS toggle buttons, adds state management for variable settings
DescriptionPopover.vue Simplifies component by replacing custom implementation with KDS popover and toggle button

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<KdsInfoToggleButton v-model="open" :visible="hover" />
</template>
</DialogPopover>
<div v-html="html" />
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

Using v-html without sanitization can expose the application to XSS attacks. If the html prop contains user-generated content or data from external sources, it should be sanitized before rendering. Consider using a sanitization library or validating that the content source is trusted.

Copilot uses AI. Check for mistakes.
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