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

feat: Case hotspots #229

Merged
merged 24 commits into from
Apr 25, 2024
Merged

feat: Case hotspots #229

merged 24 commits into from
Apr 25, 2024

Conversation

maxwellkrieger
Copy link
Member

No description provided.

@maxwellkrieger maxwellkrieger requested review from eldu and s-bessey April 11, 2024 15:23
@eldu eldu requested a review from anna-murphy April 11, 2024 15:24
Copy link

github-actions bot commented Apr 11, 2024

Visit the preview URL for this PR (updated for commit 86d7e0b):

https://signal-ri--pr229-case-hotspots-jpncmowe.web.app

(expires Tue, 30 Apr 2024 20:21:01 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 00e607c4a7f37e76a51e675795a92e0f2f741992

@eldu
Copy link
Collaborator

eldu commented Apr 11, 2024

I'm going to take a look at fixing up the gap chart !

@maxwellkrieger
Copy link
Member Author

@eldu to investigate squishification

Copy link
Collaborator

@eldu eldu left a comment

Choose a reason for hiding this comment

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

src/views/historical/testing-gap/dashboard.vue Outdated Show resolved Hide resolved
@s-bessey s-bessey requested a review from eldu April 19, 2024 14:28
Copy link
Collaborator

@eldu eldu left a comment

Choose a reason for hiding this comment

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

Approving, two comments !

import { fetchKeys } from "../../../utils/firebase";
import { prettyDate } from "../../../utils/utils";

// const datasetName = "case_hotspots";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ooohhhhhhh commented out code

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh noooo

export const sortByProperty = (property) => (a, b) => {
let valA = a[property];
let valB = b[property];

// if NaN, make MIN_VALUE
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wondering if it should be 0, but I'm also okay with Number.MIN_VALUE !

@maxwellkrieger maxwellkrieger merged commit 298d574 into main Apr 25, 2024
2 checks passed
@maxwellkrieger maxwellkrieger deleted the case-hotspots branch April 25, 2024 15:12
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