-
Notifications
You must be signed in to change notification settings - Fork 249
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
feat: Add current date appointments and fix issue with displaying past and upcoming appointments #867
Conversation
a933f22
to
245c330
Compare
Size Change: +346 B (0%) Total Size: 5.66 MB ℹ️ View Unchanged
|
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.
LGTM @donaldkibet thanks. Just a small change there to effect
<Tile className={styles.tile}> | ||
<EmptyDataIllustration /> | ||
<p className={styles.content}> | ||
{t('noCurrentAppointments', 'There are current appointments to display for this patient')} |
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.
{t('noCurrentAppointments', 'There are current appointments to display for this patient')} | |
{t('noCurrentAppointments', 'There are no current appointments to display for this patient')} |
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.
I'd suggest:
"noCurrentAppointments": "There are no appointments scheduled for today to display for this patient",
<Tile className={styles.tile}> | ||
<EmptyDataIllustration /> | ||
<p className={styles.content}> | ||
{t('noCurrentAppointments', 'There are current appointments to display for this patient')} |
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.
I'd suggest:
"noCurrentAppointments": "There are no appointments scheduled for today to display for this patient",
7059ddd
to
baa25d4
Compare
9977cf2
to
5c5301c
Compare
5c5301c
to
49e64a5
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.
LGTM. Thanks, @donaldkibet.
…t and upcoming appointments (openmrs#867) * feat: Add current date `today` appointments tab * Add translation * Fix failing test * fix failing test
Requirements
Summary
This PR addresses two issues:
Past
andUpcoming
appointments in the UI. Presently, appointments with UTC dates are displayed incorrectly.Today
tab to the content switcher that displays appointments for the present day. This information is useful in a clinical setup.Screenshots