Glogal Search search term that has no spaces and is too long breaks UI

Summary

When searching for an extremely long string the status bar does not trim the string properly. Various scopes have various items missing in the status bar because a long search term string is pushing it out of the viewport.

Steps to reproduce

  1. Visit page http://127.0.0.1:3000/search?search=test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+test+
  2. Try other scopes

What is the current bug behavior?

The long search string is not truncated correctly.

What is the expected correct behavior?

The long search string gets truncated in the status bar.

Relevant logs and/or screenshots

Screenshot_2023-02-22_at_10.06.52

Output of checks

Possible fixes

The search term string needs to be truncated in the status bar.