Repository navigation
feat(messaging): action messages history & SMS composer [WIP] #1900
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
Open
nmajor25
wants to merge
28
commits into
develop
Choose a base branch
from
messaging-v1
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
eb60e26
feat(messaging): show message history on message actions
nmajor25 d02f404
feat(messaging): add Messages buttons to action header and cards
nmajor25 1a5806c
feat(messaging): send texts from the message action composer
nmajor25 b652dbb
feat(messaging): send texts from the Interactions page
nmajor25 228f130
fix(messaging): add keyboard focus outline to the Messages buttons
nmajor25 63e76ae
fix(messaging): hide messages when the action form is expanded
nmajor25 f50ddf9
fix(messaging): wait for a pending timeline load before sending
nmajor25 3b677a6
fix(messaging): truncate long action names in message cards
nmajor25 04823f0
test(messaging): wait for loaded history after navigation
nmajor25 a616a54
feat(messaging): show Not delivered with the reason on rejected texts
nmajor25 b566b5d
feat(messaging): label and highlight today's messages
nmajor25 24c74fc
feat(messaging): link message cards by action name only
nmajor25 76f564f
feat(messaging): fade in texts as they are sent
nmajor25 15f6d50
feat(messaging): add the Messages section header
nmajor25 ea9ac94
feat(messaging): add Show more to long texts
nmajor25 6e99d6d
feat(messaging): jump to a date from the Messages date pills
nmajor25 510f715
fix(messaging): run the sent text fade-in only once
nmajor25 2305db1
feat(messaging): keep an unsent text for the browser session
nmajor25 74703c3
feat(messaging): live updates for action Messages
nmajor25 5c8c280
feat(messaging): show the beginning of messages once all texts are lo…
nmajor25 6cbcc61
feat(messaging): group back-to-back texts
nmajor25 ff45bc6
feat(messaging): show message history on actions tagged message
nmajor25 9ef34a4
feat(messaging): show a disabled composer when the patient has no mob…
nmajor25 e1023e7
test(interactions): keep history fixture dates the same in any timezone
nmajor25 d353380
refactor(messaging): restore an unsent text through the draft
nmajor25 f40924a
refactor(messaging): simplify message history grouping and loading
nmajor25 8706c4d
test(messaging): move messages button checks to their pages
nmajor25 21ed29e
feat(messaging): show the Messages button on Schedule list actions
nmajor25 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <div class="messaging-history__header js-header"> | ||
| <div class="messaging-history__title"> | ||
| <span class="messaging-history__icon" aria-hidden="true">{{far "paper-plane-top"}}</span> | ||
| <h2 class="messaging-history__heading">{{ @intl.patients.patient.action.messages.messagesViews.heading }}</h2> | ||
| <span class="messaging-history__subheading">{{formatMessage (intlGet "patients.patient.action.messages.messagesViews.subheading") name=patientName}}</span> | ||
| </div> | ||
| <div class="messaging-history__header-date" data-current-date-region></div> | ||
| <button class="messaging-history__interactions js-interactions" type="button">{{far "right-left-large"}} {{ @intl.patients.patient.action.messages.messagesViews.viewOnInteractions }}</button> | ||
| </div> | ||
| <button class="button button--text messaging-history__older js-older" type="button" hidden>{{ @intl.patients.patient.action.messages.messagesViews.older }}</button> | ||
| <p class="messaging-history__beginning js-beginning" hidden>{{formatMessage (intlGet "patients.patient.action.messages.messagesViews.beginning") name=patientName}}</p> | ||
| <p class="messaging-history__status js-status" role="status"></p> | ||
| <ol data-days-region></ol> | ||
| <div data-composer-region></div> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.