Skip to content

[Search sessions] Add singulars/plurals to expiration badges#227035

Merged
AlexGPlay merged 1 commit intoelastic:mainfrom
AlexGPlay:122931-pluralise-expiration-badges
Jul 9, 2025
Merged

[Search sessions] Add singulars/plurals to expiration badges#227035
AlexGPlay merged 1 commit intoelastic:mainfrom
AlexGPlay:122931-pluralise-expiration-badges

Conversation

@AlexGPlay
Copy link
Contributor

@AlexGPlay AlexGPlay commented Jul 8, 2025

Summary

Closes #122931

Adds singulars and plurals to the search sessions expiration badges.

Scenario Screenshot
More than 1 day image
1 day image
More than 1 hour image
1 hour image
0 hours🙈 image

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.

Identify risks

Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging.

@AlexGPlay AlexGPlay self-assigned this Jul 8, 2025
@AlexGPlay AlexGPlay marked this pull request as ready for review July 9, 2025 06:23
@AlexGPlay AlexGPlay requested review from a team as code owners July 9, 2025 06:23
@AlexGPlay AlexGPlay added the Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// label Jul 9, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@AlexGPlay AlexGPlay added release_note:fix Feature:Search Sessions backport:all-open Backport to all branches that could still receive a release labels Jul 9, 2025
Copy link
Contributor

@akowalska622 akowalska622 left a comment

Choose a reason for hiding this comment

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

LGTM, nice improvement!

@AlexGPlay AlexGPlay force-pushed the 122931-pluralise-expiration-badges branch from 0b3e39c to ff28d11 Compare July 9, 2025 10:26
@elasticmachine
Copy link
Contributor

💚 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
data 51.5KB 51.6KB +126.0B

History

cc @AlexGPlay

@AlexGPlay AlexGPlay merged commit e5f374a into elastic:main Jul 9, 2025
12 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.17, 8.18, 8.19, 9.0, 9.1

https://github.com/elastic/kibana/actions/runs/16170177744

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 9, 2025
…#227035)

## Summary

Closes elastic#122931

Adds singulars and plurals to the search sessions expiration badges.

| Scenario | Screenshot |
|----------|-------------|
| More than 1 day |
![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)
|
| 1 day |
![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)
|
| More than 1 hour |
![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)
|
| 1 hour |
![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)
|
| 0 hours🙈 |
![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)
|

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [ ] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

(cherry picked from commit e5f374a)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 9, 2025
…#227035)

## Summary

Closes elastic#122931

Adds singulars and plurals to the search sessions expiration badges.

| Scenario | Screenshot |
|----------|-------------|
| More than 1 day |
![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)
|
| 1 day |
![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)
|
| More than 1 hour |
![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)
|
| 1 hour |
![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)
|
| 0 hours🙈 |
![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)
|

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [ ] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

(cherry picked from commit e5f374a)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 9, 2025
…#227035)

## Summary

Closes elastic#122931

Adds singulars and plurals to the search sessions expiration badges.

| Scenario | Screenshot |
|----------|-------------|
| More than 1 day |
![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)
|
| 1 day |
![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)
|
| More than 1 hour |
![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)
|
| 1 hour |
![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)
|
| 0 hours🙈 |
![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)
|

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [ ] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

(cherry picked from commit e5f374a)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 9, 2025
…#227035)

## Summary

Closes elastic#122931

Adds singulars and plurals to the search sessions expiration badges.

| Scenario | Screenshot |
|----------|-------------|
| More than 1 day |
![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)
|
| 1 day |
![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)
|
| More than 1 hour |
![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)
|
| 1 hour |
![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)
|
| 0 hours🙈 |
![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)
|

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [ ] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

(cherry picked from commit e5f374a)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.17 Backport failed because of merge conflicts
8.18
8.19
9.0
9.1

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 227035

Questions ?

Please refer to the Backport tool documentation

AlexGPlay added a commit to AlexGPlay/kibana that referenced this pull request Jul 9, 2025
…#227035)

## Summary

Closes elastic#122931

Adds singulars and plurals to the search sessions expiration badges.

| Scenario | Screenshot |
|----------|-------------|
| More than 1 day |
![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)
|
| 1 day |
![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)
|
| More than 1 hour |
![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)
|
| 1 hour |
![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)
|
| 0 hours🙈 |
![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)
|

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [ ] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

(cherry picked from commit e5f374a)

