Space Search

Allow to refine searches to spaces only in the main exlore function.
Show which rooms are spaces in the search page.

Closes #577
This commit is contained in:
James Graham
2024-03-30 19:37:46 +00:00
parent 482d61ee47
commit 64b8cd5bcc
6 changed files with 64 additions and 7 deletions

View File

@@ -51,7 +51,8 @@ Kirigami.Dialog {
onClicked: {
let dialog = pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat', 'ExploreRoomsPage.qml'), {
connection: root.room.connection,
showOnlySpaces: true
showOnlySpaces: true,
showOnlySpacesButton: false
}, {
title: i18nc("@title", "Choose Parent Space")
});
@@ -135,7 +136,8 @@ Kirigami.Dialog {
onClicked: {
let dialog = pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat', 'ExploreRoomsPage.qml'), {
connection: root.room.connection,
showOnlySpaces: true
showOnlySpaces: true,
showOnlySpacesButton: false
}, {
title: i18nc("@title", "Explore Rooms")
});