Skip to content

Commit

Permalink
Added Penny Test and Card Keys Overlays/Sights (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlymonkai authored Oct 9, 2024
1 parent 6b016ec commit 5a46381
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { useTranslation } from 'react-i18next';
import { Navigate } from 'react-router-dom';
import { VehicleTypeSelection } from '@monkvision/common-ui-web';
import { useMonkAppState } from '@monkvision/common';
import { VehicleType } from '@monkvision/types';
import { Page } from '../pages';

export function VehicleTypeSelectionPage() {
Expand All @@ -21,7 +20,6 @@ export function VehicleTypeSelectionPage() {
authToken={authToken ?? ''}
apiDomain={config.apiDomain}
thumbnailDomain={config.thumbnailDomain}
availableVehicleTypes={[VehicleType.HGV]} // TODO : Remove this line
/>
);
}
12 changes: 10 additions & 2 deletions packages/sights/research/data/all/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,16 @@
"all-mdwq0pl4": {
"id": "all-mdwq0pl4",
"category": "misc",
"label": "keys",
"overlay": "empty.svg",
"label": "card-keys",
"overlay": "all-mdwq0pl4.svg",
"vehicle": "all",
"tasks": ["damage_detection"]
},
"all-8jdq7f5m": {
"id": "all-8jdq7f5m",
"category": "misc",
"label": "penny-test",
"overlay": "all-8jdq7f5m.svg",
"vehicle": "all",
"tasks": ["damage_detection"]
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion packages/sights/research/data/all/overlays/empty.svg

This file was deleted.

14 changes: 14 additions & 0 deletions packages/sights/research/data/labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -579,5 +579,19 @@
"fr": "Clés",
"de": "Tasten",
"nl": "Sleutels"
},
"card-keys": {
"key": "card-keys",
"en": "Card Keys",
"fr": "Cartes-clés",
"de": "Kartenschlüssel",
"nl": "Kaartsleutels"
},
"penny-test": {
"key": "penny-test",
"en": "Penny Test",
"fr": "Test de Penny",
"de": "Penny-Test",
"nl": "Penny Test"
}
}

0 comments on commit 5a46381

Please sign in to comment.