Project

General

Profile

Actions

Feature #5455

open

Have a quicksearch across the application

Added by David Davis almost 10 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Have a search at the top of the UI where one could search across all records. It would be "live" (autoupdate) and group records together (e.g. something like spotlight in OS X). Also, it would be nice if plugins like Katello could plug into it.


Files

HT2531_100-MtLion-Spotlight-002-en.png View HT2531_100-MtLion-Spotlight-002-en.png 47.6 KB OS X Spotlight Search David Davis, 04/25/2014 06:35 PM

Related issues 1 (1 open0 closed)

Related to Foreman - Feature #3573: Top navigation bar host quick-searchNew11/04/2013Actions
Actions #1

Updated by Josh Baird almost 10 years ago

Totally agree. I constantly find myself needing to browse directly to a host property page. Currently a user, has to click Hosts, find the host, click edit, etc. It would be MUCH quicker if the user could simply start searching for the host in a form at the top of the UI.

Actions #2

Updated by Lukas Zapletal almost 10 years ago

The problem is, and Amos correct me if I am wrong, that we did not want to go using full text index. Our search capabilities heavily rely on SQL and our database, our search is strictly structured. That means you need to do context aware searches. Searching accros all models would probably kill the application, maybe it is feasible to search through selected models like hosts, operating systems and few others with possibility for plugins to extend.

From a UI perspective, this is of course most comfortable way of searching, I have to admit.

Actions #3

Updated by David Davis almost 10 years ago

So I'm aware of the current search code in foreman, scoped_search, and its limitations. That said, I'm still wondering if there's a way to implement this without a huge hit to performance and without too much complexity.

Actions #4

Updated by Josh Baird almost 10 years ago

  • Related to Feature #3573: Top navigation bar host quick-search added
Actions #5

Updated by Josh Baird almost 10 years ago

What about starting with just a 'host quick search' per #3573? I really think this is a necessary feature considering how much time it would save a user.

Actions #6

Updated by Josh Baird over 7 years ago

I still think is very necessary. Anyone else?

Actions #7

Updated by Lukas Zapletal over 7 years ago

I think the proper implementation of this is to introduce a PostgreSQL full text search and add a plugin that will make use of it. This will give you google-like experience.

Actions #8

Updated by Shimon Shtein over 7 years ago

I have created a small plugin that enables foreman to become a search provider for browser's search bar: https://github.com/ShimShtein/foreman-opensearch
Basic usage: in Chrome: type your foreman server's address (localhost) for dev instances, press TAB. The title will change to "Search Foreman". Now type which object are you looking for with a colon at the end (for example "hosts:") and then type your query.

I have an animated gif on the plugin's github page that explains better how to use it.

Actions

Also available in: Atom PDF