47ea57080b515e5dad5f658c58feb8944a7e7d61 chmalee Thu Jan 29 15:30:26 2026 -0800 Replace clade/assembly dropdowns with a search bar on most CGIs. Add a recents list to hgGateway and to the species bar and to the 'Genomes' dropdown menu. Track recently selected species in localStorage. Add toGenome and fromGenome arguemnts to hubApi/liftOver in order to find appropriate liftover assemblies, refs #36232 diff --git src/hg/js/react/lib/PositionSearch.jsx src/hg/js/react/lib/PositionSearch.jsx index e89593dc48d..2cb9c507aca 100644 --- src/hg/js/react/lib/PositionSearch.jsx +++ src/hg/js/react/lib/PositionSearch.jsx @@ -143,30 +143,31 @@ } var matches = posInfo.get('positionMatches'); if (matches) { posPopup = <PositionPopup positionMatches={matches} update={this.props.update} path={this.props.path}/>; } if (loading || matches) { // If the autocomplete menu is displayed when position search begins or when // position search results arrive, make the menu go away: $(this.refs.input.getDOMNode()).blur(); } return ( <div className={this.props.className}> <TextInput value={posInfo.get('position')} path={this.props.path.concat('position')} update={this.props.update} + placeholder="" size={45} ref='input' /> {spinner} {posPopup} </div> ); } }); // PositionSearch PositionPopup = React.createClass({ // Helper component: when there are multiple matches from position/search, // display them in a popup box with links for the user to choose a position. mixins: [PathUpdate, ImmutableUpdate], // update(path + 'hidePosPopup') called when user clicks to hide popup