refactor: move search from menu to partial