diff --git a/src/assets/config.json b/src/assets/config.json index 489ce76..488b681 100644 --- a/src/assets/config.json +++ b/src/assets/config.json @@ -45,5 +45,6 @@ ], "experimental_voice_mode": true, "experimental_read_only_room": true, + "experimental_public_room": true, "show_status_messages": "never" } \ No newline at end of file diff --git a/src/assets/css/chat.scss b/src/assets/css/chat.scss index 873f015..906acca 100644 --- a/src/assets/css/chat.scss +++ b/src/assets/css/chat.scss @@ -1242,6 +1242,26 @@ body { } text-transform: none !important; } + + .room-option { + .v-input { + margin: 0px; + } + } + + .option-warning { + background: linear-gradient(0deg, #FFF3F3, #FFF3F3), #FFFBED; + border-radius: 8px; + padding: 18px; + font-family: 'Inter', sans-serif; + font-style: normal; + font-weight: 400; + font-size: 14px; + line-height: 17px; + .v-icon { + margin-right: 16px; + } + } } .room-link .v-input__slot::before { diff --git a/src/assets/icons/ic_warning.vue b/src/assets/icons/ic_warning.vue new file mode 100644 index 0000000..6250f59 --- /dev/null +++ b/src/assets/icons/ic_warning.vue @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/src/assets/translations/en.json b/src/assets/translations/en.json index 023072e..cc09206 100644 --- a/src/assets/translations/en.json +++ b/src/assets/translations/en.json @@ -266,7 +266,9 @@ "voice_mode_info": "Switches the chat interface to a 'listen and record' mode", "download_chat": "Download chat", "read_only_room": "Read only room", - "read_only_room_info": "Only admins and moderators are allowed to send to the room" + "read_only_room_info": "Only admins and moderators are allowed to send to the room", + "make_public": "Make Public", + "make_public_warning": "warning: Full message history will be visible to new participants" }, "room_info_sheet": { "this_room": "This room", diff --git a/src/components/CreateRoom.vue b/src/components/CreateRoom.vue index c2324ad..efc0ec2 100644 --- a/src/components/CreateRoom.vue +++ b/src/components/CreateRoom.vue @@ -43,13 +43,23 @@ v-on:keyup.enter="$refs.create.$el.focus()" :disabled="step > steps.INITIAL" solo> -