-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat: case name templating #647
Conversation
ChibiBlasphem
commented
Jan 6, 2025
- Added new StringTemplate AST Node
- Let user update the case name template on workflow page
08e9b17
to
bc50100
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one will have significant (but manageable) conflict with my refactor PR #643, but you go ahead and merge it first.
packages/app-builder/src/components/Scenario/Workflow/DetailPanel/CaseNameEditor.hook.ts
Outdated
Show resolved
Hide resolved
...derNode/Operand/OperandEditor/OperandEditModal/StringTemplateEdit/StringTemplateEdit.hook.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
type: string | ||
enum: ['string', 'int', 'float', 'bool', 'datetime'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a comment: I prefer "timestamp" to "datetime" here because that is what is actually manipulated in the backend, but this is in no way blocking for this feature so feel free to not make the change now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'll remove it from the enum list as for now we do not use it, changing it to timestamp would mean changing the backend and I already merged the PR on this side.