Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions app/views/StatsBoard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,7 @@ function StatsBoard(props: Props) {
)?.totalArea;
*/
const streetTotalArea = areaSwipedByProjectType?.find(
// TODO: Change the type to street
(project) => project.projectType === COMPLETENESS,
(project) => project.projectType === STREET,
)?.totalArea;

const completenessTotalArea = areaSwipedByProjectType?.find(
Expand All @@ -466,8 +465,7 @@ function StatsBoard(props: Props) {
)?.totalSwipes;

const streetTotalSwipes = swipeByProjectType?.find(
// TODO: Change the type to street
(project) => project.projectType === COMPLETENESS,
(project) => project.projectType === STREET,
)?.totalSwipes;

const completenessTotalSwipes = swipeByProjectType?.find(
Expand Down Expand Up @@ -666,7 +664,7 @@ function StatsBoard(props: Props) {
Area Swipes
</div>
)}
subHeading="Find"
subHeading="Find Features"
variant="stat"
/>
<InformationCard
Expand All @@ -689,7 +687,7 @@ function StatsBoard(props: Props) {
Features Checked
</div>
)}
subHeading="Validate"
subHeading="Validate Footprints"
variant="stat"
/>
<InformationCard
Expand Down Expand Up @@ -721,7 +719,7 @@ function StatsBoard(props: Props) {
Scene Compared
</div>
)}
subHeading="Compare"
subHeading="Compare Dates"
variant="stat"
/>
<InformationCard
Expand Down Expand Up @@ -750,10 +748,10 @@ function StatsBoard(props: Props) {
)}
label={(
<div className={styles.infoLabel}>
Completeness
Completeness Checked
</div>
)}
subHeading="Completeness"
subHeading="Check Completeness"
variant="stat"
/>
<InformationCard
Expand Down Expand Up @@ -782,10 +780,10 @@ function StatsBoard(props: Props) {
)}
label={(
<div className={styles.infoLabel}>
Streets Covered
Street Viewed
</div>
)}
subHeading="Street"
subHeading="View Streets"
variant="stat"
/>
<InformationCard
Expand All @@ -806,10 +804,10 @@ function StatsBoard(props: Props) {
)}
label={(
<div className={styles.infoLabel}>
Images Validated
Images Assessed
</div>
)}
subHeading="Validate Image"
subHeading="Assess Images"
variant="stat"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion backend
Submodule backend updated 124 files