Page MenuHomePhabricator

ve.ce.LinearArrowKeyDownHandler.js is largely untested
Closed, ResolvedPublic8 Estimated Story Points

Event Timeline

Change 279134 had a related patch set uploaded (by DLynch):
LinearArrowKeyDownHandler: test more

https://gerrit.wikimedia.org/r/279134

Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF set the point value for this task to 8.

Change 279134 merged by jenkins-bot:
LinearArrowKeyDownHandler: test more

https://gerrit.wikimedia.org/r/279134

After If58ea415d we're up to 43% of branches (from 32%); remaining untested cases from quick gander:

  • Tests when the focus is a block slug
  • Up/Down arrow keys from a focussed node
  • Actions with a non-content focussed node
  • Arrow keys used from a focused node inside a table cell
  • Shift- (keyboard-)selection from a focused node
  • Shift-Up/Down selection from a non-block slug non-focused node non-null selection

Also some IE use cases like surface.nativeSelection.extend and other minor edge cases.

How much do we want to do? (OK, all of it, but…)

Change 280677 had a related patch set uploaded (by DLynch):
LinearArrowKeyDownHandler: more tests

https://gerrit.wikimedia.org/r/280677

I've also made T131361 for the currently-broken cases involving moving off a focused block node while holding shift.

Change 280677 merged by jenkins-bot:
LinearArrowKeyDownHandler: more tests

https://gerrit.wikimedia.org/r/280677

Closing this as some work completed in 2016. Refiled as T207077 in 2018.