Skip to content

JetBrains: Fix last search loading

Administrator requested to merge ps/jetbrains-load-last-search into main

Created by: philipp-spiess

Fixes #35583

The issue was that we loaded the last search asynchronously after we have rendered the search form. That, however, is when we already rendered the search form with an empty value and hence we have the conflict.

To fix this, I moved the initial search loading to the rest of the initializers so they are run before React is included in the equation.

Test plan

We can now pre-populate with the previous search term.

Screenshot 2022-05-24 at 11 39 46

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading