Skip to content

[App Search] Misc naming tech debt#82770

Merged
cee-chen merged 7 commits intoelastic:masterfrom
cee-chen:consts-refactor
Nov 9, 2020
Merged

[App Search] Misc naming tech debt#82770
cee-chen merged 7 commits intoelastic:masterfrom
cee-chen:consts-refactor

Conversation

@cee-chen
Copy link
Copy Markdown
Contributor

@cee-chen cee-chen commented Nov 5, 2020

Summary

There are two somewhat separate changes in this PR (apologies for that):

  1. (69dd473) - Renaming the engine_overview folder to engines and making sure all instances of the singular engine is converted to engines (plural, to help distinguish/reduce confusion between the Engines Overview and the Engine Overview)

  2. (Remaining commits) DRYing out i18n title constants - we reuse the same title/name for pages in the nav, breadcrumbs, and usually on the page itself in an h1 header, so it's nice to DRY that out to a single i18n string. Presumably that means we're helping the i18n team not translate the same string over and over again 😅

Checklist

@cee-chen cee-chen added Feature:Plugins technical debt Improvement of the software architecture and operational architecture release_note:skip Skip the PR/issue when compiling release notes v7.11.0 labels Nov 5, 2020
@cee-chen cee-chen requested review from a team and JasonStoltz November 5, 2020 19:11
@cee-chen cee-chen changed the title [App Search] Misc naming debt [App Search] Misc naming tech debt Nov 5, 2020
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sometimes I wish Prettier were a little less opinionated / let us leave JSX as multi-line if we wanted to :dead_inside:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

But overall I still love Prettier haha

- To better match ent-search folder structure
- Also rename/clarify pluralization of "Engines" where possible, to distinguish between individual Engine Overview pages
@JasonStoltz
Copy link
Copy Markdown
Member

@elasticmachine merge upstream

@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 449 453 +4

Async chunks

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

id before after diff
enterpriseSearch 664.5KB 664.0KB -492.0B

History

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

@cee-chen cee-chen merged commit 04c583e into elastic:master Nov 9, 2020
@cee-chen cee-chen deleted the consts-refactor branch November 9, 2020 22:10
cee-chen pushed a commit that referenced this pull request Nov 10, 2020
* Rename `engine_overview` folder to `engines`

- To better match ent-search folder structure
- Also rename/clarify pluralization of "Engines" where possible, to distinguish between individual Engine Overview pages

* DRY out Engines and Meta Engines titles

* DRY out Credentials title

* DRY out Settings title

* DRY out Role Mappings title

* Update localization keys to match changes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Nov 10, 2020
* master: (39 commits)
  Fix ilm navigation (elastic#81664)
  [Lens] Distinct icons for XY and pie chart value labels toolbar (elastic#82927)
  [data.search.aggs] Throw an error when trying to create an agg type that doesn't exist. (elastic#81509)
  Index patterns api - load field list on server (elastic#82629)
  New events resolver (elastic#82170)
  [App Search] Misc naming tech debt (elastic#82770)
  load empty_kibana in test to have clean starting point (elastic#82772)
  Remove data <--> expressions circular dependencies. (elastic#82685)
  Update 8.0 breaking change template to gather information on how to programmatically detect it. (elastic#82905)
  Add alerting as codeowners to related documentation folder (elastic#82777)
  Add captions to user and space grid pages (elastic#82713)
  add alternate path for x-pack/Cloud test for Lens (elastic#82634)
  Uses asCurrentUser in getClusterUuid (elastic#82908)
  [Alerting][Connectors] Add new executor subaction to get 3rd party case fields (elastic#82519)
  Fix test import objects (elastic#82767)
  [ML] Add option for anomaly charts for metric detector should plot min, mean or max as appropriate (elastic#81662)
  Update alert type selection layout to rows instead of grid (elastic#73665)
  Prevent Kerberos and PKI providers from initiating a new session for unauthenticated XHR/API requests. (elastic#82817)
  Update grunt and related packages (elastic#79327)
  Allow the repository to search across all namespaces (elastic#82863)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Plugins release_note:skip Skip the PR/issue when compiling release notes technical debt Improvement of the software architecture and operational architecture v7.11.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants