Skip to content

Commit

Permalink
add comments for clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
FireLemons committed Nov 24, 2023
1 parent 3c5cffb commit 30cccae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/javascript/src/display_app_metric.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function formatData (timestamps) {
const day = contactCreationTime.getDay()
const hour = contactCreationTime.getHours()

// Case contacts with the same hour and day creation time are represented by the same bubble
// Group case contacts with the same hour and day creation time into the same data point

let dayData

Expand All @@ -58,6 +58,8 @@ function formatData (timestamps) {
}
}

// Flatten data points

const bubbleDataAsArray = []

for (const day in bubbleDataAsObject) {
Expand Down

0 comments on commit 30cccae

Please sign in to comment.