Skip to content

[eslint] don't drop multiple uses when one is in a function#119252

Merged
spalger merged 5 commits intoelastic:mainfrom
spalger:implement/eslint-no-constructor-args-in-initializers
Nov 22, 2021
Merged

[eslint] don't drop multiple uses when one is in a function#119252
spalger merged 5 commits intoelastic:mainfrom
spalger:implement/eslint-no-constructor-args-in-initializers

Conversation

@spalger
Copy link
Copy Markdown
Contributor

@spalger spalger commented Nov 19, 2021

No description provided.

@spalger spalger added Team:Operations Kibana-Operations Team v7.16.0 v8.0.0 v8.1.0 auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes labels Nov 20, 2021
@spalger spalger marked this pull request as ready for review November 20, 2021 19:11
@spalger spalger requested review from a team as code owners November 20, 2021 19:11
@spalger spalger enabled auto-merge (squash) November 20, 2021 19:11
Comment on lines +33 to +44
readonly newSearchSessionIdFromURL$: Rx.Observable<string | null>;

constructor(private readonly deps: DiscoverSearchSessionManagerDeps) {}
constructor(private readonly deps: DiscoverSearchSessionManagerDeps) {
this.newSearchSessionIdFromURL$ = createQueryParamObservable<string>(
this.deps.history,
SEARCH_SESSION_ID_QUERY_PARAM
).pipe(
filter((searchSessionId) => {
if (!searchSessionId) return true;
return !this.deps.session.isCurrentSession(searchSessionId);
})
);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM dear @Dosant think you added this, could you have a 👀 ? many thx

Copy link
Copy Markdown
Contributor

@Dosant Dosant left a comment

Choose a reason for hiding this comment

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

src/plugins/discover/public/application/main/services/discover_search_session.ts LGTM

@spalger
Copy link
Copy Markdown
Contributor Author

spalger commented Nov 22, 2021

@elasticmachine merge upstream

@kertal kertal self-requested a review November 22, 2021 17:01
Copy link
Copy Markdown
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

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

Data discovery team owned code LGTM

@spalger
Copy link
Copy Markdown
Contributor Author

spalger commented Nov 22, 2021

@elasticmachine merge upstream

@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

Async chunks

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

id before after diff
discover 312.5KB 312.5KB +39.0B

History

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

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Backport successful

Status Branch Result
8.0
7.16

The backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Nov 22, 2021
kibanamachine added a commit that referenced this pull request Nov 22, 2021
TinLe pushed a commit to TinLe/kibana that referenced this pull request Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v7.16.0 v8.0.0 v8.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants