File tree 1 file changed +24
-0
lines changed
frontend/src/components/app-config
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -1314,6 +1314,30 @@ export const UserConfigForm: React.FC = () => {
1314
1314
</ div >
1315
1315
) }
1316
1316
/>
1317
+ < FormField
1318
+ control = { form . control }
1319
+ name = "experimental.rtc_v2"
1320
+ render = { ( { field } ) => (
1321
+ < div className = "flex flex-col gap-y-1" >
1322
+ < FormItem className = { formItemClasses } >
1323
+ < FormLabel className = "font-normal" >
1324
+ Real-Time Collaboration
1325
+ </ FormLabel >
1326
+ < FormControl >
1327
+ < Checkbox
1328
+ data-testid = "rtc-checkbox"
1329
+ checked = { field . value === true }
1330
+ onCheckedChange = { field . onChange }
1331
+ />
1332
+ </ FormControl >
1333
+ </ FormItem >
1334
+ < FormDescription >
1335
+ Enable experimental real-time collaboration. This change
1336
+ requires a page refresh to take effect.
1337
+ </ FormDescription >
1338
+ </ div >
1339
+ ) }
1340
+ />
1317
1341
</ SettingGroup >
1318
1342
) ;
1319
1343
}
You can’t perform that action at this time.
0 commit comments