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

[Search] Fix button without a11y aria-label #201236

Merged
merged 5 commits into from
Nov 25, 2024

Conversation

sphilipse
Copy link
Member

@sphilipse sphilipse commented Nov 21, 2024

Small A11y fix.

@sphilipse sphilipse added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 Team:Search v8.17.0 labels Nov 21, 2024
@sphilipse sphilipse requested a review from a team as a code owner November 21, 2024 16:37
@sphilipse sphilipse added the backport:version Backport to applied version labels label Nov 21, 2024
@sphilipse sphilipse changed the title [Search] Fix documents count in Search index page [Search] Fix button without a11y aria-label Nov 21, 2024
@sphilipse sphilipse requested a review from joemcelroy November 22, 2024 14:51
@@ -107,6 +108,10 @@ export const QuickStats: React.FC<QuickStatsProps> = ({ index, mappings, indexDo
description: index.size ?? '0b',
},
]}
tooltipContent={i18n.translate('xpack.searchIndices.quickStats.documentCountTooltip', {
defaultMessage:
'This excludes nested documents, which Elasticsearch uses internally to store chunks of vectors.',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
'This excludes nested documents, which Elasticsearch uses internally to store chunks of vectors.',
'This excludes nested documents, which semantic_text uses internally to store chunks of vectors.',

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted to make this wider than just because we also use that for more manual vector ingestion.

@sphilipse sphilipse enabled auto-merge (squash) November 25, 2024 14:36
@sphilipse sphilipse merged commit 77f0854 into elastic:main Nov 25, 2024
22 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.17

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

@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
enterpriseSearch 2.6MB 2.6MB +128.0B
searchIndices 169.0KB 169.4KB +424.0B
searchPlayground 168.7KB 168.8KB +128.0B
serverlessSearch 366.5KB 366.6KB +128.0B
total +808.0B

History

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 25, 2024
Also adds a tooltip to the document count to explain why the count might differ.

(cherry picked from commit 77f0854)
@kibanamachine
Copy link
Contributor

💚 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 Nov 25, 2024
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Search] Fix button without a11y aria-label
(#201236)](#201236)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-25T16:22:16Z","message":"[Search]
Fix button without a11y aria-label (#201236)\n\nAlso adds a tooltip to
the document count to explain why the count might
differ.","sha":"77f08541e146ac071d18d1df52b2ab6284608df7","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","backport:version","v8.17.0"],"title":"[Search]
Fix button without a11y
aria-label","number":201236,"url":"https://github.com/elastic/kibana/pull/201236","mergeCommit":{"message":"[Search]
Fix button without a11y aria-label (#201236)\n\nAlso adds a tooltip to
the document count to explain why the count might
differ.","sha":"77f08541e146ac071d18d1df52b2ab6284608df7"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201236","number":201236,"mergeCommit":{"message":"[Search]
Fix button without a11y aria-label (#201236)\n\nAlso adds a tooltip to
the document count to explain why the count might
differ.","sha":"77f08541e146ac071d18d1df52b2ab6284608df7"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <[email protected]>
paulinashakirova pushed a commit to paulinashakirova/kibana that referenced this pull request Nov 26, 2024
Also adds a tooltip to the document count to explain why the count might differ.
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
Also adds a tooltip to the document count to explain why the count might differ.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Search v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants