Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rewrite webhook form template with jsx #4721

Merged
merged 3 commits into from
Jan 8, 2025
Merged

Conversation

TrySound
Copy link
Member

@TrySound TrySound commented Jan 6, 2025

Big one

  • added new Variable(name, initialValue) to defined unique variable
  • added expression\${variable}`` to access variables by reference
  • added new Action(args, expression\`)` support
  • added ws:show prop which is converted to data-ws-show under the hood

All these features are necessary to represent all webhook form features. They also may be handy in tests.

Big one

- added `new Variable(name, initialValue)` to defined unique variable
- added `expression\`${variable}\`` to access variables by reference
- added `new Action(arsgs, expression\`\`)` support
- added `ws:show` prop which is converted to data-ws-show under the hood

All these features are necessary to represent all webhook form features.
They also may be handy in tests.
@TrySound TrySound requested review from kof and istarkov January 6, 2025 08:55
Copy link
Member

@kof kof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't test

@TrySound TrySound merged commit 178ad00 into main Jan 8, 2025
15 checks passed
@TrySound TrySound deleted the webhook-form branch January 8, 2025 11:37
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