-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/fga/room directory #2620
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, and tested OK. A few minor remarks
*/ | ||
|
||
// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed | ||
@Suppress("DSL_SCOPE_VIOLATION") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should update our template, this can be removed :)
// debounce search query | ||
delay(300) | ||
// cancel load more right away | ||
loadingMore = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right away, so maybe before the delay
?
RoomDirectorySearch( | ||
key = "feature.roomdirectorysearch", | ||
title = "Room directory search", | ||
description = "Allow user to search for public rooms in his homeserver", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description = "Allow user to search for public rooms in his homeserver", | |
description = "Allow user to search for public rooms in their homeserver", |
val avatarUrl: String?, | ||
val joinRule: JoinRule, | ||
val isWorldReadable: Boolean, | ||
val joinedMembers: Long |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename to numberOfMembers
?
RoomDescription( | ||
roomId = RoomId("!exa:matrix.org"), | ||
name = "Element X Android", | ||
description = "Element X is a secure, private and decentralized messenger.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Element X is not really decentralized :)
|
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Quality Gate passedIssues Measures |
Type of change
Content
Room directory search should disabled for release build.
Can be enabled in preferences in debug/nightly.
The feature is accessible from room list search.
More complex navigation will be handled by permalink feature (opening room preview before joining, knocking...).
Motivation and context
Closes #2578
Screenshots / GIFs
Tests
Tested devices
Checklist