= Bug 359180 =
This is the follow up for the current commited branch for bug 359180 as it was discovered that Shift+Alt+up and Shift+Alt+Down are used by.
== Proposed fix ==
Use Shift+Alt+j and Shift+Alt+k for navigation.
Add fields in the translations_order only if the user can edit(add, change or suggest) the translation.
== Implementation details ==
There was a small refactorization for getting translations_order and autofocus_html_id.
== Tests ==
I was not able to produce a reasonable windmill test since it is not trivial to find the current focused node or to see if a node is focused.
This requires adding onFocus and onBlur trigger for all DOM nodes.
The test for the view is here:
./bin/test -t pofile-views
== JSLint notices ==
No handlers could be found for logger "bzr"
jslint: No problem found in '/home/adi/launchpad/lp-branches/bug-359180-take-2/lib/canonical/launchpad/javascript/translations/pofile.js'.
= Bug 359180 =
This is the follow up for the current commited branch for bug 359180 as it was discovered that Shift+Alt+up and Shift+Alt+Down are used by.
== Proposed fix ==
Use Shift+Alt+j and Shift+Alt+k for navigation.
Add fields in the translations_order only if the user can edit(add, change or suggest) the translation.
== Pre-implementation notes == /code.edge. launchpad. net/~adiroiban/ launchpad/ bug-359180/ +merge/ 16422
Notes can be found on the previous MP:
https:/
== Implementation details ==
There was a small refactorization for getting translations_order and autofocus_html_id.
== Tests ==
I was not able to produce a reasonable windmill test since it is not trivial to find the current focused node or to see if a node is focused.
This requires adding onFocus and onBlur trigger for all DOM nodes.
The test for the view is here:
./bin/test -t pofile-views
== Demo and Q/A == /code.edge. launchpad. net/~adiroiban/ launchpad/ bug-359180/ +merge/ 16422
Demo and Q/A can be found on the previous MP
https:/
Instead of UP and DOWN, use j and k
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: /launchpad/ javascript/ translations/ pofile. js
lib/canonical
== JSLint notices == adi/launchpad/ lp-branches/bug-359180-take-2/ lib/canonical/ launchpad/ javascript/ translations/ pofile. js'.
No handlers could be found for logger "bzr"
jslint: No problem found in '/home/
jslint: 1 file to lint.