Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[App Search] Move to tabbed single tabbed JSON flyout with upload and paste options and refactor cards #127162

Merged
merged 13 commits into from
Mar 8, 2022

Conversation

scottybollinger
Copy link
Contributor

@scottybollinger scottybollinger commented Mar 8, 2022

closes https://github.com/elastic/enterprise-search-team/issues/1300

Summary

This PR implements a new design for the indexing of JSON data in App Search, as well as updates the design of the cards for the engine empty state and indexing flyout.

Also as a part of this PR, a new stubbed-out view for the ElasticsearchIndex indexing component was added for use in this issue.

New tabbed JSON flyout

json.mp4

Stubbed ElasticsearchIndex component

stubbed.ElasticsearchIndex.mp4

Best to follow along by commit with whitespace changes hidden.

Checklist

We have a new shared flyout coming a future commit called JsonFlyout that will conditionally render the tab content that is now housed in these components.
We no longer have text and file and now have json and elasticsearchIndex
Also changes default value for `creationMode` to `api` since `text` was removed
To be completed in a future PR
- Updates the cards to be left rendered instead of a grid
- Adds an empty state with illustration for the non-flyout view
- Conditionally renders the help text above the buttons in the flyout
Also renames the ones that were changed
@scottybollinger scottybollinger added release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed v8.2.0 Team:EnterpriseSearch labels Mar 8, 2022
@scottybollinger scottybollinger requested a review from a team as a code owner March 8, 2022 16:19
@scottybollinger scottybollinger requested a review from a team March 8, 2022 16:19
10:1  error  Type export ActiveJsonTab is not a value and should be exported using `export type`  @typescript-eslint/consistent-type-exports
Copy link
Member

@efegurkan efegurkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have 1 question regarding alttext otherwise looks good.

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
enterpriseSearch 1384 1392 +8

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.4MB +4.6KB
Unknown metric groups

miscellaneous assets size

id before after diff
enterpriseSearch 1.1MB 1.3MB ⚠️ +266.1KB

History

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

@scottybollinger scottybollinger added backport:skip This commit does not require backporting and removed auto-backport Deprecated - use backport:version if exact versions are needed labels Mar 8, 2022
@scottybollinger scottybollinger merged commit 6f5cd00 into elastic:main Mar 8, 2022
jloleysens added a commit to jloleysens/kibana that referenced this pull request Mar 9, 2022
…re-browser-errors

* 'main' of github.com:elastic/kibana: (46 commits)
  [Reporting] Capture Kibana stopped error (elastic#127017)
  add updatedAt to SimpleSavedObject (elastic#126359)
  Remove deprecated & unused `ElasticsearchServiceStart.legacy` (elastic#127050)
  remove opacity for fitting line series (elastic#127176)
  Remove deprecated & unused `HttpServiceSetup.auth` (elastic#127056)
  [Lens] Show underlying data editor navigation (elastic#125983)
  Bump dependencies (elastic#127238)
  Remove deprecated & unused `public-AsyncPlugin` (elastic#127048)
  Remove deprecated & unused `SavedObjectsImportFailure.title` (elastic#127043)
  skip flaky suite (elastic#123372)
  [kbn/generate] add basic package generator (elastic#127095)
  [build] Up compression quality (elastic#127064)
  Made fix to broken test. Deleted all existing pipelines before test starts. FLAKY: elastic#118593 (elastic#127102)
  Increase timeout for Jest integration tests (elastic#127220)
  skip failing test suite (elastic#126949)
  [DOCS] Adds note for data source performance impact (elastic#127184)
  [Security Solution] Adds CCS privileges warning enable switch in advanced settings (elastic#124459)
  [App Search] Move to tabbed single tabbed JSON flyout with upload and paste options and refactor cards (elastic#127162)
  Update dependency chromedriver to v99 (elastic#127079)
  [kbn/pm] add timings for more parts of bootstrap (elastic#127157)
  ...

# Conflicts:
#	x-pack/plugins/reporting/common/errors/index.ts
#	x-pack/plugins/reporting/server/lib/tasks/execute_report.ts
@scottybollinger scottybollinger deleted the b/json-flyout-refactor branch March 15, 2022 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants