Skip to content

feat: Hide irrelevant fields in side panel forms #397

Description

@lornakelly

Description

Review form fields in the side panel and hide/merge fields that users don't need to interact with directly. Simplify the UX by automatically handling schema type selection. For example oneOf can be based on user input rather than requiring explicit selection.

Example: oneOf: [uriTemplate, runtimeExpression], users should simply enter a value (e.g. https://... or ${.orderServiceUrl}) without needing to choose which schema type applies

Motivation

Many dynamically generated fields expose implementation details that confuse users and clutter the interface. By hiding technical fields and auto-detecting schema types, we can:

  • Simplify the user experience
  • Reduce cognitive load when editing properties
  • Prevent user errors from selecting incorrect schema types
  • Create a more intuitive, streamlined editing workflow

Proposed Implementation

No response

Definition of Done

  • Implementation: Fully implemented according to the Open Workflow spec.
  • Unit Tests: Comprehensive unit tests are included and passing.
  • Integration Tests: Verified within the monorepo and target environments (Web/VS Code).
  • Documentation: Updated README.md, ADRs, or official docs.
  • Performance: No significant regression in editor responsiveness.
  • Accessibility: UI changes comply with accessibility standards.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions