mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Prior to commiteb4a2b9d4ethe center area of the navbar was based on a structure that appended crumbs or "tabs" as <li>s, forming a tab_bar and a tab_list. However, ineb4a2b9d4ewe apply a new style and structure to the navbar which lets go of the convention of tabs. Hence, we'd like to purge the tab_bar and tab_list labels from our code base. This commit pushes us towards that goal. Previously, this element was part of both searchbox and searchbox_legacy of which, only one would render based on the flag on search pills. This wasn't great because: * it made it likely that someone would change only one of the two and unintentionally introduce regressions. * it meant that search_icon selectors within the searchbox would mess with the search_icon elements within the tab_bar, leading us to rely on messy CSS overriding. Since there doesn't seem to be a strong reason to have this be the way it previously was, this commit extracts "#tab_bar". It's worth keeping in mind that we use the "#tab_bar" element as an anchor to append the #tab_list onto.