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

Handle empty travel histories as unavailable data #3005

Merged
merged 27 commits into from
Dec 9, 2024

Conversation

mcmcgrath13
Copy link
Collaborator

PULL REQUEST

Summary

If a travel history observation exists, but has no useful data, treat it as unavailable data instead of rendering a table with rows full of No Data.

Related Issue

Fixes #2978

Additional Information

http://localhost:3000/view-data?id=d9039113-a9e0-4ae4-a8c6-6b46327d3af8

Before:
image

After:
image

@@ -21,12 +21,6 @@ export interface TableJson {
tables?: TableRow[][];
}

export interface TableJson {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is a duplicate of the definition immediately above

@mcmcgrath13 mcmcgrath13 marked this pull request as ready for review December 9, 2024 18:22
@mcmcgrath13 mcmcgrath13 marked this pull request as draft December 9, 2024 18:25
Base automatically changed from mcm/enc-car-team to main December 9, 2024 18:27
Copy link
Collaborator

@BobanL BobanL left a comment

Choose a reason for hiding this comment

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

One nit, but otherwise looks good!

@mcmcgrath13 mcmcgrath13 added this pull request to the merge queue Dec 9, 2024
Merged via the queue into main with commit 4ebdaef Dec 9, 2024
15 checks passed
@mcmcgrath13 mcmcgrath13 deleted the mcm/fix-phantom-travel-history branch December 9, 2024 23:42
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