Skip to content

[7.x] [App Search] Final Document Creation API, Logic, & Summary/Error views (#86822)#87211

Merged
cee-chen merged 1 commit intoelastic:7.xfrom
cee-chen:backport/7.x/pr-86822
Jan 4, 2021
Merged

[7.x] [App Search] Final Document Creation API, Logic, & Summary/Error views (#86822)#87211
cee-chen merged 1 commit intoelastic:7.xfrom
cee-chen:backport/7.x/pr-86822

Conversation

@cee-chen
Copy link
Copy Markdown
Contributor

@cee-chen cee-chen commented Jan 4, 2021

Backports the following commits to 7.x:

elastic#86822)

* [Setup] Server API route

* [Cleanup] Remove unnecessary DocumentCreationSteps

- errors can/should be shown in the EuiFlyoutBody banner (better UX since the JSON/file is right there for reference) vs its own page
- No need to distinguish between ShowErrorSummary and ShowSuccessSummary

+ placeholder Summary view for now

* Add DocumentCreationLogic file upload logic

* Update creation form components to show error/warning feedback

* Add final post-upload summary view

- split up into subcomponents for easier reading/testing

* [lint] oops, double licenses

* [PR feedback] map -> forEach

* [PR feedback] Reset form state on flyout close

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@cee-chen cee-chen added the backport This PR is a backport of another PR label Jan 4, 2021
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
enterpriseSearch 900 920 +20

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
enterpriseSearch 1.4MB 1.5MB +65.0KB
triggersActionsUi 1.6MB 1.5MB -26.9KB
total +38.1KB

Distributable file count

id before after diff
default 47610 48374 +764

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
triggersActionsUi 162.5KB 162.6KB +102.0B
Unknown metric groups

async chunk count

id before after diff
triggersActionsUi 31 32 +1

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@cee-chen cee-chen merged commit 8b201aa into elastic:7.x Jan 4, 2021
@cee-chen cee-chen deleted the backport/7.x/pr-86822 branch January 4, 2021 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants