Polish & delabs Exploring public spaces
feature (#11423)
* Iterate search public spaces UX * Tweak iconography in spotlight * Delabs `Exploring public spaces` * Tweak msc3827 v1.4 support discovery * i18n * Delete stale test * Fix tests * Iterate * Iterate PR based on review * Improve types * Add shortcut to search for public spaces to create space menu * Update import * Add org.matrix.msc3827.stable filtering * Fix tests * silence some errors
This commit is contained in:
parent
d81f71f993
commit
dd6097c568
17 changed files with 180 additions and 107 deletions
|
@ -40,7 +40,9 @@ const SpaceSettingsVisibilityTab: React.FC<IProps> = ({ matrixClient: cli, space
|
|||
const [error, setError] = useState("");
|
||||
const serverSupportsExploringSpaces = useAsyncMemo<boolean>(
|
||||
async (): Promise<boolean> => {
|
||||
return cli.doesServerSupportUnstableFeature("org.matrix.msc3827.stable");
|
||||
return cli.isVersionSupported("v1.4").then((supported) => {
|
||||
return supported || cli.doesServerSupportUnstableFeature("org.matrix.msc3827.stable");
|
||||
});
|
||||
},
|
||||
[cli],
|
||||
false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue