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

(chore) Bump form engine lib #356

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

usamaidrsk
Copy link
Member

@usamaidrsk usamaidrsk commented Oct 24, 2024

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

This PR bumps the form-engine-lib to the latest available version

Screenshots

Related Issue

Other

@usamaidrsk usamaidrsk requested review from samuelmale and denniskigen and removed request for samuelmale October 24, 2024 13:27
@@ -143,7 +142,7 @@ const FormEditorContent: React.FC<TranslationFnProps> = ({ t }) => {
};

const inputDummySchema = useCallback(() => {
const dummySchema: FormSchema = {
const dummySchema: typeof schema = {
Copy link
Member

Choose a reason for hiding this comment

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

@usamaidrsk Is this related to the bump?

Copy link
Member Author

Choose a reason for hiding this comment

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

Looking again here, I think I will need to use exported types from the lib i.e , I had added that to fix some type errors after the bump.
Thanks

Copy link
Contributor

Choose a reason for hiding this comment

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

I think its just that the type label was made optional in the form engine, and we have to update the interface Schema in here as well to make label optional, the changes are in PR #355 but it isn't merged in yet

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for the pointer @NethmiRodrigo
I will add that to this PR as the other looks to bring in more changes to wait for it.

Copy link
Contributor

@NethmiRodrigo NethmiRodrigo left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @usamaidrsk

@NethmiRodrigo NethmiRodrigo merged commit 31ab9c4 into openmrs:main Oct 25, 2024
6 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.

4 participants