Skip to content

feat: 4905 Add expression help UI for schema editor auto-calculate fields#5883

Merged
Pyatakov merged 1 commit intohashgraph:developfrom
nikolay-zezin:feat/4905
Mar 27, 2026
Merged

feat: 4905 Add expression help UI for schema editor auto-calculate fields#5883
Pyatakov merged 1 commit intohashgraph:developfrom
nikolay-zezin:feat/4905

Conversation

@nikolay-zezin
Copy link
Copy Markdown

@nikolay-zezin nikolay-zezin commented Mar 25, 2026

Fixes #4905

  • Add collapsible help panel to Code Editor with available fields, operators, functions (Math, Array, Type conversion), table helper methods, and 11 expression examples
  • Add help icon tooltip next to Edit Expression button
  • Validate expressions by executing them as JavaScript (same as backend), catching syntax errors, undefined functions, and bad field references
  • Independent scrolling for editor and help panel
  • Fix formula-lang mode: move variable regex out of token() for performance
  • Add unit tests for validation and help context (30+ test cases)
  • Update user guide documentation with screenshots

…raph#4905)

- Add collapsible help panel to Code Editor with available fields,
  operators, functions (Math, Array, Type conversion), table helper
  methods, and 11 expression examples
- Add help icon tooltip next to Edit Expression button
- Validate expressions by executing them as JavaScript (same as backend),
  catching syntax errors, undefined functions, and bad field references
- Support dotted notation for nested schema fields (subSchema.field)
- Independent scrolling for editor and help panel
- Remove unused ExpressionScope interface
- Fix formula-lang mode: move variable regex out of token() for performance
- Add unit tests for validation and help context (30+ test cases)
- Update user guide documentation with screenshots

Signed-off-by: nikolay-zezin <Nikolay.Zezin@waveaccess.global>
@Pyatakov Pyatakov merged commit d6fb38a into hashgraph:develop Mar 27, 2026
12 checks passed
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