Please review a change to replace the jQuery-UI autocomplete component in 
JavaDoc search with our own search widget previously used only in the search 
page. The new search widget adds a few new features:

 - Tabbed table interface to easily switch between element categories (types, 
members, packages etc.)
 - Module selector to limit search to individual modules in multi-module 
documentation bundles
 - No dependency on jQuery-UI or jQuery as the code is written in plain 
JavaScript
 - Single search implementation for both search page and navigation bar search 
widget

Keyboard navigation of search results differs from the jQueryUI autocomplete 
component, as using the Tab key to open the selected result is problematic for 
users of keyboard navigation who rely on the Tab key as primary means to move 
focus. Instead, keyboard navigation uses the arrow keys to move through result 
items and tabs, and the Enter key to open the selected result item.

The new search widget [can be tested 
here](https://cr.openjdk.org/~hannesw/8378228/api.02/) with the Java SE/JDK API 
docs.

-------------

Commit messages:
 - Minor fixes
 - Remove jQuery, rewrite in plain JS
 - Evolve search UI
 - Remove jQuery-UI
 - Initial implementation of unified search widget

Changes: https://git.openjdk.org/jdk/pull/30057/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30057&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8378228
  Stats: 14937 lines in 27 files changed: 616 ins; 14197 del; 124 mod
  Patch: https://git.openjdk.org/jdk/pull/30057.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30057/head:pull/30057

PR: https://git.openjdk.org/jdk/pull/30057

Reply via email to