# Conflicts:
#	src/plugins/data/public/search/session/sessions_mgmt/lib/get_expiration_status.test.ts
@AlexGPlay
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.17

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 Jul 9, 2025
…227035) (#227249)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Search sessions] Add singulars/plurals to expiration badges
(#227035)](#227035)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Alejandro García
Parrondo","email":"31973472+AlexGPlay@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-09T13:07:33Z","message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:DataDiscovery","Feature:Search
Sessions","backport:all-open","v9.2.0"],"title":"[Search sessions] Add
singulars/plurals to expiration
badges","number":227035,"url":"https://github.com/elastic/kibana/pull/227035","mergeCommit":{"message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227035","number":227035,"mergeCommit":{"message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ] ...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b"}}]}]
BACKPORT-->

Co-authored-by: Alejandro García Parrondo <31973472+AlexGPlay@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jul 9, 2025
…227035) (#227248)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Search sessions] Add singulars/plurals to expiration badges
(#227035)](#227035)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Alejandro García
Parrondo","email":"31973472+AlexGPlay@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-09T13:07:33Z","message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:DataDiscovery","Feature:Search
Sessions","backport:all-open","v9.2.0"],"title":"[Search sessions] Add
singulars/plurals to expiration
badges","number":227035,"url":"https://github.com/elastic/kibana/pull/227035","mergeCommit":{"message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227035","number":227035,"mergeCommit":{"message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ] ...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b"}}]}]
BACKPORT-->

Co-authored-by: Alejandro García Parrondo <31973472+AlexGPlay@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jul 9, 2025
…227035) (#227250)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[Search sessions] Add singulars/plurals to expiration badges
(#227035)](#227035)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Alejandro García
Parrondo","email":"31973472+AlexGPlay@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-09T13:07:33Z","message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:DataDiscovery","Feature:Search
Sessions","backport:all-open","v9.2.0"],"title":"[Search sessions] Add
singulars/plurals to expiration
badges","number":227035,"url":"https://github.com/elastic/kibana/pull/227035","mergeCommit":{"message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227035","number":227035,"mergeCommit":{"message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ] ...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b"}}]}]
BACKPORT-->

Co-authored-by: Alejandro García Parrondo <31973472+AlexGPlay@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jul 9, 2025
…227035) (#227247)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Search sessions] Add singulars/plurals to expiration badges
(#227035)](#227035)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Alejandro García
Parrondo","email":"31973472+AlexGPlay@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-09T13:07:33Z","message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:DataDiscovery","Feature:Search
Sessions","backport:all-open","v9.2.0"],"title":"[Search sessions] Add
singulars/plurals to expiration
badges","number":227035,"url":"https://github.com/elastic/kibana/pull/227035","mergeCommit":{"message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227035","number":227035,"mergeCommit":{"message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ] ...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b"}}]}]
BACKPORT-->

Co-authored-by: Alejandro García Parrondo <31973472+AlexGPlay@users.noreply.github.com>
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 10, 2025
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @AlexGPlay

2 similar comments
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @AlexGPlay

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @AlexGPlay

AlexGPlay added a commit that referenced this pull request Jul 15, 2025
…227035) (#227258)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[Search sessions] Add singulars/plurals to expiration badges
(#227035)](#227035)

<!--- Backport version: 10.0.1 -->

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

<!--BACKPORT [{"author":{"name":"Alejandro García
Parrondo","email":"31973472+AlexGPlay@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-09T13:07:33Z","message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:DataDiscovery","Feature:Search
Sessions","backport:all-open","v9.2.0"],"title":"[Search sessions] Add
singulars/plurals to expiration
badges","number":227035,"url":"https://github.com/elastic/kibana/pull/227035","mergeCommit":{"message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227035","number":227035,"mergeCommit":{"message":"[Search
sessions] Add singulars/plurals to expiration badges (#227035)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/122931\n\nAdds singulars and
plurals to the search sessions expiration badges.\n\n| Scenario |
Screenshot |\n|----------|-------------|\n| More than 1 day
|\n![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)\n|\n|
1 day
|\n![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)\n|\n|
More than 1 hour
|\n![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)\n|\n|
1 hour
|\n![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)\n|\n|
0 hours🙈
|\n![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)\n|\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"e5f374aea26ba5cb51266e636f94370c0e78718b"}},{"url":"https://github.com/elastic/kibana/pull/227247","number":227247,"branch":"8.18","state":"OPEN"},{"url":"https://github.com/elastic/kibana/pull/227248","number":227248,"branch":"8.19","state":"OPEN"},{"url":"https://github.com/elastic/kibana/pull/227249","number":227249,"branch":"9.0","state":"OPEN"},{"url":"https://github.com/elastic/kibana/pull/227250","number":227250,"branch":"9.1","state":"OPEN"}]}]
BACKPORT-->
@kibanamachine kibanamachine added v8.17.9 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Jul 15, 2025
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
…#227035)

## Summary

Closes elastic#122931

Adds singulars and plurals to the search sessions expiration badges.

| Scenario | Screenshot |
|----------|-------------|
| More than 1 day |
![image](https://github.com/user-attachments/assets/1935820f-80be-4748-864b-6bf4a9aa62ee)
|
| 1 day |
![image](https://github.com/user-attachments/assets/37ca52b5-8712-444f-bf04-ff2f43013583)
|
| More than 1 hour |
![image](https://github.com/user-attachments/assets/b000789f-2396-430d-a1a8-a398f183815c)
|
| 1 hour |
![image](https://github.com/user-attachments/assets/5af02abc-0a8c-492c-9e9f-2a0f16e6c8f2)
|
| 0 hours🙈 |
![image](https://github.com/user-attachments/assets/0b8cea3d-ab70-4059-a758-828df5f67a35)
|


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [ ] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:all-open Backport to all branches that could still receive a release Feature:Search Sessions release_note:fix Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// v8.17.9 v8.18.4 v8.19.0 v9.0.4 v9.1.0 v9.2.0

4 participants