Skip to content

Show telemed and in-person visits on a single tracking board#6715

Merged
VladMstv merged 22 commits intodevelopfrom
bholyshevskyi/otr-2096-show-telemed-and-in-person-visits-on-a-single-tracking-board
Apr 13, 2026
Merged

Show telemed and in-person visits on a single tracking board#6715
VladMstv merged 22 commits intodevelopfrom
bholyshevskyi/otr-2096-show-telemed-and-in-person-visits-on-a-single-tracking-board

Conversation

@bholyshevskyi
Copy link
Copy Markdown
Contributor

@bholyshevskyi bholyshevskyi marked this pull request as ready for review April 7, 2026 06:25
…w-telemed-and-in-person-visits-on-a-single-tracking-board
…w-telemed-and-in-person-visits-on-a-single-tracking-board
? 'In Person'
: appointment.appointmentAttendanceType === 'virtual'
? 'Virtual'
: 'Unknown'}{' '}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Did we previously have an "unknown" category in the UI? If not, we probably shouldn’t introduce it now, and instead we can add Sentry logging to detect these errors.

Also, it could be useful to extract helpers (or a component) that determine all state based on whether the visit is in-person or virtual. This would help avoid ternary expressions and simplify the code. There are several places in this PR where this approach could be applied.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've added a helper function to check whether an appointment is virtual.

…w-telemed-and-in-person-visits-on-a-single-tracking-board
@VladMstv VladMstv merged commit dad511e into develop Apr 13, 2026
22 of 28 checks passed
@VladMstv VladMstv deleted the bholyshevskyi/otr-2096-show-telemed-and-in-person-visits-on-a-single-tracking-board branch April 13, 2026 14:20
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.

3 participants