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

[Console] Add option to disable keyboard shortcuts #128887

Merged
merged 6 commits into from
Apr 13, 2022

Conversation

mibragimov
Copy link
Contributor

@mibragimov mibragimov commented Mar 30, 2022

Closes #48410

Summary

This PR adds support for disabling keyboard shortcuts in Console. Shortcuts can be enabled/disabled in the settings modal.

Capture

@mibragimov mibragimov self-assigned this Mar 30, 2022
@mibragimov mibragimov marked this pull request as ready for review March 31, 2022 06:34
@mibragimov mibragimov requested a review from a team as a code owner March 31, 2022 06:34
Copy link
Member

@sabarasaba sabarasaba left a comment

Choose a reason for hiding this comment

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

Thanks for having a go at this @mibragimov! I've had a look at the code and left a few questions, tested locally and works just fine!

@mibragimov mibragimov force-pushed the console/disable-keyboard-shortcut branch from e50a0aa to c8de9a2 Compare April 1, 2022 11:24
@mibragimov
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

expected head sha didn’t match current head ref.

@mibragimov mibragimov added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label Apr 5, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

@mibragimov
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Member

@sabarasaba sabarasaba left a comment

Choose a reason for hiding this comment

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

Thanks for addressing all the feedback @mibragimov! I've re-tested everything and works fine, left a comment about a line that we're ignoring linting from. But I'm gonna go ahead and approve it for now and wait for clarification on that.

@sabarasaba
Copy link
Member

Also v8.2.0 is past feature freeze, so we might want to use v8.3.0 instead.

@mibragimov mibragimov force-pushed the console/disable-keyboard-shortcut branch from df389d4 to 1470c91 Compare April 12, 2022 10:22
@mibragimov
Copy link
Contributor Author

mibragimov commented Apr 12, 2022

@sabarasaba @alexwizp Thanks for the review! I've addressed the comments with 1470c91. Do you mind having another look?

@mibragimov mibragimov added v8.3.0 and removed v8.2.0 labels Apr 12, 2022
@kibana-ci
Copy link
Collaborator

💚 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
console 380.2KB 382.6KB +2.4KB

History

  • 💚 Build #36381 succeeded df389d45c9c142e1a432433170f2cba86191e6d6
  • 💚 Build #35761 succeeded c9a41011c1aecd0a58b4a46909ee5ee07d3091aa
  • 💛 Build #35753 was flaky 33554c085e202412941c46aba647940bfa61baba
  • 💛 Build #35489 was flaky c8de9a2b4f56c94fa38d5011381ab7cf9b0cc231
  • 💚 Build #34855 succeeded e50a0aaec19ba32717954fdadae8201c533e59bd

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

cc @mibragimov

@mibragimov mibragimov merged commit 35d575c into elastic:main Apr 13, 2022
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Apr 13, 2022
@mibragimov mibragimov deleted the console/disable-keyboard-shortcut branch April 13, 2022 09:33
jloleysens added a commit to jloleysens/kibana that referenced this pull request Apr 13, 2022
…rint-media-attempt-2

* 'main' of github.com:elastic/kibana: (75 commits)
  [Lens] Hide disabled toolbar entries (elastic#129994)
  Fix explore tables don't display data when a global filter is applied (elastic#130024)
  [Console] Add option to disable keyboard shortcuts (elastic#128887)
  [Discover] Update refreshOnClick flaky test (elastic#130001)
  [Uptime] remove latency limit warnings when using monitor management (elastic#129597)
  [Security Solution] [ReponseOps] Executes Cases Cypress test when there is a change on cases plugin (elastic#129992)
  Paramaterized Discover tests (elastic#129684)
  [Security Solution][Investigations] - Minor bug fixes (elastic#130054)
  [DOCS} Adds technical preview to Lens annotations (elastic#130058)
  [Security solution] [Endpoint] Revisit blocklist wrong labels (elastic#128773)
  [Security Solutions] Adds API docs for value lists (elastic#129962)
  [CI] Move jest tests to spot instances, and fix spot retries in PRs (elastic#130045)
  chore(NA): upgrades rules_node_js to v5.4.0 (elastic#130051)
  [SecuritySolution] Remove the cell hovers actions for agent status (elastic#130042)
  Upgrade RxJS to 7 (elastic#129087)
  [SecuritySolution] Clean up CaseContext (elastic#130036)
  Revert "chore(NA): upgrades rules_node_js to v5.4.0 (elastic#130021)"
  Use RuleDataReader to query for threshold signal history (elastic#129763)
  Remove securityRulesCancelEnabled setting and set shorter default timeouts (elastic#129769)
  Upgrade EUI to v54.0.0 (elastic#129653)
  ...

# Conflicts:
#	x-pack/plugins/screenshotting/server/formats/pdf/index.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Console Dev Tools Console Feature Feature:Dev Tools release_note:enhancement Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support disabling keyboard shortcuts in Console
6 participants