You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
messages.push("Completion is low because no planned section targets are available yet.");
849
+
returnmessages;
850
+
}
851
+
852
+
if(snapshot.percentComplete===0){
853
+
messages.push("Completion is low because no planned items are complete yet.");
854
+
}elseif(snapshot.percentComplete<50){
855
+
messages.push("Completion is low because fewer than half of the planned items are complete.");
856
+
}elseif(snapshot.percentComplete>=80){
857
+
messages.push("Completion is high because most planned items are already complete.");
858
+
}else{
859
+
messages.push("Completion is growing because completed items are catching up to planned items.");
860
+
}
861
+
862
+
if(snapshot.inactiveCount>0){
863
+
messages.push(`${snapshot.inactiveCount} section${snapshot.inactiveCount===1 ? "" : "s"} are inactive, so they are visible as planning context but not active focus areas.`);
864
+
}
865
+
conststrongest=mostComplete[0];
866
+
if(strongest){
867
+
messages.push(`${strongest.bucketName} is one of the most complete areas with ${strongest.completedCount} of ${strongest.plannedCount} planned items complete.`);
0 commit comments