Skip to content

Refactor Visualize wizard.#8325

Closed
cjcenizal wants to merge 1 commit intoelastic:masterfrom
cjcenizal:experiment/refactor-visualize-wizard
Closed

Refactor Visualize wizard.#8325
cjcenizal wants to merge 1 commit intoelastic:masterfrom
cjcenizal:experiment/refactor-visualize-wizard

Conversation

@cjcenizal
Copy link
Contributor

@cjcenizal cjcenizal commented Sep 17, 2016

What and why

This experiment implements some proposed "best practices":

  • Migrate from absolute imports to relative imports, for clearer relationships between modules.
  • Reorganize files for clearer hierarchy.
  • Represent one concern per file.
  • Aggregate route definitions in one place.
  • Clarify entry points into code, with clear dependencies.

I'd like to implement these practices throughout our codebase, to make it easier to migrate to the new Kibana architecture (whatever that ends up being).

These changes should also make code easier to follow and maintain, so please assess this PR from that standpoint.

Next step

For now, my immediate goal is to apply these practices to only the Visualize app, and use it as a test case for migrating an app to various new Kibana architectural prototypes. After this PR is merged, I'll move on to the "saved_visualizations" and "editor" sections of Visualize.

Impact

If we move forward and merge these changes, we'll need to backport them to 5.x and 5.0, to support easy backporting of future bug fixes in this code.

- Migrate from absolute imports to relative imports.
- Reorganize files for clearer hierarchy.
- Represent one concern per file.
- Aggregate route definitions in one place.
- Clarify entry points into code, with clear dependencies.
</div>
<p class="wizard-type-description">{{type.description}}</p>
</a>
<div class="container-fluid vis-wizard">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file remains unchanged, except for the addition of a new root element.

<saved-object-finder
title="Saved Searches"
type="searches"
<div class="container-fluid vis-wizard">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file remains unchanged, except for the addition of a new root element.

@cjcenizal
Copy link
Contributor Author

This is a very low priority, and I don't think I'll have time to get back to this in the foreseeable future.

@cjcenizal cjcenizal closed this Nov 2, 2016
@cjcenizal cjcenizal deleted the experiment/refactor-visualize-wizard branch November 2, 2016 02:07
tkajtoch added a commit that referenced this pull request Mar 7, 2025
# Backport

This is a manual backport of #212974 and #213292

---

`99.3.0-classic.0` ⏩ `100.0.0-classic.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

---


## [`v100.0.0`](https://github.com/elastic/eui/releases/v100.0.0)

**Bug fixes**

- Fixed `EuiComboBox` by cleaning duplicated values when having a
delimiter prop. ([#8335](elastic/eui#8335))

## [`v99.4.0`](https://github.com/elastic/eui/releases/v99.4.0)

- Minor design updates to `EuiCollapsibleNavBeta`
([#8332](elastic/eui#8332))
  - Allow section without a title
- Second-level icons should be horizontally aligned with the top-level
icon
  - Turn off text truncation for nav items
- Added `quickSelectButtonProps` to `EuiSuperDatePicker`
([#8380](elastic/eui#8380))

**Bug fixes**

- Fixed a bug in `EuiHeader` where the navigation of
`EuiCollapsibleNavBeta` would render below the `EuiFlyout`'s overlay
([#8325](elastic/eui#8325))

**Accessibility**

- Improved the accessibility of `EuiComboBox` by adding `aria-setsize`
and `aria-posinset` to ensure correct information is provided for its
virtualized listbox ([#8333](elastic/eui#8333))
- Improved the `EuiAccordionTrigger`'s screen reader UX by passed
`aria-hidden` to the `EuiAccordionArrow` to avoid duplicated
announcements by screen readers.
([#8342](elastic/eui#8342))

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments