search: Remove support for experimental search pills.

This in-progress feature was started in 2018 and hasn't
been worked on much since. It's already in a broken state,
which makes it hard to iterate on the existing search bar
since it's hard to know how those changes will affect search
pills.

We do still want to add search pills eventually, and when
we work on that, we can refer to this diff to readd the
changes back.
This commit is contained in:
evykassirer
2023-05-18 15:55:49 -07:00
committed by Tim Abbott
parent e20e7482ca
commit aa270bcef0
22 changed files with 14 additions and 1863 deletions

View File

@@ -80,7 +80,6 @@ import * as scheduled_messages_overlay_ui from "./scheduled_messages_overlay_ui"
import * as scroll_bar from "./scroll_bar";
import * as scroll_util from "./scroll_util";
import * as search from "./search";
import * as search_pill_widget from "./search_pill_widget";
import * as sent_messages from "./sent_messages";
import * as server_events from "./server_events";
import * as settings from "./settings";
@@ -221,7 +220,6 @@ function initialize_right_sidebar() {
function initialize_navbar() {
const rendered_navbar = render_navbar({
embedded: page_params.narrow_stream !== undefined,
search_pills_enabled: page_params.search_pills_enabled,
});
$("#header-container").html(rendered_navbar);
@@ -676,7 +674,6 @@ export function initialize_everything() {
compose_recipient.initialize();
compose_pm_pill.initialize();
compose_closed_ui.initialize();
search_pill_widget.initialize();
reload.initialize();
user_groups.initialize(user_groups_params);
unread.initialize(unread_params);