Skip to content

feat: Add shadcn components for editing fields #293

Description

@lornakelly

Description

Add missing shadcn components in preparation for editing. Verify that each component has the dec prefix (which should happen automatically)

Components to add:

  • Textarea
  • Switch
  • Combobox

Instructions for adding can be found here https://github.com/open-workflow-specification/editor/tree/main/packages/open-workflow-diagram-editor#adding-a-shadcn-component

Verify that the components are correctly styled by adding some dummy fields and taking screenshots that can be added to the PR (remove dummy field code before submitted PR, they are simply to be used to verify and take screenshots)

There should not be a need to hand edit any component so raise to team if there is an issue

Motivation

Components needed for editing

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

Labels

enhancementNew feature or request

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions