Skip to content

[Bugfix:TAGrading] Lab navigation for checkpoint fix#7894

Merged
bmcutler merged 3 commits into
masterfrom
lab-grading-navigation
May 19, 2022
Merged

[Bugfix:TAGrading] Lab navigation for checkpoint fix#7894
bmcutler merged 3 commits into
masterfrom
lab-grading-navigation

Conversation

@Eceptonsu

Copy link
Copy Markdown
Contributor

What is the current behavior?

Fixes #7761
If the user tries to navigate vertically with the arrow keys through the lab checkpoints, the selection will move 2 cells at once. The arrow keys also do not work in the null section.

What is the new behavior?

The arrow keys now correctly move 1 cell at a time when the user wants to navigate vertically. They also function correctly in null sections.

2022-05-16-23-01-47.mp4

@Eceptonsu
Eceptonsu requested a review from williamjallen May 17, 2022 03:04
@Eceptonsu Eceptonsu changed the title [Bugfix:TAGrading] Lab navigation for checkpoint gradables fix [Bugfix:TAGrading] Lab navigation for checkpoint fix May 17, 2022
@codecov

codecov Bot commented May 17, 2022

Copy link
Copy Markdown

Codecov Report

Merging #7894 (19c5ba0) into master (a52f331) will decrease coverage by 0.54%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #7894      +/-   ##
============================================
- Coverage     21.94%   21.39%   -0.55%     
- Complexity     7474     8440     +966     
============================================
  Files           198      199       +1     
  Lines         24386    26986    +2600     
  Branches         54       57       +3     
============================================
+ Hits           5352     5775     +423     
- Misses        18980    21158    +2178     
+ Partials         54       53       -1     
Flag Coverage Δ
autograder 20.16% <ø> (+3.65%) ⬆️
js 33.60% <ø> (+0.71%) ⬆️
migrator 99.20% <ø> (ø)
php 19.58% <ø> (-0.72%) ⬇️
python_submitty_utils 71.65% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Comment thread site/public/js/simple-grading.js Outdated
Comment thread site/public/js/simple-grading.js Outdated
Comment thread site/public/js/simple-grading.js Outdated
@Eceptonsu
Eceptonsu requested a review from williamjallen May 18, 2022 00:08

@williamjallen williamjallen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

After reaching the bottom, the focus seems to wrap around to the top again when scrolling down. The reverse is not true though, so if you are at the top and try to scroll up, it does not go to the bottom. Should this behavior be standardized in both directions? Personally, I think it shouldn't wrap in either direction, but if someone proposed a good use case for it, I wouldn't have a problem with it.

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.

Arrow key navigation functionality broken for checkpoint gradeables

3 participants