-
Notifications
You must be signed in to change notification settings - Fork 754
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
Adds Suggested Tag in Explore Space #5826
Conversation
@ericdecanini can I just check please, are the margins around the items missing or is it just the screenshot being cropped in on the sides? Thanks |
@niquewoodhouse Screenshot cropping indeed. The margins should've been untouched. |
@@ -145,6 +145,7 @@ class SpaceDirectoryController @Inject constructor( | |||
matrixItem(matrixItem) | |||
avatarRenderer(host.avatarRenderer) | |||
topic(info.topic) | |||
suggested(info.suggested ?: 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.
Nit: we generally use info.suggested.orFalse()
.
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.
Nice improvement, LGTM!
Cool thanks, I just wanted to check to make sure! |
Type of change
(Could be feature because it's purely an addition, or could be bugfix because it's techinically a fix for a regression from several versions ago. Considering it a bugfix for that reason)
Content
Adds Suggested Tag in Explore Space (for suggested rooms)
Motivation and context
Closes #5715
Many versions ago (though I am unsure which), we had a suggested tag on each suggested room in the Explore Space screen. This was before the Open and Join buttons were added in the same screen, which is when I assume we lost this suggested tag.
This PR is adding this back in, with a slight design change from what it used to be to accomodate for the new Open and Join buttons.
Screenshots / GIFs
Tests
Tested devices
Checklist