mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-16 04:00:29 +03:00
Add ability to search room messages
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
eddba3c652
commit
dcef08009d
6 changed files with 289 additions and 22 deletions
|
|
@ -14,6 +14,7 @@ import ScrollView from '../../atoms/scroll/ScrollView';
|
|||
import Tabs from '../../atoms/tabs/Tabs';
|
||||
import { MenuHeader, MenuItem } from '../../atoms/context-menu/ContextMenu';
|
||||
import RoomProfile from '../../molecules/room-profile/RoomProfile';
|
||||
import RoomSearch from '../../molecules/room-search/RoomSearch';
|
||||
import RoomNotification from '../../molecules/room-notification/RoomNotification';
|
||||
import RoomVisibility from '../../molecules/room-visibility/RoomVisibility';
|
||||
import RoomAliases from '../../molecules/room-aliases/RoomAliases';
|
||||
|
|
@ -151,6 +152,7 @@ function RoomSettings({ roomId }) {
|
|||
/>
|
||||
<div className="room-settings__cards-wrapper">
|
||||
{selectedTab.text === tabText.GENERAL && <GeneralSettings roomId={roomId} />}
|
||||
{selectedTab.text === tabText.SEARCH && <RoomSearch roomId={roomId} />}
|
||||
{selectedTab.text === tabText.PERMISSIONS && <RoomPermissions roomId={roomId} />}
|
||||
{selectedTab.text === tabText.SECURITY && <SecuritySettings roomId={roomId} />}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -46,6 +46,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
.room-settings .room-permissions__card {
|
||||
.room-settings .room-permissions__card,
|
||||
.room-settings .room-search__form,
|
||||
.room-settings .room-search__help,
|
||||
.room-settings .room-search__result-item {
|
||||
@extend .room-settings__card;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue