Skip to content

Commit b4ada92

Browse files
committed
feat(validate_image): add validate image updates in community dashboard
1 parent 26efb0a commit b4ada92

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

community-dashboard/app/views/StatsBoard/index.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ const UNKNOWN = '-1';
6969
const BUILD_AREA = 'BUILD_AREA';
7070
const FOOTPRINT = 'FOOTPRINT';
7171
const CHANGE_DETECTION = 'CHANGE_DETECTION';
72+
const VALIDATE_IMAGE = 'VALIDATE_IMAGE';
7273
const COMPLETENESS = 'COMPLETENESS';
7374
const STREET = 'STREET';
7475

@@ -94,6 +95,10 @@ const projectTypes: Record<string, { color: string, name: string }> = {
9495
color: '#fb8072',
9596
name: 'Completeness',
9697
},
98+
[VALIDATE_IAMGE]: {
99+
color: '#a1b963',
100+
name: 'Validate Image',
101+
},
97102
[STREET]: {
98103
color: '#808080',
99104
name: 'Street',

django/apps/existing_database/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class Type(models.IntegerChoices):
6969
MEDIA = 5, "Media"
7070
DIGITIZATION = 6, "Digitization"
7171
STREET = 7, "Street"
72+
VALIDATE_IMAGE = 10, "Image Validate"
7273

7374
project_id = models.CharField(primary_key=True, max_length=999)
7475
created = models.DateTimeField(blank=True, null=True)

django/schema.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ enum ProjectTypeEnum {
100100
MEDIA
101101
DIGITIZATION
102102
STREET
103+
VALIDATE_IMAGE
103104
}
104105

105106
type ProjectTypeSwipeStatsType {

0 commit comments

Comments
 (0)