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

[Provider app] Add patient communications tab #4465

Merged
merged 6 commits into from
Apr 28, 2024

Conversation

mattlong
Copy link
Member

Fixes #4248

To achieve this styling of the BaseChat component, I made its props extend PaperProps from mantine to make it more customizable. I also tweaked its CSS slightly to make radius handling more consistent.

Screenshot 2024-04-26 at 3 44 30 PM

@mattlong mattlong requested a review from a team as a code owner April 26, 2024 22:47
Copy link

vercel bot commented Apr 26, 2024

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

Name Status Preview Comments Updated (UTC)
medplum-provider ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2024 9:59pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
medplum-app ⬜️ Ignored (Inspect) Visit Preview Apr 28, 2024 9:59pm
medplum-storybook ⬜️ Ignored (Inspect) Visit Preview Apr 28, 2024 9:59pm
medplum-www ⬜️ Ignored (Inspect) Visit Preview Apr 28, 2024 9:59pm

sendMessage,
onMessageReceived,
inputDisabled,
...paperProps
Copy link
Member

Choose a reason for hiding this comment

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

👍 I'm good with this

@@ -149,7 +158,7 @@ export function BaseChat(props: BaseChatProps): JSX.Element | null {
}

return (
<Paper className={classes.chatPaper} p={0} radius="md">
<Paper className={classes.chatPaper} p={0} radius="md" {...paperProps}>
Copy link
Member

Choose a reason for hiding this comment

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

Clean 👍

@mattlong mattlong self-assigned this Apr 26, 2024
@mattlong mattlong added this to the April 30th, 2024 milestone Apr 26, 2024
Copy link

sonarcloud bot commented Apr 28, 2024

@mattlong mattlong added this pull request to the merge queue Apr 28, 2024
Merged via the queue into main with commit c550a7c Apr 28, 2024
32 checks passed
@mattlong mattlong deleted the provider-communications-tab branch April 28, 2024 22:19
@reshmakh reshmakh added the react Features, fixes and enhancements to react component library label Apr 29, 2024
medplumbot added a commit that referenced this pull request Apr 29, 2024
Add projectId to batch metrics (#4454)Removing duplicate content fixes #4390 (#4431)
feat(agent): support `Prefer: respond-async` for `Agent/$push` (#4455)
Update default project access policy for new systemSetting (#4466)
Fixes #4463 - remove version history circuit breaker (#4467)
[Provider app] Add patient communications tab (#4465)
feat(bot): add support for `Prefer: respond-async` on `Bot/$execute` (#4461)
Split minor and major version upgrades (#4475)
Dependency upgrades 2024-04-29 (#4472)
Add Extension to Bot resource (#4474)
Fix tar.x import (#4477)
codyebberson pushed a commit that referenced this pull request Apr 30, 2024
Add projectId to batch metrics (#4454)Removing duplicate content fixes #4390 (#4431)
feat(agent): support `Prefer: respond-async` for `Agent/$push` (#4455)
Update default project access policy for new systemSetting (#4466)
Fixes #4463 - remove version history circuit breaker (#4467)
[Provider app] Add patient communications tab (#4465)
feat(bot): add support for `Prefer: respond-async` on `Bot/$execute` (#4461)
Split minor and major version upgrades (#4475)
Dependency upgrades 2024-04-29 (#4472)
Add Extension to Bot resource (#4474)
Fix tar.x import (#4477)
github-merge-queue bot pushed a commit that referenced this pull request Apr 30, 2024
Add projectId to batch metrics (#4454)Removing duplicate content fixes #4390 (#4431)
feat(agent): support `Prefer: respond-async` for `Agent/$push` (#4455)
Update default project access policy for new systemSetting (#4466)
Fixes #4463 - remove version history circuit breaker (#4467)
[Provider app] Add patient communications tab (#4465)
feat(bot): add support for `Prefer: respond-async` on `Bot/$execute` (#4461)
Split minor and major version upgrades (#4475)
Dependency upgrades 2024-04-29 (#4472)
Add Extension to Bot resource (#4474)
Fix tar.x import (#4477)
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
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Communications should open to /Patient/<id>/communication and ThreadChat
3 participants