Skip to content

[backport] PR #6653 to 4.x#6678

Closed
elastic-jasper wants to merge 1 commit into4.xfrom
jasper/backport/6653/4.x
Closed

[backport] PR #6653 to 4.x#6678
elastic-jasper wants to merge 1 commit into4.xfrom
jasper/backport/6653/4.x

Conversation

@elastic-jasper
Copy link
Copy Markdown
Contributor

Backport PR #6653

Commit 1:
[internal] Replace empty var declaration with let

Any time there is a variable defined in a JS file without also storing a
value in it, we know that definition cannot be converted to a const, so
we convert it to a let.

For example:

var blah; becomes let blah;

Some of these things variables might be unused, and many others can
likely be switched to const with only minor refactoring, but the commit
is very large, so there are no changes in it other than the 1:1 switch.

@elastic-jasper elastic-jasper added backport This PR is a backport of another PR has conflicts labels Mar 28, 2016
@epixa epixa assigned epixa and unassigned spalger Mar 28, 2016
@epixa epixa force-pushed the jasper/backport/6653/4.x branch 2 times, most recently from c8e294e to 28f1897 Compare March 28, 2016 18:50
@epixa epixa closed this Mar 28, 2016
@epixa epixa force-pushed the jasper/backport/6653/4.x branch from 28f1897 to 2be8934 Compare March 28, 2016 19:04
@epixa epixa reopened this Mar 28, 2016
@epixa epixa closed this Mar 28, 2016
@epixa epixa force-pushed the jasper/backport/6653/4.x branch from 0a0ca85 to 2be8934 Compare March 28, 2016 19:08
@epixa epixa reopened this Mar 28, 2016
---------

**Commit 1:**
[internal] Replace empty var declaration with let

Any time there is a variable defined in a JS file without also storing a
value in it, we know that definition cannot be converted to a const, so
we convert it to a let.

For example:

`var blah;` becomes `let blah;`

Some of these things variables might be unused, and many others can
likely be switched to const with only minor refactoring, but the commit
is very large, so there are no changes in it other than the 1:1 switch.

* Original sha: bfc59e9
* Authored by Court Ewing <court@epixa.com> on 2016-03-24T22:27:29Z
@epixa epixa force-pushed the jasper/backport/6653/4.x branch from 91955ad to b87fbc2 Compare March 28, 2016 19:11
@epixa epixa closed this Mar 29, 2016
@epixa epixa deleted the jasper/backport/6653/4.x branch March 29, 2016 15:21
jbudz added a commit that referenced this pull request Apr 18, 2023
EUI `77.0.0` ➡️ `77.1.1`

## [`77.1.0`](https://github.com/elastic/eui/tree/v77.1.0)

- Updated `EuiDatePicker` to display a warning icon and correctly set
`aria-invalid` when `isInvalid` is passed
([#6677](elastic/eui#6677))
- Updated `EuiFilePicker` to display an alert icon when `isInvalid`
([#6678](elastic/eui#6678))
- Updated `EuiTextArea` to display an alert icon when `isInvalid`
([#6679](elastic/eui#6679))
- Updated `EuiTextArea` to support the `isLoading` prop
([#6679](elastic/eui#6679))
- Updated `EuiComboBox` to display a warning icon and correctly set
`aria-invalid` when `isInvalid` is passed
([#6680](elastic/eui#6680))

**Bug fixes**

- Fixed `EuiAccordion` to not set an `aria-expanded` attribute on
non-interactive `buttonElement`s
([#6694](elastic/eui#6694))
- Fixed an `EuiPopoverFooter` bug causing nested popovers within
popovers (note: not a recommended use-case) to unintentionally override
its panel padding size inherited from context
([#6698](elastic/eui#6698))
- Fixed `EuiComboBox` to only delete the last selected item on backspace
if the input caret is present
([#6699](elastic/eui#6699))

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jon <jon@elastic.co>
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.

3 participants