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

[Telemetry] Permanently hide the telemetry notice on dismissal #159893

Conversation

afharo
Copy link
Member

@afharo afharo commented Jun 19, 2023

Summary

Resolves #159870.

The reasoning for this bugfix is explained in this comment.

Note: I couldn't add a functional test to ensure this behavior is kept in the future because the banner is explicitly disabled in them (I assume it'd increase the CI execution if we add a step to dismiss the banners). I've created #159892 to tackle the FTR creation appropriately without the FF pressure.

For maintainers

@afharo afharo added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:Telemetry release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Jun 19, 2023
@afharo afharo requested a review from a team as a code owner June 19, 2023 08:38
@afharo afharo self-assigned this Jun 19, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@afharo afharo added release_note:fix and removed release_note:skip Skip the PR/issue when compiling release notes labels Jun 19, 2023
@afharo afharo changed the title [Telemetry] Update lastVersionChecked on banner dismissal [Telemetry] Permanently hide the telemetry notice on dismissal Jun 19, 2023
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 13 15 +2
securitySolution 411 415 +4
total +6

Total ESLint disabled count

id before after diff
enterpriseSearch 14 16 +2
securitySolution 494 498 +4
total +6

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

cc @afharo

Copy link
Contributor

@pgayvallet pgayvallet left a comment

Choose a reason for hiding this comment

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

NIT: no tests were updated here?

EDIT: just saw the issue's description. Ok!

@afharo afharo merged commit 14c5fff into elastic:main Jun 19, 2023
@afharo afharo deleted the telemetry-notices/update-lastversionchecked-on-dismissal branch June 19, 2023 12:43
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jun 19, 2023
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.8

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jun 19, 2023
…159893) (#159922)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[Telemetry] Permanently hide the telemetry notice on dismissal
(#159893)](#159893)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-06-19T12:43:41Z","message":"[Telemetry]
Permanently hide the telemetry notice on dismissal
(#159893)","sha":"14c5fffb24f25eb19e185582289a00ee71cf33af","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:fix","Feature:Telemetry","backport:prev-minor","v8.9.0"],"number":159893,"url":"https://github.com/elastic/kibana/pull/159893","mergeCommit":{"message":"[Telemetry]
Permanently hide the telemetry notice on dismissal
(#159893)","sha":"14c5fffb24f25eb19e185582289a00ee71cf33af"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/159893","number":159893,"mergeCommit":{"message":"[Telemetry]
Permanently hide the telemetry notice on dismissal
(#159893)","sha":"14c5fffb24f25eb19e185582289a00ee71cf33af"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:Telemetry release_note:fix Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v8.8.2 v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Telemetry notice banner dismissal does not persist in Kibana 8.8.1
5 participants