Skip to content

Improve boolean labeling for operation inputs#1249

Open
Matti2603 wants to merge 2 commits into
eclipse-basyx:mainfrom
Matti2603:feature/fr06-boolean-labeling
Open

Improve boolean labeling for operation inputs#1249
Matti2603 wants to merge 2 commits into
eclipse-basyx:mainfrom
Matti2603:feature/fr06-boolean-labeling

Conversation

@Matti2603

Copy link
Copy Markdown

This commit is part of this issue: #538

As part of the "Software Engineering" course at DHBW Stuttgart, a student team is working on this issue under the supervision of @mrentsch65

https://github.com/DHBW-TINF24F/Team2-BaSyx-Viewer-Plugin-Erweiterung

Description of Changes

This pull request improves the labeling of boolean input variables in Operation submodules.

Boolean values are now displayed more clearly in the UI using visual switches and explicit true/false labels. This makes boolean operation inputs easier to understand and improves the usability of Operation submodules.

Related Issue

#538

BaSyx Configuration for Testing

No special configuration is required. The feature can be tested with the standard frontend setup and a running BaSyx backend.

AAS Files Used for Testing

A test AAS file containing an Operation submodel with boolean input variables was used to verify the improved boolean labeling.

The test file contains boolean inputs such as:

  • enableMachine
  • emergencyStop
  • maintenanceMode
  • automaticRestart
  • enableDataLogging

Testing

  • Tested with an AAS containing an Operation submodel
  • Verified that boolean input variables are displayed as switches
  • Verified that true and false states are visible in the UI
  • Checked that non-boolean input variables are not affected

@aaronzi

aaronzi commented May 13, 2026

Copy link
Copy Markdown
Member

Thanks for the PR. Please remove the .DS_STORE file and sign the Eclipse contributor agreement with the same mail that you used for your commit.

@Matti2603

Copy link
Copy Markdown
Author

removed ds_store and signed the agreement.

@aaronzi

aaronzi commented May 22, 2026

Copy link
Copy Markdown
Member

There seems to be atleast one commit that was made with another email:

mattifrey@MacBook-Ai*-von-Matti DOT local

Could you please check that. You could either cherry-pick that commit or open a new PR with the same changes again but only contributed via the "correct" mail.

Also please fix linting errors (e.g. pnpm run lint:fix)

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