diff options
author | Pascal Mugnier <pascal.mugnier@sonarsource.com> | 2018-04-26 08:42:19 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-05-03 20:20:50 +0200 |
commit | b083d4376580b8dd252933025ca86ce5b98ce7af (patch) | |
tree | a0d05a812d6c70c3d8573106b12a1ec74f6faefa /server/sonar-web/src/main/js/apps/users | |
parent | 0c996218c1a2c2542c3465a7bf1f38ee386132da (diff) | |
download | sonarqube-b083d4376580b8dd252933025ca86ce5b98ce7af.tar.gz sonarqube-b083d4376580b8dd252933025ca86ce5b98ce7af.zip |
SONAR-10612 Create documentation space in the web app
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users')
-rw-r--r-- | server/sonar-web/src/main/js/apps/users/UsersApp.tsx | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/users/__tests__/__snapshots__/UsersApp-test.tsx.snap | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/UsersApp.tsx b/server/sonar-web/src/main/js/apps/users/UsersApp.tsx index 1cf4ee7e669..e0ea3203655 100644 --- a/server/sonar-web/src/main/js/apps/users/UsersApp.tsx +++ b/server/sonar-web/src/main/js/apps/users/UsersApp.tsx @@ -26,6 +26,7 @@ import Search from './Search'; import UsersList from './UsersList'; import { parseQuery, Query, serializeQuery } from './utils'; import ListFooter from '../../components/controls/ListFooter'; +import Suggestions from '../../app/components/embed-docs-modal/Suggestions'; import { getIdentityProviders, searchUsers } from '../../api/users'; import { Paging, IdentityProvider, User } from '../../app/types'; import { translate } from '../../helpers/l10n'; @@ -124,6 +125,7 @@ export default class UsersApp extends React.PureComponent<Props, State> { const { loading, paging, users } = this.state; return ( <div id="users-page" className="page page-limited"> + <Suggestions suggestions="users" /> <Helmet title={translate('users.page')} /> <Header loading={loading} onUpdateUsers={this.fetchUsers} /> <Search query={query} updateQuery={this.updateQuery} /> diff --git a/server/sonar-web/src/main/js/apps/users/__tests__/__snapshots__/UsersApp-test.tsx.snap b/server/sonar-web/src/main/js/apps/users/__tests__/__snapshots__/UsersApp-test.tsx.snap index c955a2eef06..68ea461d488 100644 --- a/server/sonar-web/src/main/js/apps/users/__tests__/__snapshots__/UsersApp-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/users/__tests__/__snapshots__/UsersApp-test.tsx.snap @@ -5,6 +5,9 @@ exports[`should render correctly 1`] = ` className="page page-limited" id="users-page" > + <Suggestions + suggestions="users" + /> <HelmetWrapper defer={true} encodeSpecialCharacters={true} @@ -43,6 +46,9 @@ exports[`should render correctly 2`] = ` className="page page-limited" id="users-page" > + <Suggestions + suggestions="users" + /> <HelmetWrapper defer={true} encodeSpecialCharacters={true} |