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

Fix key handling metric chooser #3546

Merged
merged 6 commits into from
Apr 15, 2024

Conversation

fritschldwg
Copy link
Contributor

@fritschldwg fritschldwg commented Apr 11, 2024

Fix key handling metric chooser

Closes: #719

Description

  • Fixes key handling for selecting metrics in the metric-chooser

Definition of Done

A PR is only ready for merge once all the following acceptance criteria are fulfilled:

  • Changes have been manually tested
  • All TODOs related to this PR have been closed
  • There are automated tests for newly written code and bug fixes
  • All bugs discovered while working on this PR have been submitted as issues (if not already an open issue)
  • Documentation (GH-pages, analysis/visualization READMEs, parser READMEs, --help, etc.) has been updated (almost always necessary except for bug fixes)
  • CHANGELOG.md has been updated

@fritschldwg fritschldwg force-pushed the feature/719/keyboard-selection-metric-chooser branch from c464e0d to ccb5e2c Compare April 11, 2024 09:12
Copy link
Contributor

@Nereboss Nereboss left a comment

Choose a reason for hiding this comment

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

Code quality looks good but theres one bug i found:
For some combination of inputs, the highlighting and pressing enter to select stops working.

Example:
Load the output.cc.json.gz from the assets folder
type 'c' into the selection
Press arrow down until the last element in the list is selected
type 'o' and the selection is broken, meaning arrow keys cant be used for selecting and enter does not work

@fritschldwg fritschldwg force-pushed the feature/719/keyboard-selection-metric-chooser branch from 8c49d6a to 182fdc3 Compare April 12, 2024 07:53
@fritschldwg fritschldwg force-pushed the feature/719/keyboard-selection-metric-chooser branch from abdc54f to 7dff0b7 Compare April 12, 2024 11:41
Copy link

sonarcloud bot commented Apr 12, 2024

Copy link

sonarcloud bot commented Apr 12, 2024

Quality Gate Passed Quality Gate passed for 'CodeCharta Analysis'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Contributor

@Nereboss Nereboss left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@fritschldwg fritschldwg merged commit 2fbe72c into main Apr 15, 2024
7 checks passed
@fritschldwg fritschldwg deleted the feature/719/keyboard-selection-metric-chooser branch April 15, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use Keyboard arrow-keys and enter-key to select a metric inside the metricChooser
2 participants