-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[App Search] Curation: Add query management UX & organic documents li…
…st (#94488) * Update CurationLogic to handle queries management - updating the active query - adding queriesLoading and organicDocumentsLoading state - clean up / refactor updateCurations slightly - instead of taking a {queries} param, we should opt for a separate updateQueries action and storing a queries state - this allows us to more granularly hook into activeQuery when queries is updated without the current activeQuery and correct for that * Add ActiveQuerySelect component - used for switching the currently active query * Add ManageQueriesModal component - used for editing/adding/removing the queries a curation manages - primarily a light wrapper around the existing reusable CurationQueries component (also used in the create new curation view) * Add OrganicDocuments and CurationResult components * Update Curation view with new components + update breadcrumb to pull from queries instead of curation.queries, mostly for consistency w/ other usages & slightly faster responsiveness when updating queries * Fix unnecessary import * Meeting feedback: organic documents title copy tweak * PR feedback - test assertion
- Loading branch information
Constance
authored
Mar 15, 2021
1 parent
08c6753
commit 5396d27
Showing
16 changed files
with
682 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...se_search/public/applications/app_search/components/curations/curation/documents/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
export { OrganicDocuments } from './organic_documents'; |
Oops, something went wrong.