Skip to content

Add Description field to expression entries similar to decision table#237

Open
yash9323 wants to merge 1 commit intogorules:masterfrom
yash9323:feature/expression-description-field
Open

Add Description field to expression entries similar to decision table#237
yash9323 wants to merge 1 commit intogorules:masterfrom
yash9323:feature/expression-description-field

Conversation

@yash9323
Copy link
Copy Markdown

@yash9323 yash9323 commented Apr 24, 2026

image

Why

Expression nodes often contain complex business logic (data transformations, aggregations,
conditional calculations). When reviewing or debugging a graph, it's hard to remember what each
expression does without reading the code.

Changes

  • Added _description?: string to ExpressionEntry type
  • Added Description column in expression list (header + input field per row)
  • Updated schema validation for expression node expressions
  • Added separator border between expression code and description
  • Increased description column width (min 280px, flex 1.2fr)

Tests

  • Build passes
  • TypeScript typecheck passes
  • Lint passes
  • Description field renders in Storybook
  • Description is editable with edit:full permission
  • Description is read-only with view/edit:values permission

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.

1 participant