[Glitch] Change search to use query params in web UI

Port 0636bcdbe1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2024-12-12 18:12:33 +01:00
committed by Claire
parent 0d25e4f54d
commit c40016b785
25 changed files with 1382 additions and 1270 deletions

View File

@@ -5,8 +5,8 @@ import { connect } from 'react-redux';
import { mountCompose, unmountCompose } from 'flavours/glitch/actions/compose';
import ServerBanner from 'flavours/glitch/components/server_banner';
import { Search } from 'flavours/glitch/features/compose/components/search';
import ComposeFormContainer from 'flavours/glitch/features/compose/containers/compose_form_container';
import SearchContainer from 'flavours/glitch/features/compose/containers/search_container';
import { LinkFooter } from 'flavours/glitch/features/ui/components/link_footer';
import { identityContextPropShape, withIdentity } from 'flavours/glitch/identity_context';
@@ -31,7 +31,7 @@ class ComposePanel extends PureComponent {
return (
<div className='compose-panel'>
<SearchContainer openInRoute />
<Search openInRoute />
{!signedIn && (
<>