From 2f116d550f0e6fe0d2fbb4569f99a9ff9a0b7447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Camblor?= Date: Sat, 6 Apr 2024 23:23:09 +0200 Subject: [PATCH] #79 introduced new conf descriptor feature flag: showRoomCapacityIndicator, disabled by default --- cloud/functions/src/crawlers/crawler-parsers.ts | 1 + mobile/src/components/rooms/RoomCapacityIndicator.vue | 2 +- shared/conference-descriptor.firestore.d.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cloud/functions/src/crawlers/crawler-parsers.ts b/cloud/functions/src/crawlers/crawler-parsers.ts index 39b7d38a..abaeab52 100644 --- a/cloud/functions/src/crawlers/crawler-parsers.ts +++ b/cloud/functions/src/crawlers/crawler-parsers.ts @@ -112,6 +112,7 @@ export const EVENT_DESCRIPTOR_PARSER = LISTABLE_EVENT_PARSER.extend({ showInfosTab: z.boolean().optional(), // for multi-lang conferences, where we want to hide "default" (implicit) conference lang (ex: in devoxxfr, we'd hide FR) hideLanguages: z.array(z.string()), + showRoomCapacityIndicator: z.boolean().optional(), ratings: z.object({ bingo: z.object({ enabled: z.boolean(), diff --git a/mobile/src/components/rooms/RoomCapacityIndicator.vue b/mobile/src/components/rooms/RoomCapacityIndicator.vue index 9cf5a9ad..b3fb879e 100644 --- a/mobile/src/components/rooms/RoomCapacityIndicator.vue +++ b/mobile/src/components/rooms/RoomCapacityIndicator.vue @@ -1,6 +1,6 @@