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
2 changes: 1 addition & 1 deletion backend
Submodule backend updated 174 files
15 changes: 15 additions & 0 deletions public/img/locate_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/img/locate_image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/locales/cs/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "",
"type-validate-image-title": "",
"type-streets-view-title": "",
"type-locate-title": "",
"project-card-progress-text": "{{progress, number}}% dokončeno",
"project-card-last-update": "{{date, datetime}}",
"project-card-contributors-text": "{{contributors}}",
Expand Down Expand Up @@ -48,6 +49,9 @@
"type-street-key-point-1": "",
"type-street-key-point-2": "",
"type-street-key-point-3": "",
"type-locate-key-point-1": "",
"type-locate-key-point-2": "",
"type-locate-key-point-3": "",
"explore-section-heading": "Prozkoumání dat",
"data-last-fetched": "Poslední aktualizace: {{date, datetime}}",
"explore-section-heading-description": "",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/cs/data_old.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"street": "",
"published": "",
"withdrawn": "",
"download-projects-with-geometry-heading": "Projekty s geometrií"
"download-projects-with-geometry-heading": "Projekty s geometrií",
"type-locate-view-title": ""
}
2 changes: 2 additions & 0 deletions public/locales/cs/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"validate-image-type-description": "",
"type-street-type": "",
"street-type-description": "",
"type-locate-features-type": "",
"locate-features-type-description": "",
"start-mapswiping-title": "Začněte používat MapSwipe!",
"download-description": "Svým mobilním telefonem se můžete podílet na pomoci komunitám po celém světě, a to jedním přejetím prstem.",
"download-playstore": "Stáhnout logo z obchodu Play store",
Expand Down
1 change: 1 addition & 0 deletions public/locales/cs/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "",
"type-validate-image-title": "",
"type-streets-view-title": "",
"type-locate-title": "",
"project-tab-head": "{{projectTitle}} | MapSwipe",
"Location": "Lokace",
"requesting-organization": "Žádající organizace",
Expand Down
4 changes: 4 additions & 0 deletions public/locales/de/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "",
"type-validate-image-title": "",
"type-streets-view-title": "",
"type-locate-title": "",
"project-card-progress-text": "{{progress, number}}% fertiggestellt",
"project-card-last-update": "{{date, datetime}}",
"project-card-contributors-text": "{{contributors}}",
Expand Down Expand Up @@ -48,6 +49,9 @@
"type-street-key-point-1": "",
"type-street-key-point-2": "",
"type-street-key-point-3": "",
"type-locate-key-point-1": "",
"type-locate-key-point-2": "",
"type-locate-key-point-3": "",
"explore-section-heading": "Erkunde die Daten",
"data-last-fetched": "zuletzt aktualisiert: {{date, datetime}}",
"explore-section-heading-description": "",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/de/data_old.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"street": "",
"published": "",
"withdrawn": "",
"download-projects-with-geometry-heading": "Projekte mit Geometrie"
"download-projects-with-geometry-heading": "Projekte mit Geometrie",
"type-locate-view-title": ""
}
2 changes: 2 additions & 0 deletions public/locales/de/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"validate-image-type-description": "",
"type-street-type": "",
"street-type-description": "",
"type-locate-features-type": "",
"locate-features-type-description": "",
"start-mapswiping-title": "Beginne mit dem Swipen!",
"download-description": "Mit deinem Smartphone, kannst du mit jedem einzelnen Swipe Communities überall auf der Welt helfen.",
"download-playstore": "Download from play store logo",
Expand Down
1 change: 1 addition & 0 deletions public/locales/de/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "",
"type-validate-image-title": "",
"type-streets-view-title": "",
"type-locate-title": "",
"project-tab-head": "{{projectTitle}} | MapSwipe",
"Location": "Standort",
"requesting-organization": "Anfordernde Organisation",
Expand Down
6 changes: 5 additions & 1 deletion public/locales/en/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "Check Completeness",
"type-validate-image-title": "Assess Image",
"type-streets-view-title": "View Streets",
"type-locate-title": "Locate Features",
"project-card-progress-text": "{{progress, number}}% completed",
"project-card-last-update": "{{date, datetime}}",
"project-card-contributors-text": "{{contributors}}",
Expand Down Expand Up @@ -48,7 +49,10 @@
"type-street-key-point-1": "Explore ground-level photos",
"type-street-key-point-2": "Find relevant features or qualify their characteristics",
"type-street-key-point-3": "Capture more detailed information on local communities",
"explore-section-heading": "Explore the data",
"type-locate-key-point-1": "Localize the location of features like rooftops, solar panels, or waterways within satellite image tiles",
"type-locate-key-point-2": "Help improve training data that teaches machine learning models where features are located in imagery",
"type-locate-key-point-3": "Capture more detailed information on local communities",
"explore-section-heading": "Improve the speed and accuracy of automated mapping, helping humanitarian organizations scale their efforts",
"data-last-fetched": "Last updated: {{date, datetime}}",
"explore-section-heading-description": "The data files always contain the most up-to-date data.",
"see-more-button": "Show more",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/en/data_old.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"ready-to-published": "Ready to Publish",
"publishing-failed": "Publishing Failed",
"paused": "Paused",
"download-projects-with-geometry-heading": "Projects with Geometry"
"download-projects-with-geometry-heading": "Projects with Geometry",
"type-locate-view-title": ""
}
2 changes: 2 additions & 0 deletions public/locales/en/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"validate-image-type-description": "Review photographs to identify the presence of a feature or validate detections as part of mapping workflows and to improve machine learning tools.",
"type-street-type": "View Streets",
"street-type-description": "Explore ground-level photos to find relevant features and capture more detailed information on communities.",
"type-locate-features-type": "Locate Features",
"locate-features-type-description": "Mark the subgrid cells within satellite image tiles that contain requested features such as rooftops, solar panels, or trees, helping train machine learning models to localize features more accurately",
"start-mapswiping-title": "Start MapSwiping!",
"download-description": "From your internet browser or mobile phone, you can play a part in helping communities around the world, one swipe at a time.",
"download-playstore": "Download from play store logo",
Expand Down
1 change: 1 addition & 0 deletions public/locales/en/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "Check Completeness",
"type-validate-image-title": "Assess Images",
"type-streets-view-title": "View Streets",
"type-locate-title": "Locate Features",
"project-tab-head": "{{projectTitle}} | MapSwipe",
"Location": "Location",
"requesting-organization": "Requesting organization",
Expand Down
4 changes: 4 additions & 0 deletions public/locales/hu/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "",
"type-validate-image-title": "",
"type-streets-view-title": "",
"type-locate-title": "",
"project-card-progress-text": "{{progress, number}}% elkészült",
"project-card-last-update": "{{date, datetime}}",
"project-card-contributors-text": "{{contributors}}",
Expand Down Expand Up @@ -48,6 +49,9 @@
"type-street-key-point-1": "",
"type-street-key-point-2": "",
"type-street-key-point-3": "",
"type-locate-key-point-1": "",
"type-locate-key-point-2": "",
"type-locate-key-point-3": "",
"explore-section-heading": "Adatok felfedezése",
"data-last-fetched": "Legutóbbi frissítés: {{date, datetime}}",
"explore-section-heading-description": "",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/hu/data_old.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"street": "",
"published": "",
"withdrawn": "",
"download-projects-with-geometry-heading": "Projektek alakzatfájllal"
"download-projects-with-geometry-heading": "Projektek alakzatfájllal",
"type-locate-view-title": ""
}
2 changes: 2 additions & 0 deletions public/locales/hu/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"validate-image-type-description": "",
"type-street-type": "",
"street-type-description": "",
"type-locate-features-type": "",
"locate-features-type-description": "",
"start-mapswiping-title": "Lásson neki a MapSwipe-nak!",
"download-description": "Mobiltelefonjával egyetlen mozdulattal is hozzájárulhat a világ közösségeinek megsegítéséhez.",
"download-playstore": "Letöltés a Play áruházból logó",
Expand Down
1 change: 1 addition & 0 deletions public/locales/hu/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "",
"type-validate-image-title": "",
"type-streets-view-title": "",
"type-locate-title": "",
"project-tab-head": "{{projectTitle}} | MapSwipe",
"Location": "Helyszín",
"requesting-organization": "Kérelmező szervezet",
Expand Down
4 changes: 4 additions & 0 deletions public/locales/ne/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "",
"type-validate-image-title": "",
"type-streets-view-title": "",
"type-locate-title": "",
"project-card-progress-text": "{{progress, number}}% सम्पन्न भयो",
"project-card-last-update": "{{date, datetime}}",
"project-card-contributors-text": "{{contributors}}",
Expand Down Expand Up @@ -48,6 +49,9 @@
"type-street-key-point-1": "",
"type-street-key-point-2": "",
"type-street-key-point-3": "",
"type-locate-key-point-1": "",
"type-locate-key-point-2": "",
"type-locate-key-point-3": "",
"explore-section-heading": "डाटा अन्वेषण गर्नुहोस्",
"data-last-fetched": "पछिल्लो अपडेट: {{date, datetime}}",
"explore-section-heading-description": "",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/ne/data_old.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"street": "",
"published": "",
"withdrawn": "",
"download-projects-with-geometry-heading": "ज्यामिति का साथ परियोजनाहरू"
"download-projects-with-geometry-heading": "ज्यामिति का साथ परियोजनाहरू",
"type-locate-view-title": ""
}
2 changes: 2 additions & 0 deletions public/locales/ne/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"validate-image-type-description": "",
"type-street-type": "",
"street-type-description": "",
"type-locate-features-type": "",
"locate-features-type-description": "",
"start-mapswiping-title": "अब MapSwiping सुरु गर्नुहोस्",
"download-description": "आफ्नो मोबाइल फोनको साथ, तपाईं एक पटकमा एक स्वाइप गरी विश्वभरका समुदायहरूलाई मद्दत गर्न भूमिका खेल्न सक्नुहुन्छ।",
"download-playstore": "Download from play store logo",
Expand Down
1 change: 1 addition & 0 deletions public/locales/ne/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "",
"type-validate-image-title": "",
"type-streets-view-title": "",
"type-locate-title": "",
"project-tab-head": "{{projectTitle}} | MapSwipe",
"Location": "स्थान",
"requesting-organization": "अनुरोध गर्ने संगठन",
Expand Down
4 changes: 4 additions & 0 deletions public/locales/pt/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "",
"type-validate-image-title": "",
"type-streets-view-title": "",
"type-locate-title": "",
"project-card-progress-text": "{{progress, number}}% concluído",
"project-card-last-update": "{{date, datetime}}",
"project-card-contributors-text": "{{contributors}}",
Expand Down Expand Up @@ -48,6 +49,9 @@
"type-street-key-point-1": "",
"type-street-key-point-2": "",
"type-street-key-point-3": "",
"type-locate-key-point-1": "",
"type-locate-key-point-2": "",
"type-locate-key-point-3": "",
"explore-section-heading": "Explorar os dados",
"data-last-fetched": "Última atualização: {{date, datetime}}",
"explore-section-heading-description": "",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/pt/data_old.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"street": "",
"published": "",
"withdrawn": "",
"download-projects-with-geometry-heading": "Projetos com geometria"
"download-projects-with-geometry-heading": "Projetos com geometria",
"type-locate-view-title": ""
}
2 changes: 2 additions & 0 deletions public/locales/pt/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"validate-image-type-description": "",
"type-street-type": "",
"street-type-description": "",
"type-locate-features-type": "",
"locate-features-type-description": "",
"start-mapswiping-title": "Começar o MapSwiping!",
"download-description": "Com o seu telemóvel, pode contribuir para ajudar as comunidades de todo o mundo, um toque de cada vez.",
"download-playstore": "Logótipo de descarregar da Play Store",
Expand Down
1 change: 1 addition & 0 deletions public/locales/pt/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type-completeness-title": "",
"type-validate-image-title": "",
"type-streets-view-title": "",
"type-locate-title": "",
"project-tab-head": "{{projectTitle}} | MapSwipe",
"Location": "Localização",
"requesting-organization": "Organização requerente",
Expand Down
31 changes: 30 additions & 1 deletion src/components/ProjectTypeIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const sizeToStyleMap: {

export interface Props {
className?: string;
type: 'FIND' | 'VALIDATE' | 'VALIDATE_IMAGE' | 'COMPARE' | 'COMPLETENESS' | 'STREET';
type: 'FIND' | 'VALIDATE' | 'VALIDATE_IMAGE' | 'COMPARE' | 'COMPLETENESS' | 'STREET' | 'LOCATE';
size?: SizeTypes;
}
function ProjectTypeIcon(props: Props) {
Expand Down Expand Up @@ -114,6 +114,35 @@ function ProjectTypeIcon(props: Props) {
</g>
</svg>
)}
{/* FIXME(frozenhelium): Add icon for locate features */}
{type === 'LOCATE' && (
<svg
width="35"
height="38"
viewBox="0 0 35 38"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={_cs(className, styles.noFill)}
>
<path
d="M31.3345 17.5554C31.3345 18.0425 31.307 18.539 31.2579 19.0284C31.101 20.7669 30.7034 22.4343 30.0652 24.0258C29.8377 24.597 29.1778 24.8779 28.627 24.5935C28.1384 24.341 27.9504 23.7864 28.1384 23.3136C28.7036 21.8903 29.0557 20.3984 29.1958 18.8305C29.2557 18.2487 29.276 17.6858 29.2557 17.1371C29.0282 10.8527 23.8874 5.72382 17.5371 5.47851C10.5833 5.20832 4.83902 10.7283 4.83902 17.5507C4.83902 17.969 4.86178 18.3921 4.90489 18.8128C5.47369 25.1374 9.44813 30.2379 17.0497 34.4081C19.6411 32.9872 21.8085 31.4561 23.5652 29.8077C23.9185 29.4759 24.4658 29.3918 24.8693 29.6619C25.4261 30.0352 25.4776 30.7972 25.0178 31.2333C23.0024 33.1448 20.5081 34.8952 17.5395 36.4772C17.3862 36.559 17.2186 36.6004 17.0485 36.6004C16.8785 36.6004 16.7109 36.559 16.5576 36.4772C8.09617 31.9752 3.48108 26.0985 2.84522 19.0142C2.79612 18.539 2.76858 18.0437 2.76858 17.5554C2.76858 9.7613 9.17391 3.42244 17.0497 3.42244C24.928 3.42244 31.3345 9.7613 31.3345 17.5554Z"
fill="currentColor"
/>
<path
d="M17.076 10.2931C15.4774 10.2931 13.9146 10.7671 12.5854 11.6553C11.2561 12.5435 10.2201 13.8059 9.60835 15.2828C8.99657 16.7598 8.83651 18.385 9.14839 19.9529C9.46027 21.5209 10.2301 22.9611 11.3605 24.0915C12.4909 25.222 13.9312 25.9918 15.4991 26.3037C17.0671 26.6156 18.6923 26.4555 20.1692 25.8437C21.6462 25.2319 22.9086 24.1959 23.7968 22.8667C24.6849 21.5374 25.159 19.9747 25.159 18.376C25.1589 16.2323 24.3072 14.1765 22.7914 12.6607C21.2756 11.1449 19.2197 10.2932 17.076 10.2931Z"
stroke="currentColor"
strokeWidth="2"
/>
<path
d="M23.1065 24.4065L28.7515 30.0515"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
/>
<line x1="17.2" y1="11" x2="17.2" y2="26.5673" stroke="currentColor" strokeWidth="2" />
<line x1="9.7" y1="18.7" x2="25.2673" y2="18.7" stroke="currentColor" strokeWidth="2" />
</svg>
)}
</>
);
}
Expand Down
4 changes: 0 additions & 4 deletions src/components/ProjectTypeIcon/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
width: var(--height);
height: var(--height);

path {
fill: var(--color-text);
}

&.small {
--height: 1.2rem;
}
Expand Down
Loading
Loading