Skip to content

RuleEngine can handle datetime fields#1126

Merged
marcomontalbano merged 1 commit into
mainfrom
fix/605_rule_engine_broken_with_datetime
May 14, 2026
Merged

RuleEngine can handle datetime fields#1126
marcomontalbano merged 1 commit into
mainfrom
fix/605_rule_engine_broken_with_datetime

Conversation

@marcomontalbano
Copy link
Copy Markdown
Member

Related to commercelayer/issues-app#605

What I did

I improved field type inference in ConditionMatcher.tsx to treat string fields with a format of datetime as actual datetime fields, ensuring correct UI behavior.

I also update the json schemas for the CodeEditor component.

@marcomontalbano marcomontalbano self-assigned this May 14, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 14, 2026

Deploy Preview for commercelayer-app-elements ready!

Name Link
🔨 Latest commit 88042b6
🔍 Latest deploy log https://app.netlify.com/projects/commercelayer-app-elements/deploys/6a059e4aa2f2310008c90afc
😎 Deploy Preview https://deploy-preview-1126--commercelayer-app-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@marcomontalbano marcomontalbano added the bug Something isn't working label May 14, 2026
@marcomontalbano marcomontalbano merged commit 531974e into main May 14, 2026
7 checks passed
@marcomontalbano marcomontalbano deleted the fix/605_rule_engine_broken_with_datetime branch May 14, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants