Improve photo tags
CI / Lint (pull_request) Successful in 1m1s
CI / Test (pull_request) Successful in 1m15s
Release Drafter / Update release notes draft (pull_request) Successful in 5s

This commit is contained in:
2026-08-23 10:21:40 -06:00
parent 5d9c6ebc89
commit bf1fcbcb40
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -2,11 +2,11 @@ import { POI_CATEGORIES } from './poi-categories';
import { getMatchingPoiCategoryIds } from './poi-category-matcher'; import { getMatchingPoiCategoryIds } from './poi-category-matcher';
export const CATEGORY_TAGS = { export const CATEGORY_TAGS = {
restaurants: ['food', 'menu', 'vibe', 'front'], restaurants: ['front', 'food', 'drinks', 'menu', 'vibe'],
coffee: ['food', 'menu', 'vibe', 'front'], coffee: ['front', 'food', 'drinks', 'menu', 'vibe'],
groceries: ['front', 'food'], groceries: ['front', 'products'],
'things-to-do': ['architecture', 'amenities', 'vibe', 'front'], 'things-to-do': ['front', 'architecture', 'amenities', 'vibe'],
accommodation: ['rooms', 'amenities', 'food', 'vibe', 'front'], accommodation: ['front', 'rooms', 'amenities', 'food', 'drinks', 'vibe'],
}; };
export function getSuggestedPhotoTags(place) { export function getSuggestedPhotoTags(place) {
@@ -49,7 +49,7 @@ module('Integration | Component | place-photo-upload', function (hooks) {
assert.dom('.photo-tag-suggestions').exists(); assert.dom('.photo-tag-suggestions').exists();
assert.dom('.photo-tag-chip').exists(); assert.dom('.photo-tag-chip').exists();
assert.dom('.photo-tag-chip').includesText('Food'); assert.dom('.photo-tag-chip').includesText('Front');
}); });
test('it only allows one selected tag at a time', async function (assert) { test('it only allows one selected tag at a time', async function (assert) {