diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-10-27 14:07:31 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-10-27 14:07:31 +0200 |
commit | c42b0872aaa59f5df90a78eb60fc683c51f05e2c (patch) | |
tree | 61621fb38b16273573a68b023c8d3922396e57ec /server/sonar-web | |
parent | 059692599345f5a22b5c9b25c34189cf09a99cb8 (diff) | |
download | sonarqube-c42b0872aaa59f5df90a78eb60fc683c51f05e2c.tar.gz sonarqube-c42b0872aaa59f5df90a78eb60fc683c51f05e2c.zip |
improve projects search on the notifications page
require 2 characters for search, don't preload projects, increase input width
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/js/apps/account/notifications/ProjectNotifications.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/notifications/ProjectNotifications.js b/server/sonar-web/src/main/js/apps/account/notifications/ProjectNotifications.js index 0f51df5f786..08c5956cd81 100644 --- a/server/sonar-web/src/main/js/apps/account/notifications/ProjectNotifications.js +++ b/server/sonar-web/src/main/js/apps/account/notifications/ProjectNotifications.js @@ -72,10 +72,12 @@ export default function ProjectNotifications ({ notifications, channels, onAddPr </span> <Select.Async name="new_project" - style={{ width: '150px' }} + style={{ width: '300px' }} loadOptions={loadOptions} + minimumInput={2} onChange={handleAddProject} - placeholder="Search Project"/> + placeholder="Search Project" + searchPromptText="Type at least 2 characters to search"/> </div> </section> ); |