-
Notifications
You must be signed in to change notification settings - Fork 102
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
Support datetime
component
#377
Conversation
packages/form-js-viewer/src/render/components/form-fields/parts/Datepicker.js
Outdated
Show resolved
Hide resolved
Let's not forget to update the |
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.
Functionality-wise, I already like it a lot 👍
I also gave a first review code-wise. It's a lot, so I didn't check the datetime conversion magic in full detail but will give it a thorough review in a second step.
packages/form-js-editor/src/features/properties-panel/entries/DateTimeConstraintsEntry.js
Show resolved
Hide resolved
packages/form-js-editor/src/features/properties-panel/entries/DateTimeEntry.js
Outdated
Show resolved
Hide resolved
packages/form-js-viewer/src/render/components/form-fields/Datetime.js
Outdated
Show resolved
Hide resolved
packages/form-js-viewer/src/render/components/form-fields/Datetime.js
Outdated
Show resolved
Hide resolved
packages/form-js-viewer/src/render/components/form-fields/Datetime.js
Outdated
Show resolved
Hide resolved
packages/form-js-viewer/src/render/components/form-fields/parts/Datepicker.js
Outdated
Show resolved
Hide resolved
packages/form-js-viewer/src/render/components/form-fields/parts/Datepicker.js
Outdated
Show resolved
Hide resolved
packages/form-js-viewer/src/render/components/form-fields/parts/Timepicker.js
Outdated
Show resolved
Hide resolved
1c3bfe9
to
563f338
Compare
I rebased the branch on |
563f338
to
49e08c5
Compare
49e08c5
to
923ee8a
Compare
Stuff that still needs doing:
Discovered Nov 30th
Discovered December 1st
Discovered December 5th
|
d066db0
to
335a134
Compare
packages/form-js-viewer/test/spec/render/components/form-fields/Datetime.spec.js
Outdated
Show resolved
Hide resolved
89a7430
to
5f06819
Compare
c48fe11
to
2c81816
Compare
We will squash and split the commits after the final review. Update: just did this. |
2c81816
to
77bc791
Compare
8b0ba55
to
2345f8a
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 looks good from my side now 🎉 Quite an extensive test coverage, I pretty much like 🙂
I'll wait for UX feedback from @RomanKostka @christian-konrad before merging. If you are interested, you can find the datetime schema here.
Closes #340
Demo: https://demo-datepicker--camunda-form-playground.netlify.app/