"in this topic" search mode is disabled 1 char too early

AI-generated summary

binarycat reported a UX issue with the “in this topic” search mode, which disappears prematurely when typing a single character and then deleting it. ondrej and Moin confirmed experiencing the same behavior, with Moin noting it also occurs in the personal message inbox.

sam acknowledged the issue as a UX glitch and flagged it for the member experience team to review. zogstrip thanked binarycat for reporting the problem and provided a link to a GitHub pull request that addresses the issue:

https://github.com/discourse/discourse/pull/27735

This fix aims to resolve the premature disappearance of the “in this topic” search mode, improving the user experience when searching within specific topics or message inboxes.

replication steps:

  1. click on any topic
  2. click the magnifying class at the top right to bring up the search menu
  3. click “in this topic”
  4. type any singular letter
  5. type backspace

the “in this topic” bit will disappear. typing a letter and then erasing it should result in no change.

4 Likes

I get this behaviour too. I don’t use this type of search often I usually search for topics so I’m not sure what is meant to happen. But logically, it would make sense for the search to stay until you want to get rid of it.

1 Like

The same happens when you search while looking at your personal message inbox. The message filter also disappears.

Yes this feels like a Contribute > UX glitch of sorts, agree the behavior is a bit non-intuative.

Flagged this for the member experience to have a look.

Thanks @binarycat :+1:

This will be fixed by :point_down:

https://github.com/discourse/discourse/pull/27735

4 Likes

This topic was automatically closed after 2 days. New replies are no longer allowed.