Skip to content

UIEXT-3491 WebUI-Migration Binary Objects to Strings#46

Merged
marcbux merged 1 commit intomasterfrom
enh/UIEXT-3491-webui-migration-binary-objects-to-strings
Mar 31, 2026
Merged

UIEXT-3491 WebUI-Migration Binary Objects to Strings#46
marcbux merged 1 commit intomasterfrom
enh/UIEXT-3491-webui-migration-binary-objects-to-strings

Conversation

@tcrundall-tng
Copy link
Copy Markdown
Contributor

No description provided.

@tcrundall-tng tcrundall-tng requested a review from a team as a code owner March 25, 2026 16:07
@tcrundall-tng tcrundall-tng requested review from Copilot and knime-ghub-bot and removed request for a team March 25, 2026 16:07
Copy link
Copy Markdown

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 advances the WebUI migration effort by moving nodes/settings away from legacy “binary object / flow-variable string” representations toward structured WebUI parameters (including credentials widgets) and programmatic node descriptions.

Changes:

  • Migrates Binary Objects to Strings to WebUI NodeParameters, programmatic NodeDescription, and snapshot-based dialog/settings tests.
  • Updates Box Authenticator app credentials from a credentials-flow-variable string to a LegacyCredentials widget with validation/migration wiring.
  • Bumps plugin/test bundle versions to 5.12.0 and updates related snapshots/manifests.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
org.knime.ext.box.authenticator/src-deprecated/org/knime/ext/box/authenticator/node/BoxAuthenticatorSettings.java Adds @ValueReference for nested Box app settings to enable validator referencing.
org.knime.ext.box.authenticator/src-deprecated/org/knime/ext/box/authenticator/node/BoxAppSettings.java Replaces flow-variable string with LegacyCredentials + migration + custom validation hook.
org.knime.ext.box.authenticator/META-INF/MANIFEST.MF Updates bundle version to 5.12.0.
org.knime.ext.box.authenticator.tests/pom.xml Updates test artifact revision to 5.12.0.
org.knime.ext.box.authenticator.tests/files/test_snapshots/org.knime.ext.box.authenticator.node.BoxAuthenticatorSettingsTest.snap Updates snapshots for new credentials widget schema/state.
org.knime.ext.box.authenticator.tests/META-INF/MANIFEST.MF Updates fragment version and host range to align with 5.12.0.
org.knime.base.filehandling/src/org/knime/base/filehandling/binaryobjectstostrings/BinaryObjectsToStringsNodeParameters.java Introduces WebUI parameters, persistence, migration annotations, and effect logic.
org.knime.base.filehandling/src/org/knime/base/filehandling/binaryobjectstostrings/BinaryObjectsToStringsNodeModel.java Adds configure-time auto-guessing of the selected binary-object column when unset.
org.knime.base.filehandling/src/org/knime/base/filehandling/binaryobjectstostrings/BinaryObjectsToStringsNodeFactory.xml Removes legacy XML node description in favor of programmatic description.
org.knime.base.filehandling/src/org/knime/base/filehandling/binaryobjectstostrings/BinaryObjectsToStringsNodeFactory.java Implements WebUI dialog factory + KAI interface + programmatic node description.
org.knime.base.filehandling.tests/src/org/knime/base/filehandling/binaryobjectstostrings/BinaryObjectsToStringsNodeParametersTest.java Replaces legacy dialog test with snapshot test for NodeParameters and settings structure.
org.knime.base.filehandling.tests/files/test_snapshots/org.knime.base.filehandling.binaryobjectstostrings.BinaryObjectsToStringsNodeParametersTest1.snap Adds snapshot for loading a concrete settings instance.
org.knime.base.filehandling.tests/files/test_snapshots/org.knime.base.filehandling.binaryobjectstostrings.BinaryObjectsToStringsNodeParametersTest0.settings.xml.snap Adds snapshot for persisted settings XML structure.
org.knime.base.filehandling.tests/files/test_snapshots/org.knime.base.filehandling.binaryobjectstostrings.BinaryObjectsToStringsNodeParametersTest.snap Adds snapshot for default model/schema/UI schema/persist metadata.
org.knime.base.filehandling.tests/files/node_settings/BinaryObjectsToStringsNodeParameters.xml Adds settings fixture used by snapshot tests.

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

@tcrundall-tng tcrundall-tng force-pushed the enh/UIEXT-3491-webui-migration-binary-objects-to-strings branch 2 times, most recently from 8091e7a to 9f5cc7f Compare March 26, 2026 08:26
@reissinj
Copy link
Copy Markdown
Contributor

The BinaryObjectsToStringsNodeDialog class can be deleted now.

@tcrundall-tng tcrundall-tng force-pushed the enh/UIEXT-3491-webui-migration-binary-objects-to-strings branch 2 times, most recently from 6e7989d to 5f06b3f Compare March 26, 2026 15:11
@tcrundall-tng tcrundall-tng force-pushed the enh/UIEXT-3491-webui-migration-binary-objects-to-strings branch from 5f06b3f to 2376172 Compare March 26, 2026 15:40
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
82.0% Coverage on New Code (required ≥ 85%)
32.1% Duplication on New Code (required ≤ 1%)

See analysis details on SonarQube Cloud

@tcrundall-tng tcrundall-tng force-pushed the enh/UIEXT-3491-webui-migration-binary-objects-to-strings branch from 2376172 to 836397e Compare March 30, 2026 07:06
@marcbux marcbux force-pushed the enh/UIEXT-3491-webui-migration-binary-objects-to-strings branch from 836397e to ce48700 Compare March 31, 2026 06:57
UIEXT-3491 (WebUI Migration Binary Objects to Strings)
@marcbux marcbux force-pushed the enh/UIEXT-3491-webui-migration-binary-objects-to-strings branch from ce48700 to a299aee Compare March 31, 2026 14:07
@marcbux marcbux merged commit 1387b96 into master Mar 31, 2026
1 check failed
@marcbux marcbux deleted the enh/UIEXT-3491-webui-migration-binary-objects-to-strings branch March 31, 2026 14:10
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.

4 participants