Issue Task Under Review Orphaned

#107041Make live search more prominent in topbar

Andreas Nedbal 07/04/25, 15:19 updated 07/04/25, 16:08

Description

The Live Search is really good. And it should be made more prominent rather than being “hidden” behind a small button.

Reviews 1

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". The changes above were merged or abandoned: read them before you start. How to create a patch

Commit message
[TASK] Make live search more prominent in topbar Resolves: #107041 Releases: main

History 34

  1. Andreas Nedbal commented and changed attached topbar-search.mp4 <span data-processor="relativetime" data-value="2025-07-04T15:29:22+00:00" > 07/04/25, 15:29 </span>

    Pushed a patch for this which is just a proof of concept as of yet, misses a lot of things:

    • The PoC only puts the toolbar click handler class on the input to open the modal, this should be adjusted so that typing in the search (when tabbing into it) or other events also open it (or ignore it).
    • Actual removal of the search toolbar button (it’s just hidden with CSS at the moment)
    • The search bar needs permission checks (like the toolbar button already has)
    • Placement of the Live Search should be adjusted maybe? As in, making that modal aligned to the top, so the shift in focus isn’t “I clicked this at the top, something appears in the center of the screen”.
    • The width of the search bar is just “eyed” to be nice right now, the entire thing needs some styling adjustments probably.

    Attaching a video of how it looks too.

  2. Benjamin Franzke commented <span data-processor="relativetime" data-value="2025-07-04T15:52:21+00:00" > 07/04/25, 15:52 </span>

    Faux searchbars like on https://docs.typo3.org/search/search offer very bad UX:

    • You expect the click to allow immediate interaction, but there will be a ~1sec delay until interaction is actually possible
    • You an not select via Tab and press Ctrl+V
    • You can not middle-click-paste on linux for immediate search input

    This is all probably solvable with better JavaScript, but then there’s one remaing issue:

    • User is distracted when the expected focus point where typed content will appear is suddenly at a completely different position.

    So from a personal perspective I can only say: I never saw a faux search bar that I liked, and while I thought – yea ok, that’s used quite often anyway, I’m now not able to find any example besides docs.typo3.org, maybe existing sites already realized that this is distracting?

    I’m not against the placement of the search input though, I actually like it.
    But I think we need to rethink the live-search modal and basically attach it to the topbar and make it a combined component, to avoid any distraction…
    That would be nice!

  3. Andreas Nedbal commented <span data-processor="relativetime" data-value="2025-07-04T16:08:35+00:00" > 07/04/25, 16:08 </span>

    Yeah, I got the same feedback (especially with the example of the Docs search) from someone else already, so I see the point and consider it valid definitely.

    > User is distracted when the expected focus point where typed content will appear is suddenly at a completely different position.

    Yeah, that’s exactly what I also noted already with my point above:

    > Placement of the Live Search should be adjusted maybe? As in, making that modal aligned to the top, so the shift in focus isn’t “I clicked this at the top, something appears in the center of the screen”.

    And also the one thing I would have adjusted the earliest anyway, the changed focus is the worst offender here.

    ——

    > I’m not against the placement of the search input though, I actually like it.
    > But I think we need to rethink the live-search modal and basically attach it to the topbar and make it a combined component, to avoid any distraction…
    > That would be nice!

    I do agree that this would definitely be a better approach.