From df6a4a435c5405d2682a2d3e9bdc1bfd927c8c80 Mon Sep 17 00:00:00 2001 From: flopp999 <21694965+flopp999@users.noreply.github.com> Date: Tue, 31 Mar 2020 14:06:07 +0200 Subject: [PATCH] Text change in search (#22929) * Text change made it more understandable that this is a search field * Made "New Folder"-button green Since New Dashboard was green I thought New Folder; Import also would be green. Green seems to be the color for creating new items * Update playlist_search.html * change search text * wrong link * Update playlist.md * Update manage_dashboards.html * Update manage_dashboards.html * replaced Filter * replaced Filter * replaced Filter * replaced filter * changed text for placeholder * Update UsersActionBar.tsx * Update UserListAdminPage.tsx * update snapshots Co-authored-by: Dominik Prokop --- docs/sources/reference/playlist.md | 2 +- public/app/core/components/OrgActionBar/OrgActionBar.tsx | 2 +- .../OrgActionBar/__snapshots__/OrgActionBar.test.tsx.snap | 2 +- .../components/manage_dashboards/manage_dashboards.html | 8 ++++---- public/app/features/admin/UserListAdminPage.tsx | 2 +- .../app/features/playlist/partials/playlist_search.html | 2 +- public/app/features/search/components/SearchField.tsx | 2 +- public/app/features/users/UsersActionBar.tsx | 2 +- .../users/__snapshots__/UsersActionBar.test.tsx.snap | 8 ++++---- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/sources/reference/playlist.md b/docs/sources/reference/playlist.md index 7375bd01cb6..755e3c5a3ff 100644 --- a/docs/sources/reference/playlist.md +++ b/docs/sources/reference/playlist.md @@ -61,7 +61,7 @@ You can edit playlists while creating them or after saving them. ### Search for a dashboard to add -1. Click the **Find dashboards by name** text box. +1. Click the **Search dashboards by name** text box. 1. Search for the playlist by name or regular expression. 1. If needed, filter your results by starred status or tags. By default, your starred dashboards will appear as options to add to the Playlist. diff --git a/public/app/core/components/OrgActionBar/OrgActionBar.tsx b/public/app/core/components/OrgActionBar/OrgActionBar.tsx index 016c4777668..b563fe9098b 100644 --- a/public/app/core/components/OrgActionBar/OrgActionBar.tsx +++ b/public/app/core/components/OrgActionBar/OrgActionBar.tsx @@ -28,7 +28,7 @@ export default class OrgActionBar extends PureComponent { inputClassName="gf-form-input width-20" value={searchQuery} onChange={setSearchQuery} - placeholder={'Filter by name or type'} + placeholder={'Search by name or type'} /> onSetLayoutMode(mode)} /> diff --git a/public/app/core/components/OrgActionBar/__snapshots__/OrgActionBar.test.tsx.snap b/public/app/core/components/OrgActionBar/__snapshots__/OrgActionBar.test.tsx.snap index 3a75f9192b2..81de13f18fe 100644 --- a/public/app/core/components/OrgActionBar/__snapshots__/OrgActionBar.test.tsx.snap +++ b/public/app/core/components/OrgActionBar/__snapshots__/OrgActionBar.test.tsx.snap @@ -11,7 +11,7 @@ exports[`Render should render component 1`] = ` inputClassName="gf-form-input width-20" labelClassName="gf-form--has-input-icon" onChange={[MockFunction]} - placeholder="Filter by name or type" + placeholder="Search by name or type" value="" /> @@ -49,7 +49,7 @@
- No dashboards matching your query were found. + No dashboards matching your search were found.
diff --git a/public/app/features/admin/UserListAdminPage.tsx b/public/app/features/admin/UserListAdminPage.tsx index ec25aa6aa70..18e64e591df 100644 --- a/public/app/features/admin/UserListAdminPage.tsx +++ b/public/app/features/admin/UserListAdminPage.tsx @@ -45,7 +45,7 @@ const UserListAdminPageUnConnected: React.FC = props => { -
diff --git a/public/app/features/search/components/SearchField.tsx b/public/app/features/search/components/SearchField.tsx index 5e513ffa97d..46f8575468c 100644 --- a/public/app/features/search/components/SearchField.tsx +++ b/public/app/features/search/components/SearchField.tsx @@ -61,7 +61,7 @@ export const SearchField: React.FunctionComponent = ({ query, ) => { onChange(event.currentTarget.value); diff --git a/public/app/features/users/UsersActionBar.tsx b/public/app/features/users/UsersActionBar.tsx index 6e7d56294c6..1ba48201431 100644 --- a/public/app/features/users/UsersActionBar.tsx +++ b/public/app/features/users/UsersActionBar.tsx @@ -49,7 +49,7 @@ export class UsersActionBar extends PureComponent { inputClassName="gf-form-input width-20" value={searchQuery} onChange={setUsersSearchQuery} - placeholder="Filter by email, login or name" + placeholder="Search user by login,email or name" /> {pendingInvitesCount > 0 && (
diff --git a/public/app/features/users/__snapshots__/UsersActionBar.test.tsx.snap b/public/app/features/users/__snapshots__/UsersActionBar.test.tsx.snap index f94225348f4..c4e18b78f36 100644 --- a/public/app/features/users/__snapshots__/UsersActionBar.test.tsx.snap +++ b/public/app/features/users/__snapshots__/UsersActionBar.test.tsx.snap @@ -11,7 +11,7 @@ exports[`Render should render component 1`] = ` inputClassName="gf-form-input width-20" labelClassName="gf-form--has-input-icon" onChange={[MockFunction]} - placeholder="Filter by email, login or name" + placeholder="Search user by login,email or name" value="" />