Project

General

Profile

Actions

Idea #3235

closed

[Workbench] Site-wide search from top nav

Added by Tom Clegg over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench
Target version:
Start date:
07/16/2014
Due date:
Story points:
3.0

Description

For this sprint, focus on functionality inside the search box rather than achieving the best UI behavior.

  • Search button in top nav brings up a modal.
  • Typing in the search query text box and hitting Enter (or clicking the Search button) updates search results.
  • Search for (in order): projects, collections, pipeline templates, pipeline instances, jobs.
  • Row of checkboxes just below query text box determines which object types are shown in results.
  • Click to highlight a row/result.
  • Type "Escape" or click "close" button to dismiss the modal.
  • Click "Open" button (at bottom of modal) to open the selected result.

This should be implemented with a generic calling mechanism just like the existing chooser -- perhaps it can be an extension of the existing chooser, using a SearchController and a query parameter (models[]?) that determines which model types should be shown/searched.

When it has enough capabilities, we'll use it to replace the chooser modal entirely. For example, when choosing a collection, the chooser will support "type a project name, click to expand the project, and select a collection from that project" instead of the existing "choose a project from the drop-down list, then type to search collections in that project".

Important requirement:
  • If an object is not in any project (e.g., arv-put with no --project), it should show up in search.
  • If the user provides an exact UUID of an object or collection, one of the following happens:
    1. The object or collection shows up at the top of the list
    2. the user is taken directly to that object or collection
Defer for next phase:
  • Ensure control-click "Open" button opens in a new window. Making it a link rather than a button/input element should be enough to get this with default browser behavior.
  • Click a caret to expand a project in the results pane and show contents of the project.

Files


Subtasks 15 (0 open15 closed)

Task #3294: Top nav "search" button opens a collection chooserResolvedTom Clegg07/16/2014Actions
Task #3305: Turn off "projects" drop-down in chooser unless requested by callerResolvedTom Clegg07/16/2014Actions
Task #3295: Make a chooser modal that shows multiple typesResolvedTom Clegg07/16/2014Actions
Task #3376: Test/fix infinite scrollResolvedTom Clegg07/16/2014Actions
Task #3377: Hide object type separators when no objects of that type are displayedResolvedTom Clegg07/16/2014Actions
Task #3389: Fix up "filter by project" dropdownResolvedTom Clegg07/16/2014Actions
Task #3396: Show only projects, not groups (and fix section heading)ResolvedTom Clegg07/16/2014Actions
Task #3395: Show selected project in project-filter dropdown titleResolvedTom Clegg07/16/2014Actions
Task #3390: Bring up search dialog by pasting uuid into top navResolvedTom Clegg07/16/2014Actions
Task #3399: Special case for pasting UUIDResolvedTom Clegg07/16/2014Actions
Task #3398: Trigger search update on keyup paste changeResolvedTom Clegg07/16/2014Actions
Task #3420: Search modal bugsResolvedTom Clegg07/16/2014Actions
Task #3447: Individual files in search preview should not be clickable: you can't do anything with them after selecting.ResolvedTom Clegg07/16/2014Actions
Task #3267: Review 3235ResolvedRadhika Chippada07/16/2014Actions
Task #3306: Replace preview pane with an "expand/collapse" button that shows details (e.g., collection contents) inline with the list of itemsClosedTom Clegg07/16/2014Actions
Actions

Also available in: Atom PDF