|
@@ -7,6 +7,7 @@ import pick from 'lodash/pick';
|
|
|
import {fetchTagValues} from 'app/actionCreators/tags';
|
|
|
import Feature from 'app/components/acl/feature';
|
|
|
import Alert from 'app/components/alert';
|
|
|
+import {GuideAnchor} from 'app/components/assistant/guideAnchor';
|
|
|
import EmptyStateWarning from 'app/components/emptyStateWarning';
|
|
|
import LightWeightNoProjectMessage from 'app/components/lightWeightNoProjectMessage';
|
|
|
import ExternalLink from 'app/components/links/externalLink';
|
|
@@ -550,16 +551,18 @@ class ReleasesList extends AsyncView<Props, State> {
|
|
|
|
|
|
<SortAndFilterWrapper>
|
|
|
{hasSemver ? (
|
|
|
- <SmartSearchBar
|
|
|
- searchSource="releases"
|
|
|
- query={this.getQuery()}
|
|
|
- placeholder={t('Search by release version')}
|
|
|
- maxSearchItems={5}
|
|
|
- hasRecentSearches={false}
|
|
|
- supportedTags={supportedTags}
|
|
|
- onSearch={this.handleSearch}
|
|
|
- onGetTagValues={this.getTagValues}
|
|
|
- />
|
|
|
+ <GuideAnchor target="releases_search" position="bottom">
|
|
|
+ <SmartSearchBar
|
|
|
+ searchSource="releases"
|
|
|
+ query={this.getQuery()}
|
|
|
+ placeholder={t('Search by release version')}
|
|
|
+ maxSearchItems={5}
|
|
|
+ hasRecentSearches={false}
|
|
|
+ supportedTags={supportedTags}
|
|
|
+ onSearch={this.handleSearch}
|
|
|
+ onGetTagValues={this.getTagValues}
|
|
|
+ />
|
|
|
+ </GuideAnchor>
|
|
|
) : (
|
|
|
<SearchBar
|
|
|
placeholder={t('Search')}
|