On every Stack Exchange site, when somebody clicks on a user link, the search box is automatically filled with a string that would allow to search posts written by that user.
In which cases does automatically filling the search field make sense? Should I just consider if searching is a common operation, or are there other considerations to make?
I was thinking to implement such functionality on a Drupal site, for the user profile pages, or the node pages. In the first case, the search box would be pre filled with a search term that allows searching for nodes (content) written by that user; in the second case, the search box would be filled with a search term that allows searching for similar nodes.