Add room upgrade option in room settings (#2280)

* add room upgrade option in room settings

* update upgrade room dialog styles
This commit is contained in:
Ajay Bura 2025-03-20 20:23:16 +11:00 committed by GitHub
parent f688e2d1ae
commit c16e060f73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 222 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import { RoomEncryption } from './RoomEncryption';
import { RoomHistoryVisibility } from './RoomHistoryVisibility';
import { RoomJoinRules } from './RoomJoinRules';
import { RoomLocalAddresses, RoomPublishedAddresses } from './RoomAddress';
import { RoomUpgrade } from './RoomUpgrade';
type GeneralProps = {
requestClose: () => void;
@ -48,6 +49,10 @@ export function General({ requestClose }: GeneralProps) {
<RoomPublishedAddresses powerLevels={powerLevels} />
<RoomLocalAddresses powerLevels={powerLevels} />
</Box>
<Box direction="Column" gap="100">
<Text size="L400">Advance Options</Text>
<RoomUpgrade powerLevels={powerLevels} requestClose={requestClose} />
</Box>
</Box>
</PageContent>
</Scroll>