Skip to content

Conversation

@frozenhelium
Copy link
Contributor

@frozenhelium frozenhelium commented Aug 15, 2025

This PR include changes done during (but not limited to) the MapSwipe backend revamp.

  • Add support for vector tile in completeness
  • Add support for firebase emulator
  • Deployment using docker base image
  • Add new project type: Validate Image
  • Add tutorial for Validate Image
  • Update tutorial for completeness

@frozenhelium frozenhelium marked this pull request as ready for review September 16, 2025 05:50
@frozenhelium frozenhelium requested a review from ofr1tz September 16, 2025 05:50
Comment on lines +32 to +56
ENV VITE_BASE_URL=https://mapswipe.org/privacy
ENV VITE_PRIVACY_POLICY_URL=https://mapswipe.org/privacy/
ENV VITE_IMPRINT_URL=https://mapswipe.org/privacy/
ENV VITE_APP_LOGO=./img/mapswipe-white.svg
ENV VITE_PROJECTS_FALLBACK_IMAGE=./img/map-pin-600x400.jpg
ENV VITE_ALLOW_UNVERIFIED_USERS=true

ENV VITE_DEFAULT_LOCALE=en
ENV VITE_FALLBACK_LOCALE=en
ENV VITE_SUPPORTED_LOCALES=en,de,fr

ENV VITE_THEME_LIGHT_PRIMARY=#060E2F
ENV VITE_THEME_LIGHT_SECONDARY=#0D1949
ENV VITE_THEME_LIGHT_TERTIARY=#EEF2FB
ENV VITE_THEME_LIGHT_ACCENT=#589AE3
ENV VITE_THEME_LIGHT_ERROR=#C62828
ENV VITE_THEME_LIGHT_WARNING=#8E0000
ENV VITE_THEME_LIGHT_INFO=#2196f3
ENV VITE_THEME_LIGHT_SUCCESS=#4caf50
ENV VITE_THEME_LIGHT_NEUTRAL=#272727

ENV VITE_APP_NAME=MapSwipe
ENV VITE_APP_WEBSITE_URL=https://mapswipe.org
ENV VITE_APP_ATTRIBUTION_TITLE=MapSwipe
ENV VITE_APP_ATTRIBUTION_URL=https://mapswipe.org/privacy/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for "hard-coding" the env variables in the Dockerfile instead of grabbing them from the .env file?

@@ -0,0 +1,166 @@
<script lang="ts" setup>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as a comment: Using Vue's "new" Composition API instead of the old Options API is probably a step into the right direction. It might however get a bit confusing to mix both in the same code base.

component: 'findProject',
component: 'completenessProject',
},
'5': {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the Validate Image project can replace the experimental Media project? As I understand, I could also create a project from images without labels and with custom options?

@ofr1tz ofr1tz merged commit a2750ee into main Sep 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants