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

Fixes #3751 - restore AsyncAutocomplete props #3758

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

codyebberson
Copy link
Member

See #3751

Thanks @dillonstreator for being an early adopter of Medplum 3.0 🙏

In Medplum 2.x / Mantine 6, we were heavy users of the Mantine <MultiSelect> component. In Mantine 6, <MultiSelect> was highly customizable, and we used it to the fullest extent.

In Mantine 7, the philosophy of <MultiSelect> changed significantly. It is no longer customizable. Instead, it is quite opinionated, and no longer servers our needs.

Instead, the Mantine 7 recommendation is to use the lower level <ComboBox> component, which exposes all of the low level guts of a combobox / autocomplete system.

As part of that migration, a few features were lost that we didn't even know people were using.

The main bug here was that AsyncAutocompleteProps still extended MultiSelectProps, when it should have extended ComboBoxProps. That gave a false sense of confidence that we still supported all of the MultiSelect features.

@codyebberson codyebberson requested a review from a team as a code owner January 19, 2024 18:21
Copy link

vercel bot commented Jan 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
medplum-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 19, 2024 6:23pm
medplum-storybook ✅ Ready (Inspect) Visit Preview Jan 19, 2024 6:23pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
medplum-www ⬜️ Ignored (Inspect) Visit Preview Jan 19, 2024 6:23pm

Copy link

Messages
📖 @medplum/core: 153.1 kB
📖 @medplum/react: 336.9 kB

Generated by 🚫 dangerJS against aecb2fc

Copy link

sonarcloud bot commented Jan 19, 2024

@reshmakh reshmakh added the react Features, fixes and enhancements to react component library label Jan 19, 2024
@codyebberson codyebberson added this pull request to the merge queue Jan 19, 2024
Merged via the queue into main with commit 76adb58 Jan 19, 2024
22 checks passed
@codyebberson codyebberson deleted the cody-coding-input-props branch January 19, 2024 20:28
medplumbot added a commit that referenced this pull request Jan 21, 2024
Fixes #3753 - root constraint validation (#3779)
Fixes #3614 - configurable agent log level (#3781)
Fixed validateDOMNesting warning (#3780)
Fixes #3775 - AsyncAutocomplete call onChange on remove (#3777)
Dependency upgrades (#3774)
Remove notice to contact `info@medplum.com` to enable open patient registration (#3776)
Move logger from server to core (#3773)
Create a task demo app (#3555)
Add docs for setting up CORS when self-hosting (#3752)
Export NotesDisplay from @medplum/react (#3759)
Fixes #3751 - restore AsyncAutocomplete props (#3758)
Add CodeSystem validate-code operation (#3705)
Update provider directory docs to administration section (#3747)
Avoid error on SearchPage while schema is being requested (#3757)
Fixes #3755 - allow embedding PDFs on external domains (#3756)
Fixes #3653 - Agent handle DICOM C-STORE (#3736)
ci(madge): add `madge` job for PRs against `medplum/test-actions` (#3745)
Handle websocket max payload exceeded (#3750)
Implement CodeSystem lookup operation (#3702)
Require super admin for CodeSystem import (#3739)
Add OTel documentation (#3738)
Better error on unique constraint violation (#3743)
Dependency upgrades (#3744)
feat(examples): add live chat example (#3713)
Move response utils to separate file (#3742)
Fix wrapping CodeSystem import handler (#3741)
Add lookup table to index CodeSystem codings (#3731)
github-merge-queue bot pushed a commit that referenced this pull request Jan 21, 2024
Fixes #3753 - root constraint validation (#3779)
Fixes #3614 - configurable agent log level (#3781)
Fixed validateDOMNesting warning (#3780)
Fixes #3775 - AsyncAutocomplete call onChange on remove (#3777)
Dependency upgrades (#3774)
Remove notice to contact `info@medplum.com` to enable open patient registration (#3776)
Move logger from server to core (#3773)
Create a task demo app (#3555)
Add docs for setting up CORS when self-hosting (#3752)
Export NotesDisplay from @medplum/react (#3759)
Fixes #3751 - restore AsyncAutocomplete props (#3758)
Add CodeSystem validate-code operation (#3705)
Update provider directory docs to administration section (#3747)
Avoid error on SearchPage while schema is being requested (#3757)
Fixes #3755 - allow embedding PDFs on external domains (#3756)
Fixes #3653 - Agent handle DICOM C-STORE (#3736)
ci(madge): add `madge` job for PRs against `medplum/test-actions` (#3745)
Handle websocket max payload exceeded (#3750)
Implement CodeSystem lookup operation (#3702)
Require super admin for CodeSystem import (#3739)
Add OTel documentation (#3738)
Better error on unique constraint violation (#3743)
Dependency upgrades (#3744)
feat(examples): add live chat example (#3713)
Move response utils to separate file (#3742)
Fix wrapping CodeSystem import handler (#3741)
Add lookup table to index CodeSystem codings (#3731)
@reshmakh reshmakh added this to the January 31st, 2024 milestone Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
react Features, fixes and enhancements to react component library
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants