lp:~jjacobs/methanal/slug-inputs
- Get this branch:
- bzr branch lp:~jjacobs/methanal/slug-inputs
Branch merges
- Tristan Seligmann: Approve
-
Diff: 760 lines9 files modifiedmethanal/js/Methanal/Tests/DOMUtil.js (+1/-1)
methanal/js/Methanal/Tests/TestUtil.js (+8/-8)
methanal/js/Methanal/Tests/TestValidators.js (+2/-2)
methanal/js/Methanal/Tests/TestView.js (+217/-39)
methanal/js/Methanal/Tests/Util.js (+2/-2)
methanal/js/Methanal/Util.js (+3/-3)
methanal/js/Methanal/View.js (+154/-4)
methanal/js/Methanal/Widgets.js (+1/-1)
methanal/view.py (+50/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 97. By Forrest Aldridge
-
Fixed PrePopulatingTe
xtInput' s onchange and onkeyup event handlers to pass
the input node, rather than the widget node, to the target control's
corresponding event handlers.Removed superfluous 'node' parameter from FilteringTextIn
put.filter( ) and
using self.inputNode instead.Simplified FilteringTextIn
put's docstring in the Python code. All unit tests now passed.
- 96. By Forrest Aldridge
-
Addressed code review points:
1. Fixed.
2. Fixed.
3. Fixed.
4. No, they don't. Fixed.
5. There was a reason, but not a good one. Fixed.
6. Implementation fixed and test case added.
7. Fixed.
8. Agreed. Fixed.
9. Fixed.
10. Nope. Fixed.
11. Fixed.
12, 13. Ooops. Fixed.
14. Fixed.
15. Sorry, irrelevant. Fixed.
16. Fixed.
17. Fixed.
18. No good reason. Fixed.One unit test still fails, though I think it is a problem with my unit test
code. Feedback on this would be appreciated. - 95. By Forrest Aldridge
-
Added unit tests for new controls, and made the necessary fixes to make
all tests pass. Huzzah for unit testing. - 93. By Forrest Aldridge
-
Addressed all code review issues. Almost a complete rewrite of all
functionality.Changed SlugInput to FilteringTextInput, a general version of the same
functionality that subclasses TextInput directly instead of FormInput.Changed SlugifyingInput to PrePopulatingTe
xtInput, a general version of the same
functionality.Removed VerifiedPasswor
dInput and will create a new branch for it. Removed an uneccessary class (TogglingCheckb
oxInput) that I hacked together
before I realized the dependency system existed.Improved all Python and JavaScript docstrings.
TODO: add unit tests for all new classes.
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)