Align `showTabs` argument to `threadAnnotations` with actual tab visibility
Align how `useRootThread` determines the `showTabs` argument it passes to `threadAnnotations` with the way `SidebarView` determines whether to render the tabs. The logic is not quite the same because `SidebarView` has some additional conditions related to direct-linking errors. However this has been ignored to align with the way `useRootThread` worked prior to the most recent changes. The changes here are intended to be temporary: once the new search UI is enabled for everyone, the tabs will always be shown and the logic will become much simpler.
Showing
Please register or sign in to comment