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

[SIEM][CASE] Fix aria-labels and translations #61670

Merged
merged 2 commits into from
Mar 31, 2020

Conversation

cnasikas
Copy link
Member

@cnasikas cnasikas commented Mar 27, 2020

Summary

Adds aria-labels when appropriate and fix translations (#61092).

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@cnasikas cnasikas added release_note:skip Skip the PR/issue when compiling release notes Team:SIEM v7.7.0 v8.0.0 labels Mar 27, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@stephmilovic stephmilovic mentioned this pull request Mar 27, 2020
26 tasks
@cnasikas cnasikas force-pushed the fix_i18n_labels branch 2 times, most recently from 461fe85 to 708c369 Compare March 28, 2020 19:36
@cnasikas cnasikas marked this pull request as ready for review March 29, 2020 10:14
@cnasikas cnasikas requested a review from a team as a code owner March 29, 2020 10:14
<Link
className="siemLinkIcon"
color={color}
disabled={disabled}
href={href}
iconSide={iconSide}
onClick={onClick}
aria-label={ariaLabel ?? children}
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we use children here?

Copy link
Member Author

@cnasikas cnasikas Mar 30, 2020

Choose a reason for hiding this comment

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

Because the aria-label is optional and the children is a string. Because the component is used all over the place I did not want to break anything. Do you believe we should use something else? Or maybe do not implement the aria-label on Link component at all?

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should rename the props children to something else so it is less confusing

Copy link
Member Author

Choose a reason for hiding this comment

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

This prop is the React's prop children. If I change it I have to change the usage (<LinkIcon>{somthing_here_as_children}</LinkIcon>) all over the place.

Copy link
Contributor

Choose a reason for hiding this comment

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

so, It will wait

@cnasikas cnasikas requested a review from a team as a code owner March 31, 2020 10:29
@cnasikas cnasikas requested review from a team March 31, 2020 10:29
@cnasikas cnasikas requested review from a team as code owners March 31, 2020 10:29
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@cnasikas cnasikas removed request for a team March 31, 2020 10:32
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

  • 💚 Build #36997 succeeded 708c3690605e11ed46c5e307dbf2bb22bccae610
  • 💔 Build #36992 failed 461fe852f03d1b1a8263145dca2a397a47372926
  • 💔 Build #36878 failed 434e209ab962337ba1e39cc9ca960ac38bfa65c6

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

@cnasikas cnasikas merged commit 810cbd2 into elastic:master Mar 31, 2020
@cnasikas cnasikas deleted the fix_i18n_labels branch March 31, 2020 13:20
cnasikas added a commit to cnasikas/kibana that referenced this pull request Mar 31, 2020
* Fix aria-labels and translations

* Fix conflicts and bugs
cnasikas added a commit to cnasikas/kibana that referenced this pull request Mar 31, 2020
* Fix aria-labels and translations

* Fix conflicts and bugs
cnasikas added a commit that referenced this pull request Mar 31, 2020
* Fix aria-labels and translations

* Fix conflicts and bugs
cnasikas added a commit that referenced this pull request Mar 31, 2020
* Fix aria-labels and translations

* Fix conflicts and bugs
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 31, 2020
* upstream/master: (69 commits)
  Adding PagerDuty icon to connectors cards (elastic#60805)
  Fix drag and drop flakiness (elastic#61993)
  Grok debugger migration (elastic#60658)
  Endpoint: Fix resolver SVG position issue (elastic#61886)
  [SIEM] version 7.7 rule import (elastic#61903)
  Added styles to make combobox list items wider for alerting flyout (elastic#61894)
  [UA] Tight worker loop can cause high CPU usage (elastic#60950)
  [ML] DF Analytics results table: use index pattern field format if one exists (elastic#61709)
  [ML] Catching unknown index pattern errors (elastic#61935)
  [Discover] Deangularize and euificate sidebar  (elastic#47559)
  Endpoint: Add ts-node dev dependency (elastic#61884)
  Add an onBlur handler for the kuery bar. Only resubmit when input changes. (elastic#61901)
  [ML] Handle Empty Partition Field Values in Single Metric Viewer (elastic#61649)
  Auto interval on date histogram is getting displayed as timestamp per… (elastic#59171)
  [Maps] Explicitly pass fetch function to ems-client (elastic#61846)
  [SIEM][CASE] Fix aria-labels and translations (elastic#61670)
  [ML] Settings: Increase number of items that can be paged in calendars and filters lists (elastic#61842)
  [EPM] update epm filepath route (elastic#61910)
  APM] Set ignore_above to 1024 for telemetry saved object (elastic#61732)
  [Logs UI] Log stream row rendering (elastic#60773)
  ...
gmmorris added a commit to gmmorris/kibana that referenced this pull request Apr 1, 2020
* master: (64 commits)
  Adding PagerDuty icon to connectors cards (elastic#60805)
  Fix drag and drop flakiness (elastic#61993)
  Grok debugger migration (elastic#60658)
  Endpoint: Fix resolver SVG position issue (elastic#61886)
  [SIEM] version 7.7 rule import (elastic#61903)
  Added styles to make combobox list items wider for alerting flyout (elastic#61894)
  [UA] Tight worker loop can cause high CPU usage (elastic#60950)
  [ML] DF Analytics results table: use index pattern field format if one exists (elastic#61709)
  [ML] Catching unknown index pattern errors (elastic#61935)
  [Discover] Deangularize and euificate sidebar  (elastic#47559)
  Endpoint: Add ts-node dev dependency (elastic#61884)
  Add an onBlur handler for the kuery bar. Only resubmit when input changes. (elastic#61901)
  [ML] Handle Empty Partition Field Values in Single Metric Viewer (elastic#61649)
  Auto interval on date histogram is getting displayed as timestamp per… (elastic#59171)
  [Maps] Explicitly pass fetch function to ems-client (elastic#61846)
  [SIEM][CASE] Fix aria-labels and translations (elastic#61670)
  [ML] Settings: Increase number of items that can be paged in calendars and filters lists (elastic#61842)
  [EPM] update epm filepath route (elastic#61910)
  APM] Set ignore_above to 1024 for telemetry saved object (elastic#61732)
  [Logs UI] Log stream row rendering (elastic#60773)
  ...
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.7.0 v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants